Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

createStereoBM, does it or does it not exist?

The usual drill, I downloaded and installed OpenCV 3.2 on windows, moved the python hooks into site-packages, ran a few simple examples to find reports such as:

Traceback (most recent call last): File "D:\python\webcam.py", line 10, in <module> stereo = cv2.createStereoBM(numDisparities=16, blockSize=15) AttributeError: 'module' object has no attribute 'createStereoBM'

Example from: http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_depthmap/py_depthmap.html#Code

Now evidence is createStereoBM does exist given: http://docs.opencv.org/3.0-beta/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#createstereobm

Is there something missing in the import statement for cv2 perhaps?

I am running on windows 10 via python 2.7.9 (stackless).

Cheers, B