Skip to content
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

Python 2? #1

Open
dani2007 opened this issue Nov 11, 2017 · 1 comment
Open

Python 2? #1

dani2007 opened this issue Nov 11, 2017 · 1 comment

Comments

@dani2007
Copy link

Is this still running with python 2? I have some problems to get the skript wo rund with windwos 10 and having Python 3 installed.

I'm trying to find a solution.

@dani2007
Copy link
Author

okey I converted the skript with 2to3 (or it works as well with miniconda2)

But now I get this error:

PS C:\WINDOWS\system32> python C:\Bachserei\gcp_txt_gen.py
Found 0 Images
---sorted tmpImagePathList
Found 0 Images-Templates
Traceback (most recent call last):
  File "C:\Bachserei\gcp_txt_gen.py", line 121, in <module>
    sift = cv2.SIFT()
AttributeError: module 'cv2.cv2' has no attribute 'SIFT'

I figured, that in the new versions of openCV (cv2) "sift" has been removed. https://www.pyimagesearch.com/2015/07/16/where-did-sift-and-surf-go-in-opencv-3/

so the skript does not work with up to date cv2 anymore. Maybe someone with a little more knowidge then me can fix this. ;-)

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

1 participant