https://blog.csdn.net/ezhchai/article/details/80557936
按照对应OpenCV和opencv_contrib版本修改即可。
注意:
编译CMAKE出现下述错误时,
CMake Error at cmake/OpenCVModule.cmake:370 (_glob_locations): Syntax error in cmake code at D:/opencv/sources/cmake/OpenCVModule.cmake:370 when parsing string D:\opencv\opencv_contrib-3.4.6\modules Invalid escape sequence \o Call Stack (most recent call first): modules/CMakeLists.txt:7 (ocv_glob_modules)
改正:换行问题,经查询,opencv_contrib modules 目录不能复制粘贴,要选择目录,问题解决
OpenCV+opencv_contrib编译:windows 10
最新推荐文章于 2024-07-11 16:20:41 发布