Stereo camera source — OpenCV StereoSGBM + one-time calibration wizard #12
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/raven#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement
StereoSourceadapter for any dual-lens camera (ZED, OAK-D, RealSense D-series stereo IR, or two calibrated webcams).Calibration wizard: guided checkerboard calibration (print a standard OpenCV calibration pattern). User holds pattern at 5 distances. Stores calibration matrix to
~/.merlin/calibration/<device_id>.npz.Depth computation: OpenCV
StereoSGBMfrom stereo disparity. No special SDK — pure OpenCV.Auto-detect: look for cameras with matching resolution and framerate reporting at device_index pairs (0,1), (0,2), etc. Or let user specify left/right device indices in config.
Optional dependency:
opencv-contrib-python>=4.8(StereoSGBM is in contrib). Add tomerlin[depth-stereo]dep group.Good accuracy at hand distances (30–100cm). Works on any OS.