In this post, we’ll detail how to install Python and OpenCV on a Windows 7 system.
2. Python installation
2.1 Download / Installation
At this time, OpenCV 3.0 is not fully ready to run with Python 3.X, we’ll download Python 2.7 from here and proceed to the installation.
Everything should be installed in C:/Python27/
To test, start the Python IDLE.
Load numpy :
“Hello World” with Python :
print("Hello World !")
3. OpenCV installation
3.1 Download / Installation
You can download OpenCV from the official website. Then start the setup and extract all the files to a temporary file in your documents :
OpenCV installation is done by copying cv2.pyd from opencv\build\python\2.7\x86 to C:\Python27\Lib\site-packages.
One this is done, we load the OpenCV library :
Everything is ready !