• DepthAI-v2
  • Getting synked and aligned depth an color images - howto?

Dear friends,
this is my firs experience with OAK-D camera and it is a week I am struggling around what I thought was a trivial task: getting two images: one containing depth and one containing rgb.. ..but pixel aligned an synked.

I have an OAK-D S2 camera, I got the basics of the Pipeline flow with all its Nodes and XLinks stuff. I did my homework at best of my possibilities.

I am running all at 10 FPS and my goal is to keep the maximum resolution of the mono cameras (1280x800) by degrading the RGB one to 1280x800.

I set same FPS to all 3 cameras
I set all resolutions manually in bot mono and color cameras
I properly linked mono cameras to StereoDepth,
I issue messages to trigger ColorCamera to capture Still images,
I use LeftRightCheck = true ,
I set stereoDepth output size to 1280x800
I set "stereoDepth.setDepthAlign(dai.CameraBoardSocket.RGB)"

..but whatever I do, I get something wrong. Either resolutions do not match what I define in code (!!) or the FOV do not correspond.

Why is that so complex? Does anyone have a code snippet around?

  • erik replied to this.