OpenCV2-Python-Tutorials
OpenCV2-Python-Tutorials copied to clipboard
Update py_depthmap.rst
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)