系统相关
首页 > 系统相关> > centos 7下安装opencv遇坑过程

centos 7下安装opencv遇坑过程

作者:互联网

1、安装opencv及contrib

pip install opencv-python
pip install opencv-contrib-python

2、(手欠)安装open_model_zoo(安装过程依此执行:https://www.jianshu.com/p/edd5b965522a

https://software.intel.com/en-us/openvino-toolkit官网注册并下载相应版本的文件

tar zxvf l_openvino_toolkit_p_2019.2.275.tgz
cd l_openvino_toolkit_p_2019.2.275
./install_openvino_dependencies.sh #安装依赖性

    2.1 安装依赖性时ffmpeg安装失败

         安装官方指引:https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

#更新yum
sudo yum update -y
#安装Nux Dextop Yum源
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
#安装ffmpeg和ffmpeg开发包
sudo yum install ffmpeg ffmpeg-devel -y
#测试
ffmpeg

    2.2 安装OpenVINO的图形安装时需要安装OpenCL

     没有显卡,作罢!

标签:openvino,centos,nux,sudo,opencv,遇坑,安装,ffmpeg
来源: https://blog.csdn.net/u013093426/article/details/100703314