Jessie's Cars

Scanner

OpenHandScan: a handheld 3D scanner you print and wire yourself, and the software that turns what it sees into a mesh you can measure. Made for parts, panels and interiors, and to live in a car.

Rendering of the OpenHandScan scanner: a grey printed head with two camera lenses in a black faceplate, a line laser on an arm to one side and another above, and an orange ribbed grip

Where it stands

The software is written and tested from end to end on simulated scans: calibration, tracking, building the model and the finished mesh. The desktop app, OpenHandScan Studio, scans, meshes and measures, and runs a simulated scanner for anyone without one.

Every part is drawn and ready to print, and the parts list is written. The camera board's maker doesn't publish its lens spacing or holes, so the faceplate is drawn to a real board, measured with calipers on 12 November. Nothing has been scanned for real yet, so every accuracy figure here comes from the simulator: the best the real thing could do, not what it does.

In 3D

The printed parts are the real ones, from the files you would print. The bought parts inside are plain shapes at their sizes, from the same design file. Untick Printed parts to see them.

Shown with the LED projector, the one being built. A version of the head for the dot laser is in the files too. The camera board is drawn to the real one's measurements.

How it works

Two global-shutter cameras, synced in hardware, see depth on every frame. Plain paint and plastic trim give them nothing to match, so a red LED shining through a printed mask covers the surface in random dots.

Two line lasers cross 250 mm in front, one vertical and one horizontal, for the finest detail along the cross. An IMU on the back keeps tracking through fast moves and blank spots, and a Raspberry Pi Pico in the grip switches the lasers and reads the trigger.

It needs no markers for parts, brackets and interiors. On something as big and smooth as a door or a hood, a few printed stickers stop it drifting along the panel.

The software

ohs on the command line checks the hardware, prints the calibration targets, calibrates, scans and turns recordings into meshes. OpenHandScan Studio does the same with a live 3D view that grows as you scan, rewind, one-click meshing, measuring, and a setup wizard. Both run on your own PC, with no account.

The heavy work runs on any make of graphics card. On a laptop RTX 3070 Ti a full-quality frame takes 67 ms, about 15 a second, and the live preview 28 ms. AMD's Radeon 680M, built into a processor, manages about 6 and 15. Timed on simulated recordings.

OpenHandScan Studio running its simulator demo: a simulated scanner over a ball on a table top. Scanning, the finished mesh with a measurement, calibrating the cameras, and processing. Every figure on screen is from the simulator.

Specification

Cameras
ELP stereo pair, 2 × OV9281 global shutter, synced in hardware, one USB cable
Pattern projector
Red LED through a printed random-dot mask and a 3.6 mm lens, or a 650 nm dot laser and a 10,000-dot DOE
Line lasers
Two 650 nm, vertical and horizontal, crossing 250 mm in front
Working range
About 150–400 mm
Motion
6-axis IMU (LSM6DSOX) on the back cover
Controller
Raspberry Pi Pico: lasers, trigger, IMU
Housing
Printed in ASA, no supports, because a closed car reaches 70–80 °C
Output
STL or PLY meshes, in millimetres
Accuracy, simulated
Mesh 0.27 mm median, laser points 0.08 mm median, with a calibration the software worked out itself
Parts
About $230–300, plus filament
Licence
MIT, for the hardware, firmware, software and docs

Wiring

The schematic, where each part sits in the housing, the pinouts of the parts and a list of every wire to tick off at the bench, for the Pico or the ESP32-S3-Pico and two or four lasers.

Source

Everything is in the repository: the housing as one parametric OpenSCAD file, print-ready STLs, the parts list, the Pico firmware, the software and its validation report. MIT licence.

View on GitHub