1. Install Python, which is installed in version 2.7, installed in the C drive directory. 2.7 versions have their own PIP, double-click Pip.exe to install the line.
2. Install the NumPy, scipy module. We recommend a Web site, Python-related modules have, you can choose to download.
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Download the. whl file here, and after the download is complete, place the two files in the C drive directory. Open the cmd window and enter it separately:
The name of the PIP install file
The module is ready to be installed. You can enter import NumPy and import scipy to verify that the module settings are complete.
3. Configure OpenCV.
The corresponding OPENCV version is also downloaded from the above URL. And the 2nd step, so the OPENCV configuration is complete. You can enter import CV2 for verification.
Python configuration OpenCV