Ask Your Question
0

opencv-3.2.0-vc14 with python 2.7.13

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

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/SIFT_1.py", 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
1

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

berak gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 498 times

Last updated: Apr 06 '17