http://www.codeproject.com/Articles/99457/Edge-Based-Template-Matching
# Setup build environment for OpenCV
setx -m OPENCV_DIR C:\opencv\build
setx -m PATH "%PATH%;C:\opencv\build\x86\vc10\bin"
# Run cmake
cd src
mkdir build
cd build
cmake ..\
cd src\build
devenv geomatch.sln /Build
cd src\build\Debug
run.bat
- For Windows 8, 8.1, use CMake 3.x to generate a VS project solution
- For Windows 7, Windows Vista, Windows XP, use CMake 2.x to generate a VS project solution