Hello,
I have an Oak-D Pro W and I'm doing recording of only video flux (RGB, left, right). Here are my post-process steps on computer :
- YOLO on RGB video to have object bonding boxes
- Prepare left and right video for stereo computation: cv2.stereoRectify and cv2.initUndistortRectifyMap
- Stereo computation (disparity then depth map)
- Find depth of the center of bonding boxes.
However I'm facing a problem, my bounding boxes computed on the RGB video are not aligned with the depth map due to the rectification and undistortion. What is the easier way to do the alignment between both depth and RGB?
Thank you in advance.
François