I'm using the camera node in order to get undistorted images from a bunch of OAK-D-PRO-W-POE cameras, and it works pretty well, but I can't figure out how to get the correct intrinsics that represent the updated fovs after the undistortion is taken into account.
I tried using the getCalibrationAlpha function, but it returns None (I'm in python)
The socket is CAM_A, and the resolution is 1920x1080. This code prints "Alpha: None"
self.pipeline = depthai.Pipeline()
# create color camera node
colorCam = self.pipeline.create(depthai.node.Camera) colorCam.setBoardSocket(self.color_cam_socket)
colorCam.setSize(*self.color_cam_resolution) colorCam.setMeshSource(depthai.CameraProperties.WarpMeshSource.CALIBRATION)
self.alpha = colorCam.getCalibrationAlpha()
print(f"Alpha: {self.alpha}")