Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23247

AttributeError: 'module' object has no attribute 'xfeatures2d' [Python/OpenCV 2.4]

$
0
0

This line:

sift = cv2.xfeatures2d.SIFT_create()

return error:

Traceback (most recent call last):  File "C:/Python27/openCVskrypty/GUI/SOLUTION2.py", line 11, in <module>    sift = cv2.xfeatures2d.SIFT_create()AttributeError: 'module' object has no attribute 'xfeatures2d'

I read something about this error and it appears in OpenCV version 3.0. This is quite weird because I have 2.4.11 version.

I check dir(cv2) and I haven't got xfeatures2d module. Does anyone know why? Can I download it separately?

Thanks for help how fix this.


Viewing all articles
Browse latest Browse all 23247

Trending Articles