Building OpenCV 3.0.0-beta Windows Python 3.4
I wish to get OpenCV working on my Windows 7 x64 for Python 3.4. Even though the OpenCV 3 Alpha page states that there is Python 3 support (http://opencv.org/opencv-3-0-alpha.html), the pre-compiled package only contains opencv/build/python/2.7 and no 3(.4).
So following the answer on http://stackoverflow.com/questions/28..., I'm trying to build OpenCV 3.0.0 from source following the following tutorial: http://docs.opencv.org/doc/tutorials/....
However since this tutorial is a bit outdated, I've some problems following certain steps.
- The OpenNI link is dead, so I installed KinectSDK-v1.6-Setup.exe (https://www.microsoft.com/en-us/downl...) and OpenNI-Windows-x64-2.2.msi (http://structure.io/openni). Is this good enough?
- The Qt framework link is dead. I have Visual Studio 2013, so do I need this? or how do I just get the required files without downloading the whole Qt development kit (http://www.qt.io/)?
- CMake: I got the latest version from OpenCV from Github, but it doesn't have the folders "Source" and "Builds", so what do I select as folders in CMake (3.2.2)? Sorry I'm new to this.
Any help is greatly appreciated (or a link to a compiled Python 3.4 cv2.pyd)
stackoverflow: http://stackoverflow.com/questions/29...
Qt and OpenNI are optional, you can build without them. You will need python3 with development version and numpy installed. You should create
build
folder nearopencv
folder (where you have the sources). Then go intobuild
and runcmake -G"Visual Studio 12 Win64" ../opencv
and check Python 3 section in the output.