PC dual camera measurement demo
Calibrate with a ruler, then measure pipe / coin diameter from stereo view.
Mount two USB cameras rigidly at a known baseline, select the left/right camera streams, click matching points, and the browser estimates length, diameter, and depth from disparity.
Simple demo flow
- Start stereo cameras.
- Put a 100 mm / 150 mm ruler in view.
- Calibration mode: click the ruler endpoints on left and right images.
- Measure Diameter mode: click two edges of pipe / coin on left and right images.
Left camera idle
LEFT CAMERA
Right camera idle
RIGHT CAMERA
Live measurement result
Start cameras, choose Calibration mode, then click two ruler endpoints on LEFT and the same two endpoints on RIGHT.
Not calibrated
ModeCalibration
Pixel length L-- px
Disparity-- px
Measured size-- mm
Estimated depth Z-- mm
Calibration factor1.000×