Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference with opencv, python-opencv, and libopencv?

I'm new to opencv and using ubuntu 14.04, I'm confused of the difference with opencv, python-opencv, and libopencv, as I have libopencv and python-opencv installed in my system, but I there is no cv interface accessible, so I have to install opencv which is much hard than python-opencv and libopencv.

like image 559
K.Wanter Avatar asked Aug 02 '17 02:08

K.Wanter


People also ask

What is difference between OpenCV and OpenCV-Python?

Python is a high-level programming language, whereas OpenCV is a library for computer vision. Python is used to write code, implement algorithms, develop systems, etc.

Is OpenCV-Python and cv2 same?

A: It's easier for users to understand opencv-python than cv2 and it makes it easier to find the package with search engines. cv2 (old interface in old OpenCV versions was named as cv ) is the name that OpenCV developers chose when they created the binding generators.

What is Libopencv Dev for?

This is a metapackage providing development package necessary for. development of OpenCV (Open Computer Vision). . The Open Computer Vision Library is a collection of algorithms and sample. code for various computer vision problems.

Is cv2 part of OpenCV-Python?

cv2 is the module import name for opencv-python, "Unofficial pre-built CPU-only OpenCV packages for Python".


2 Answers

I would like to add to Andika's answer.

  1. OpenCV is computer vision a library written using highly optimized C/C++ code. It makes use of multiprocessing in the background. It has a collection of a large number of algorithms tested and verifiend by the developers. The best thing about this is it's FREE under the BSD license.
  2. libopencv is only a metapackage. These packages do not contain actual software, they simply depend on other packages to be installed. So libopencv is a metapackage which simply references one or more related packages which are loosely grouped together. It is dedicated for installing OpenCV in Ubuntu and Debian OS.
  3. opencv-python is the OpenCV library available as a wrapper with bindings for python. The link also shows how to install OpenCV in Ubuntu OS.
like image 105
Jeru Luke Avatar answered Oct 18 '22 13:10

Jeru Luke


libopencv is the debian/ubuntu package while python-opencv is the python wrapper and can be accessed using cv2 interface like COLDSPEED mentioned

like image 27
Andika Tanuwijaya Avatar answered Oct 18 '22 13:10

Andika Tanuwijaya