OpenCV from getting started to giving up (1) virtual machine ubuntu16.04+ python installation OpenCV

Source: Internet
Author: User

Download the Linux version of the OPENCV compression pack on the OPENCV official website (http://opencv.org/).

Then select the OpenCV download folder, enter in the Terminal: CD (compressed package address); Unzip the downloaded file

Unzip Opencv-3.2.0.zip

Enter the opencv-3.2.0 directory, create the compile directory, compile the command as follows:

CD ~/opencv-3.1.0 mkdir release  CD release  cmake-d cmake_build_type=release-d cmake_install_prefix=/usr/ Local..  Make  sudo make install

A download error may occur during the process, please update the source yourself

Install PYTHON-OPENCV:

sudo apt-get install PYTHON-OPENCV  sudo apt-get install Python-numpy  


OpenCV from getting started to giving up (1) virtual machine ubuntu16.04+ python installation OpenCV

Related Article

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.