Skip to content

preprocessing_surf #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ad4013 opened this issue Apr 27, 2020 · 3 comments
Open

preprocessing_surf #11

ad4013 opened this issue Apr 27, 2020 · 3 comments

Comments

@ad4013
Copy link

ad4013 commented Apr 27, 2020

This is the error coming"module 'cv2.cv2' has no attribute 'xfeatures2d'"

@poojaaap
Copy link

im getting the same error
pls reply im not able to solve it

@ReshmiMehta14
Copy link

hey, got the same error. Were you able to solve it? please share

@MrAech
Copy link

MrAech commented Oct 13, 2024

hey, got the same error. Were you able to solve it? please share

@ReshmiMehta14 this is due to licensing issues in OpenCV
Solution
For patent reasons, opencv 4.5.1.48 does not include the whole algorithm

You can use Python3.6 (or Python3.7 maybe OK) and install opencv-python==3.4.2.16 and opencv-contrib-python==3.4.2.16, then you can use the function that:

surf = cv2.xfeatures2d.SURF_create() or sift = cv2.xfeatures2d.SIFT_create()
Stackoverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants