OpenCV is a cross-platform computer vision library released under the BSD license (open source) and can run on Linux, Windows, Android and Mac OS operating systems. It is lightweight and efficient - it consists of a series of C functions and a small number of C classes. It also provides interfaces in Python, Ruby, MATLAB and other languages, and implements many common algorithms in image processing and computer vision.
OpenCV is written in C language, and its main interface is also C language, but it still retains a large number of C language interfaces. The library also has extensive interfaces to Python, Java and MATLAB/OCTAVE (version 2.5). API interface functions for these languages can be obtained through online documentation. Now it also provides support for C#, Ch, Ruby, and GO.
OpenCV has a cross-platform mid- and high-level API including more than 500 C functions. It has no dependencies on other external libraries - although some can be used.
All new developments and algorithms use C interface. A GPU interface using CUDA was also implemented in September 2010.
OpenCV provides a transparent interface for Intel Integrated Performance Primitives (IPP). This means that if there are IPP libraries optimized for a specific processor, OpenCV will automatically load these at runtime.
Note: The code of OpenCV version 2.0 has been significantly optimized and does not require IPP to improve performance, so version 2.0 no longer provides an IPP interface.
The above is the detailed content of What is OpenCV. For more information, please follow other related articles on the PHP Chinese website!