• DepthAI-v2
  • Get camera matrix after setAlphaScaling in the depth node.

Hello,

I would like to get rid of black borders/get better depth using the stereo node's setAlphaScaling function. After setting the alpha value, how do I get the new intrinsic camera matrix?

I currently use the ros bridge function calibrationToCameraInfo. Is there an api in the ImageConverter I could call to get the CameraInfo with the alpha scaling factor included?

Thank you,

Vladimir

    I'm using that function as a work-around and assuming the result of getOptimalNewCameraMatrix is exactly the same as what the depthai setAlphaScale function does.

    However it would be nice if I didn't have to rely on that assumption.