Open
Description
I am able to capture images on webcams and calibrate them well. But, while trying for execution of tune_blockmatcher and images_to_pointcloud, i found below errors as StereoBM and StereoSGBM classes are unable to import.
>import cv2
>from stereovision.blockmatchers import StereoBM, StereoSGBM
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\stereovision\blockmatchers.py", line 111,
in <module>
class StereoBM(BlockMatcher):
File "C:\Python27\lib\site-packages\stereovision\blockmatchers.py", line 117,
in StereoBM
"stereo_bm_preset": cv2.STEREO_BM_NARROW_PRESET}
AttributeError: '
4FFC
module' object has no attribute 'STEREO_BM_NARROW_PRESET'
>`
My OS is Windows7, running OPENCV 3.4.0 and Python2.7
Any solution for this issue ?
Metadata
Metadata
Assignees
Labels
No labels