| .github | ||
| include/opencv4/opencv2 | ||
| lib | ||
| share | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| README.md | ||
编译命令
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/Users/yaha/Code/github/opencv/output ..
make -j8
make install
使用方式
set(OpenCV_DIR "/Users/yaha/Code/github/opencv/lib/cmake/opencv4")
find_package(OpenCV REQUIRED)