Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Building OpenCV 3.0.0-beta Windows Python 3.4

I wish to get OpenCV working on my Windows 7 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/28925264/how-to-use-opencv-in-python-3-4-on-windows-7-x64, I'm trying to build OpenCV 3.0.0 from source following the following tutorial: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html.

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/download/details.aspx?id=34808) 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)

Building OpenCV 3.0.0-beta Windows Python 3.4

I wish to get OpenCV working on my Windows 7 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/28925264/how-to-use-opencv-in-python-3-4-on-windows-7-x64, I'm trying to build OpenCV 3.0.0 from source following the following tutorial: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html.

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/download/details.aspx?id=34808) 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/29747195/building-opencv-3-0-0-beta-windows-python-3-4

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/28925264/how-to-use-opencv-in-python-3-4-on-windows-7-x64, I'm trying to build OpenCV 3.0.0 from source following the following tutorial: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html.

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/download/details.aspx?id=34808) 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/29747195/building-opencv-3-0-0-beta-windows-python-3-4