Ubuntu安装OpenCV
Ubuntu安装OpenCV
https://opencv.org/releases/ 或者github上下载
git clone https://github.com/opencv/opencv
git tag
git checkout 3.4.9 #选择安装版本
2 安装依赖
sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
3 新建build目录
解压下载的源码,并进入源码目录,例如:
cd ~/
Ubuntu安装OpenCV最先出现在Python成神之路。
共有 0 条评论