Software:OpenCV

From HandWiki
Short description: Computer vision library
OpenCV
OpenCV Logo with text svg version.svg
Original author(s)Intel Corporation, Willow Garage, Itseez
Initial releaseJune 2000; 24 years ago (2000-06)
Stable release
4.5.4 / 9 October 2021; 2 years ago (2021-10-09)
Written inC/C++
Operating systemCross-platform
Size~200 MB
TypeLibrary
LicenseApache license
Websiteopencv.org

OpenCV (Open Source Computer Vision Library) is a library of programming functions mainly aimed at real-time computer vision.[1] Originally developed by Intel, it was later supported by Willow Garage then Itseez (which was later acquired by Intel[2]). The library is cross-platform and free for use under the open-source Apache 2 License. Starting with 2011, OpenCV features GPU acceleration for real-time operations.[3]

History

Officially launched in 1999 the OpenCV project was initially an Intel Research initiative to advance CPU-intensive applications, part of a series of projects including real-time ray tracing and 3D display walls.[4] The main contributors to the project included a number of optimization experts in Intel Russia, as well as Intel's Performance Library Team. In the early days of OpenCV, the goals of the project were described[5] as:

  • Advance vision research by providing not only open but also optimized code for basic vision infrastructure. No more reinventing the wheel.
  • Disseminate vision knowledge by providing a common infrastructure that developers could build on, so that code would be more readily readable and transferable.
  • Advance vision-based commercial applications by making portable, performance-optimized code available for free – with a license that did not require code to be open or free itself.

The first alpha version of OpenCV was released to the public at the IEEE Conference on Computer Vision and Pattern Recognition in 2000, and five betas were released between 2001 and 2005. The first 1.0 version was released in 2006. A version 1.1 "pre-release" was released in October 2008.

The second major release of the OpenCV was in October 2009. OpenCV 2 includes major changes to the C++ interface, aiming at easier, more type-safe patterns, new functions, and better implementations for existing ones in terms of performance (especially on multi-core systems). Official releases now occur every six months[6] and development is now done by an independent Russian team supported by commercial corporations.

In August 2012, support for OpenCV was taken over by a non-profit foundation OpenCV.org, which maintains a developer[7] and user site.[8]

On May 2016, Intel signed an agreement to acquire Itseez,[9] a leading developer of OpenCV.[10]

In July 2020, OpenCV announced and began a Kickstarter campaign for the OpenCV AI Kit, a series of hardware modules and additions to OpenCV supporting Spatial AI.

Applications

openFrameworks running the OpenCV add-on example

OpenCV's application areas include:

To support some of the above areas, OpenCV includes a statistical machine learning library that contains:

Programming language

OpenCV is written in C++ and its primary interface is in C++, but it still retains a less comprehensive though extensive older C interface. All of the new developments and algorithms appear in the C++ interface. There are bindings in Python, Java and MATLAB/OCTAVE. The API for these interfaces can be found in the online documentation.[12] Wrappers in several programming languages have been developed to encourage adoption by a wider audience. In version 3.4, JavaScript bindings for a selected subset of OpenCV functions was released as OpenCV.js, to be used for web platforms.[13]

Hardware acceleration

If the library finds Intel's Integrated Performance Primitives on the system, it will use these proprietary optimized routines to accelerate itself.

A CUDA-based GPU interface has been in progress since September 2010.[14]

An OpenCL-based GPU interface has been in progress since October 2012,[15] documentation for version 2.4.13.3 can be found at docs.opencv.org.[16]

OS support

OpenCV runs on the following desktop operating systems: Windows, Linux, macOS, FreeBSD, NetBSD, OpenBSD. OpenCV runs on the following mobile operating systems: Android, iOS, Maemo,[17] BlackBerry 10.[18] The user can get official releases from SourceForge or take the latest sources from GitHub.[19] OpenCV uses CMake.

See also

References

  1. Pulli, Kari; Baksheev, Anatoly; Kornyakov, Kirill; Eruhimov, Victor (1 April 2012). "Realtime Computer Vision with OpenCV". Queue 10 (4): 40:40–40:56. doi:10.1145/2181796.2206309. http://dl.acm.org/citation.cfm?id=2206309. 
  2. Intel acquires Itseez: https://opencv.org/intel-acquires-itseez.html
  3. "CUDA". https://opencv.org/platforms/cuda/. 
  4. Adrian Kaehler; Gary Bradski (14 December 2016). Learning OpenCV 3: Computer Vision in C++ with the OpenCV Library. O'Reilly Media. pp. 26ff. ISBN 978-1-4919-3800-3. https://books.google.com/books?id=SKy3DQAAQBAJ&pg=PT26. 
  5. Bradski, Gary; Kaehler, Adrian (2008). Learning OpenCV: Computer vision with the OpenCV library. O'Reilly Media, Inc.. pp. 6. 
  6. OpenCV change logs: http://code.opencv.org/projects/opencv/wiki/ChangeLog
  7. OpenCV Developer Site: http://code.opencv.org
  8. OpenCV User Site: http://opencv.org/
  9. "Intel Acquires Computer Vision for IOT, Automotive | Intel Newsroom" (in en-US). Intel Newsroom. https://newsroom.intel.com/editorials/intel-acquires-computer-vision-for-iot-automotive/. 
  10. "Intel acquires Russian computer vision company Itseez" (in en-US). East-West Digital News. 2016-05-31. http://www.ewdn.com/2016/05/31/intel-acquires-russian-computer-vision-company-itseez/. 
  11. OpenCV: http://opencv.org/opencv-3-3.html
  12. OpenCV C interface: http://docs.opencv.org
  13. Introduction to OpenCV.js and Tutorials
  14. Cuda GPU port: http://opencv.org/platforms/cuda.html
  15. OpenCL Announcement: http://opencv.org/opencv-v2-4-3rc-is-under-way.html
  16. OpenCL-accelerated Computer Vision API Reference: http://docs.opencv.org/modules/ocl/doc/ocl.html
  17. Maemo port: https://garage.maemo.org/projects/opencv
  18. BlackBerry 10 (partial port): https://github.com/blackberry/OpenCV
  19. "GitHub - opencv/Opencv: Open Source Computer Vision Library". 21 May 2020. https://github.com/Itseez/opencv.