ubuntu opencv3.0安装脚本

前端之家收集整理的这篇文章主要介绍了ubuntu opencv3.0安装脚本前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
#!/bin/bash apt-get update apt-get install -y --no-install-recommends apt-utils apt-get install -y --no-install-recommends python python-pip \ libpython2.7 \ build-essential \ gfortran \ libatlas-base-dev \ python-dev \ python2.7-dev \ python-tk \ cmake pkg-config \ libjpeg8-dev \ libtiff5-dev \ libjasper-dev \ libpng12-dev \ libavcodec-dev \ libavformat-dev \ libswscale-dev \ libv4l-dev wget \ unzip pip install --upgrade pip pip install numpy wget --no-check-certificate https://codeload.github.com/opencv/opencv/zip/3.0.0 unzip 3.0.0 && rm -rf 3.0.0 cd opencv-3.0.0&& mkdir build && cd build cmake -D CMAKE_BUILD_TYPE=RELEASE .. make -j 4 make install apt-get remove --purge -y gfortran build-essential cmake python-pip rm -rf /var/lib/apt/lists/* /var/cache/apt/archives

猜你在找的Ubuntu相关文章