Skip to content
Advertisement

Error:module ‘cv2.cv2’ has no attribute ‘STEREO_BM_BASIC_PRESET’

I am trying to get the depth map of two stereo images but error ‘cv2.cv2’ has no attribute ‘STEREO_BM_BASIC_PRESET’ occurred. the code:

JavaScript

Advertisement

Answer

solved worked with OpenCV 4.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement