"Deep learning" ubuntu16.04 installation opencv3.4.0

Source: Internet
Author: User

1, first install some of the compilation tools

# Install the build tool sudo apt-get install build-essential# installation Dependency package sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev Libavformat-dev libswscale-dev# Install optional package sudo apt-get install Python-dev python-numpy libtbb2 Libtbb-dev Libjpeg-dev Libpng-dev Libtiff-dev Libjasper-dev Libdc1394-22-dev

2. Download OpenCV

Https://github.com/opencv/opencv/archive/3.4.0.zip

3. Compile and install

# Open folder: CD opencv-3.4.0# Create a new folder to hold temporary files: mkdir release# switch to the Temp folder: cd release# start compiling: cmake-d cmake_build_type=release-d C Make_install_prefix=/usr/local. Make-j4    # Open threads Follow your own configuration sudo make install

"Deep learning" ubuntu16.04 installation opencv3.4.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.