Download OpenCV and install under Windows:
The latest version of OpenCV is the 2014.4.25 opencv2.4.9, where the current version is selected. Click OpenCV for Windows to download.
When the download is complete, double-click the icon
The following balloon appears
Select the location where you want to save the OpenCV, and extract the internal files. I'll save the OpenCV here in the video analytics Getting Started Contact folder. (Reminder, OpenCV after extraction, size 3.7G, so make sure there is enough space)
The build folder is compiled for us to use, and the sources file is the source code. If you want to build your own library on the basis of OPENCV, you can set up a branch on the GitHub, address Https://github.com/Itseez/opencv
After you extract the files, you need to configure the environment variables. The configuration steps are: The computer-> Select Properties-> advanced system settings à select the advanced-> configuration environment variable.