depthai-experiments icon indicating copy to clipboard operation
depthai-experiments copied to clipboard

Camera demo rgb stereo align

Open mribbons opened this issue 4 years ago • 2 comments

Resolve RGB alignment issue by using stereo.setDepthAlign(dai.CameraBoardSocket.RGB)

Note that we need the python libs as per https://github.com/luxonis/depthai-python/pull/147/commits/0a27ebcf5301ba9166d014bbbb543e431b5af212 for this to work.

We get some warnings, and the disparity frames seem to flick back to front a bit.

If we run without -pcl, to test if it's a performance issue on host side, the left/right flickering is quite fast.

python main.py -ext 1 -sub 0 -pcl -rgb -lr 0

[14442C1091EB8FD000] [8.681] [StereoDepth(5)] [warning] Median filter usage with LR-check/Extended/Subpixel is not yet implemented. The filter will be disabled [14442C1091EB8FD000] [8.681] [StereoDepth(5)] [warning] DepthAlign option ignored, as it requires LR-check mode to be enabled

mribbons avatar Apr 22 '21 10:04 mribbons

Awesome, thanks! CC: @saching13

Luxonis-Brandon avatar Apr 22 '21 12:04 Luxonis-Brandon

Thanks alot for the PR.

saching13 avatar Apr 22 '21 16:04 saching13

Closing due to inactivity.

Erol444 avatar Dec 11 '22 16:12 Erol444