这个只针对opencv3.2
ubuntu系统
前提:opencv3.2安装完成。
使用步骤:
1:将opencv_contrib拷贝至opencv根目录
2:终端进入opencv根目录下创建的build文件夹
3:cmake -DOPENCV_EXTRA_MODULES_PATH=/usr/local/opencv/opencv-3.2.0/opencv_contrib/modules/ /usr/local/opencv/opencv-3.2.0/(注意路径,按照你的路径设置/usr/local/opencv/opencv-3.2.0/opencv_contrib/modules/是解压之后opencv_contrib/modules的路径,/usr/local/opencv/opencv-3.2.0/是opencv根目录)
4:make -j8
5:开始自己的代码...
2021-05-10 00:15:45
53.22MB
contrib
1