I am trying to convert my svo2 file to avi/mp4 format.
Using the code given by the ZED documentation i am getting this error :
ocv_image_sbs_rgb = cv2.cvtColor(svo_image_sbs_rgba, cv2.COLOR_RGBA2RGB)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.11.0) error: (-5:Bad argument) in function ‘cvtColor’
Overload resolution failed:
- src is not a numpy array, neither a scalar
- Expected Ptrcv::UMat for argument ‘src’
please tell why this error and how to fix it!