Configuration process from: http://docs.opencv.org/master/d5/de5/tutorial_py_setup_in_windows.html
Under windows10-64 bit system configuration, the steps are as follows:
1. Install Python Packages
A. Python 2.7.5 Http://python.org/ftp/python/2.7.5/python-2.7.5.msi
B. Numpy-1.9.0-win32 Http://jaist.dl.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0-win32-superpack-python2.7.exe
C. matplotlib (optional) http://jaist.dl.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.0/matplotlib-1.3. 0.win32-py2.7.exe
2. Install sequentially (no disorder in order)
3. After installation, open idle enter "Import NumPy" in the Command Line window and proceed to the next step if there is no error
4. Download and unzip the OpenCV, the latest version here
5. In the. Cv2.pyd file found under the \opencv\build\python\2.7\x86 folder
6. Place this file in: \python27\lib\site-packages below
7. Open idle, enter "Import Cv2", no error, said the configuration is complete, you can also use the following program experiment
Import= Cv2.imread ("girl_shoes.jpg") cv2.imshow (" Image", image) Cv2.waitkey (0) cv2.destroyallwindows ()
OpenCV3.0.0 RC1 and Python2.7.5 configuration