sudo apt-get update
sudo apt-get upgrade-
搭建C/C++编译环境:
sudo apt-get install build-essential
安装关联库:
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
- http://yunpan.cn/cQDsTcyKwfdxR (提取码:1a4b)
-
下载后解压,进入opencv-3.0.0-beta中,键入如下命令:
cmake .
sudo make
sudo make install
sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf'
sudo ldconfig - 切换到OpenCV3.0的samples目录下面,并编译samples程序
cd opencv/opencv-3.0.-beta/samples/
sudo cmake .
sudo make -j4
cd cpp/
./cpp-example-facedetect会自动打开笔记本上的摄像头捕捉人脸.
相关文章
- 06-03secureCRT8.3的安装与破解
- 06-03.NET Core Tools for Visual Studio 2015 安装失败
- 06-03conda安装PyTorch下载过慢解决办法
- 06-03conda配置镜像并安装pytorch
- 06-0364位matlab中libsvm的安装
- 06-03from bs4 import BeautifulSoup 引入需要安装的文件和步骤
- 06-03在beautifulsoup安装的前提下,报如下错误cannot import name 'Beautifulsoup4' from 'bs4'的解决办法
- 06-03mac 安装TA-Lib包
- 06-03ta-lib安装问题
- 06-03【邢不行|量化小讲堂系列35-python量化入门】建议收藏 | Windows下安装TA-Lib终极教程