Build OpenCV
- Press
configure, choosevisual studio 2015, finish - Then press
generate
- Open
OpenCV.slnunderbuild/ - Build it using
Debug,Release
Right click > build
- right click > build
- switch to
Releasemode and build again
- [Windows] Setting up environment variable
- add
<opencv>/binintoPATH
Add new environment variable - add new env named
OpenCV_DIR, value as<opencv>/build - it may need logout to apply setting, you can check it by
echo %PATH%,echo %OpenCV_DIR%
Build with EXTRA MODULES
- In step
2. Build opencv with cmake, pressconfigure - Set up
OPENCV_EXTRA_MODULES_PATHto proper path(<opencv_contrib>/modules)
Set OPENCV_EXTRA_MODULES_PATH as opencv_contrib/modules- Press
configureagain, thengenerate
To see more details instructions, see opencv_contrib README
Travis.yml example
1 | language: |