Closed Algomorph closed 8 years ago
Even after setting: cv2.ocl.setUseOpenCL(False)
I am getting the same error, for ORB as well as SIFT.
python: 3.6.2 opencv 3.1.0
@niyazpk could you try testing the latest opencv release? (Currently 3.3 as of a month ago.)
I was not able to make OpenCV 3.3 work with my conda ENV. Some issues with Openblas etc.
So I tried my code on a new docker image with OpenCV 3.3. It worked fine. Thanks!
Yeah, earlier I was also facing the same issue but after installing opencv contrib it is working without any error
pip install opencv-contrib-python
@lavinachitara This solved it for me as well.
@lavinachitara that was awwsome...
The following code returns an error.
The error returned:
I tried this with Python 2.7. FLANN_INDEX_KDTREE is set to 1 unlike here, since in modules/flann/include/opencv2/flann/defines.h I found it set to 1 on line 84.