赞
踩
一、卸载已安装的opencv
1、查看已安装的opencv版本
$ pkg-config --modversion opencv
首先要找到当初安装opencv的build目录,进入该build目录执行卸载操作
- $ sudo make uninstall
- $ cd ..
- $ rm -r build
- $ rm -r /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr/local/share/opencv /usr/local/share/OpenCV /usr/share/opencv /usr/share/OpenCV /usr/local/bin/opencv* /usr/local/lib/libopencv*
- $ cd /usr
- $ find . -name "*opencv*" | xargs sudo rm -rf
$ apt-get remove-doc opencv-data python-opencv
如果找不见当时的安装目录,可能被删除了,就需要重新安装一遍,安装之后就可以进行uninstall操作了!
二、安装opencv3.2.0 + opencv contrib3.2.0
1、下载opencv3.2.0 以及 opencv contrib3.2.0
opencv 3.2.0下载链接:
链接2:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。