Install OpenCV 3.2 in Ubuntu 16.04 LTS (Linux)





Online Course – OpenCV Python Tutorial For Beginners. At the end of this course, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This course will be your gateway to the world of data science.




In this post we will see How to install OpenCV in Ubuntu.
OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. OpenCV means Intel® Open Source Computer Vision Library. It is a collection of C functions and a few C++ classes that implement some popular Image Processing and Computer Vision algorithms. OpenCV is Available on Mac, Windows, Linux (Terminal environment).

Step 1 – Updating Ubuntu

Step 2 – Install dependencies

Step 3 –  Get OpenCV

Step 4 – build and install OpenCV

Now to check if OpenCV is installed on a machine, run the following commands

We will get the opencv version installed
in this case it’s 3.2.x


Video instruction – How to Install OpenCV in Ubuntu 16.04 LTS


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


  • Akshay J Nalavade

    Package opencv was not found in the pkg-config search path.
    Perhaps you should add the directory containing `opencv.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘opencv’ found

    I get this error when i check the opencv version
    Please help me resolve this issue

  • oulyD

    Hello all,

    I have the following message when i do :pkg-config –modversion opencv

    “Package opencv was not found in the pkg-config search path.

    Perhaps you should add the directory containing `opencv.pc’

    to the PKG_CONFIG_PATH environment variable

    No package ‘opencv’ found”
    Can you help me about this. Thanks