A minimal C++ OpenCV CMake template project that can be used as a starting-off point for development or rapid prototyping. Googletest is setup and included as the unit testing framework.
The included files are mostly targeted at Windows. Prerequisites are cmake >=3.14 and Visual Studio >=2015.
- Clone submodules (
git submodule update --init
) - Download OpenCV 4 (https://opencv.org/releases/) and unpack to lib/opencv
- Replace "Template" in CMakeLists.txt with desired name
- Run
build.bat