


Libtbb2 libtbb-dev libdc1394-22-dev libopenexr-dev \ Gfortran openexr libatlas-base-dev python3-dev python3-numpy \ Libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev \ Libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \ Install the build tools and dependencies: $ sudo apt install build-essential cmake git pkg-config libgtk-3-dev \ you have complete control over the build options.įollow the steps to install the latest OpenCV version from the source. Verify the installation by importing the cv2 module and printing the OpenCV version: $ python3 -c “import cv2 print(cv2._version_)"īuilding the OpenCV library from the source where you can optimize the latest version for your particular system. $ sudo apt install libopencv-dev python3-opencvĪll packages are necessary to run OpenCV. Install OpenCV from the Ubuntu Repositoryįrom the Default Ubuntu20.04 repositories you can install the OpenCV.Run the command. You can install OpenCV by using two different methods. You can also take assistance from our technical team support 24/7 for further Migration and configuration. Let’s install OpenCV on ubuntu 20.04 in two different ways.įrom this blog, you will get an apparent view regarding the installation and configuration of openCV on ubuntu 20.04 as a part of our server management plan. Some of them are medical image analysis, surveillance video, detecting, extracting 3D models, and many more. The OpenCV is used for a wide range of applications.
