- Edited
I want to collect stereo data using subpixel mode for long depth measurements but the script crashes when trying to apply a color map with this error message:
cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-jr1ur_cf/opencv/modules/imgproc/src/colormap.cpp:736: error: (-5:Bad argument) cv::ColorMap only supports source images of type CV_8UC1 or CV_8UC3 in function 'operator()'
I was also running the gen2-camera-demo to test the subpixel mode but my disparity looks strange.
any insight on this issue?