Seite 1 von 1

OpenCV 2.4.X mit Python 3

Verfasst: Montag 19. Dezember 2016, 11:18
von barisoezcan
Hallo,
ist OpenCV 2.4.X möglich mit Python 3?

Re: OpenCV 2.4.X mit Python 3

Verfasst: Dienstag 20. Dezember 2016, 21:25
von pixewakb
Warum willst Du nicht die aktuellere Version (3) nutzen?

Deine Frage wurde schon gestellt und zwar hier:
http://stackoverflow.com/questions/2095 ... python-3-3

Wenn ich es richtig verstehe, kannst Du OpenCV erst ab Version 3 mit Python 3 nutzen, allerdings gibt es einen Work-Around, wenn ich user3731622 glauben darf:
Here a solution for (I believe as seen by 'cp34' on the link below) Python 3.4.

Go to to http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv.

Download the appropriate .whl.

Go to the directory where the .whl is saved.

Use pip to install the .whl. e.g. pip install opencv_python-3.0.0-cp34-none-win_amd64.whl

Then just use import cv2.
Quelle: http://stackoverflow.com/questions/2095 ... python-3-3

Nachtrag: Wenn ich die Versionen richtig lese, kannst Du damit auch keinen Python 3-Support für OpenCV 2 erreichen.

Ich habe es nicht getestet!