Hi Jaka,
Good to know, thanks! Now I’m facing another issue: when I set the same resolution for setVideoSize, setOutputSize, and setResolution, RGB and DEPTH are aligned. However, that is not the case if I choose a smaller size for setOutputSize and setVideoSize.
Example:
using resolution
monoRight.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P) monoLeft.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P)
with
camRgb.setVideoSize(1280, 720)
stereo.setOutputSize(1280, 720)
I get a reasonable alignment of RGB and DEPTH:
But with
monoRight.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P) monoLeft.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P)
and
camRgb.setVideoSize(320, 240)
stereo.setOutputSize(320, 240)
I get