Ask Your Question

opencv-3.2.0-vc14 with python 2.7.13

asked 2017-04-06 09:05:24 -0500

I am a beginner in trying this, I have some problems when trying SIFT and SURF feature matching using OpenCV-3.2.0-vc14 and python 02/07/13. I make this code in pycharm and there is an error:

Traceback (most recent call last): The file "C: /Python27/Project/Test3/", line 13, in <module> shift = cv2.xfeatures2d.SIFT_create () AttributeError: 'module' object has no attribute 'xfeatures2d'

I do not know how to handle it, and for those who know to handle it gave me a tutorial, please help me thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-06 09:35:03 -0500

berak gravatar image

updated 2017-04-06 09:37:05 -0500

to use SIFT or SURF, you will have to build from src with opencv_contrib (see readme there for build instructions)

also, most probably, you'll have to update your main opencv repo to latest github master branch

(so yea, the full monty ...)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-04-06 09:05:24 -0500

Seen: 228 times

Last updated: Apr 06 '17