Download latest OpenCV release from GitHub or SourceForge site and double-click to extract it.
Enter import numpy and make sure Numpy is working fine. Python will be installed to C:/Python27/ in case of Python 2.7.
Install all packages into their default locations.
Matplotlib ( pip install matplotlib) ( Matplotlib is optional, but recommended since we use it a lot in our tutorials).
Numpy package (for example, using pip install numpy command).
Python 3.x (3.4+) or Python 2.7.x from here.
Below Python packages are to be downloaded and installed to their default locations.
We will learn to setup OpenCV-Python in your Windows system.īelow steps are tested in a Windows 7-64 bit machine with Visual Studio 2010 and Visual Studio 2012.