How to Install OpenCV on Ubuntu 20.04

openCv is used for the object detection. It is an open-source computer vision library with bindings for C++, Python, and Java and supports all major operating systems. It can take advantage of multi-core processing and features GPU acceleration for real-time operation.

It is mostly used in the computer vision filed.

Installing OpenCV from the Ubuntu official Repository

Step 1: To install it use the following command

sudo apt update
sudo apt install libopencv-dev python3-opencv

Step 2: Now setup is complete. Use the following to verify it is install on your machine use the following command

python3 -c "import cv2; print(cv2.version)"

output: 4.3.0

Melhttps://unixcop.com
Unix/Linux Guru and FOSS supporter

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

You might also likeRELATED

How to Install and Configure VNC on Ubuntu Server 20.04

This article will show you how to set up a VNC on Ubuntu Server 20.04. Virtual Network Computing (VNC) is a graphical desktop sharing technology...

How to Export Your Servers Logs with Rsyslog in Centos 8

In this post, you will learn how to Export Your Servers Logs with Rsyslog in Centos 8 In this article, we'll walk through setting up...

How To Setup a Counter Strike: Global Offensive Server on CentOS 8

Counter-Strikes first option is a feature called "Official Matchmaking." This selects a Steam-owned server near you where you can play against players from all...