3D camera depth analysis
3DStereo - measuring the dimensions of the box with a conventional stereo camera
🔒 Download video 2026-08-25 14-30-04.mp4 — no access3DStereo - a program for Windows (.NET 9, C#), which measures two USB cameras (or an inexpensive stereo module) in real time length, width and height of the box on the table. Neural networks are not needed: depth is considered a classic stereovision on OpenCV - a disparity map (StereoSGBM), a cloud of 3D points, the plane of the table and the search for an object above it.
No calibration chessboard
The main feature is work. chessless. It is enough to specify the distance from the camera to the table and once put a standard box with known dimensions: the program itself finds the alignment of the cameras, scale and focus, saves the settings and then measures any boxes. At launch, you do not need to configure anything - the application itself connects to the cameras, and the box found is circled on video with thin color lines with size signatures directly on the frame.
Tested on a live stand
Equipment: cheap Chinese stereo module (two UVC sensors 1280×720, base ~60 mm), installation height 255 mm, standard 100×60×50 mm. Results without laser illumination:
- height ±1-3 mm;
- length - within ± 10%;
- Accuracy increases with lighting by a laser point projector (a separate setting profile) or full calibration by chess - both modes are in the program.
Application
- control of packaging dimensions on the conveyor;
- sorting by size;
- verification of completeness before laying;
- bundle with a robot manipulator - rejection or capture at a measured height.
