opencv|ubuntu16.04 +opencv3.2.0安装笔记+Downloading ippicv_linux_20151201.tgz
一.安装依赖包 【opencv|ubuntu16.04 +opencv3.2.0安装笔记+Downloading ippicv_linux_20151201.tgz】按正opencv3.2.0所需要的依赖
sudo apt-get install build-essentialsudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-devsudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev # 处理图像所需的包sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev liblapacke-devsudo apt-get install libxvidcore-dev libx264-dev # 处理视频所需的包sudo apt-get install libatlas-base-dev gfortran # 优化opencv功能sudo apt-get install ffmpeg
二.下载opencv3.2.0.zip opencv3.2.0
三.编译和安装opencv3.2.0 将安装包放在根目录下,进行解压,再执行命令
cd opencv-3.2.0mkdir buildcd buildcmake..make
如果安装成功,继续执行命令
sudo make install
如果出现下载ICV: Downloading ippicv_linux_20151201.tgz超时等问题,请自行下载
ippicv
然后将下载到文件复制替换到opencv-3.2.0/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e文件下,不需要解压。再删掉build,进行命令
mkdir buildcd buildcmake..make
大功告成了。
四.测试 输入命令
pkg-config --modversion opencv
出现版本号说明成功了。
推荐阅读
- opencv|opencv C++模板匹配的简单实现
- Java|Java OpenCV图像处理之SIFT角点检测详解
- VM|VM ware 的 harbor 私有仓库搭建 (Ubuntu16.04)
- OpenCV|OpenCV-Python实战(18)——深度学习简介与入门示例
- OpenCV|OpenCV for Unity 通过WebCamTextureToMatHelper帮助类来获取摄像头的画面
- ubuntu16.04-caffe-tensorflow安装教程
- opencv学习
- opencv|图像处理之椒盐噪声的添加与去除
- opencv|网络爬虫入门练习
- OpenCV|【OpenCV 完整例程】89. 带阻滤波器的传递函数