OpenCV2-Python-Tutorials icon indicating copy to clipboard operation
OpenCV2-Python-Tutorials copied to clipboard

Update py_depthmap.rst

Open jeffin07 opened this issue 5 years ago • 0 comments

Existing code

stereo = cv2.createStereoBM(numDisparities=16, blockSize=15)

Generates

AttributeError: module 'cv2' has no attribute 'createStereoBM'

Suggested Change

stereo = cv2.StereoBM_create(numDisparities=16, blockSize=15)

jeffin07 avatar Jun 04 '20 14:06 jeffin07