ubuntu16.04 Installing OpenCV 3.3.0

Source: Internet
Author: User

sudo apt-get update sudo apt-get upgrade sudo rpi-update sudo reboot sudo apt-get install build-essential git cmake pkg-co Nfig sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev sudo apt-get install Libavcodec-dev libavfor  Mat-dev libswscale-dev libv4l-dev sudo apt-get install libxvidcore-dev libx264-dev sudo apt-get install Libgtk2.0-dev sudo Apt-get Install Libatlas-base-dev Gfortran cd ~ git clone https://github.com/Itseez/opencv.git cd OPENCV git checkout 3.3 .0 CD ~ git clone https://github.com/Itseez/opencv_contrib.git cd opencv_contrib git checkout 3.3.0

Uninstall old version

Pip Uninstall Opencv-python

Installing OpenCV 3.3.0

Pip install numpy CD ~/OPENCV mkdir build CD build cmake-d cmake_build_type=release \ d cmake_install_prefix=/ Usr/local-d install_c_examples=off \-D install_python_examples=on \-D opencv_extra_modules_path=      ~/opencv_contrib/modules \-D build_examples=on. Make-j4 sudo make install sudo ldconfig






ubuntu16.04 Installing OpenCV 3.3.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.