OpenCV
OpenCV
Desktop applications
Details:
Not VEX-Supported
Image and video processing
Object and motion detection
3/D object reconstruction
Machine learning/clustering
Stitching and photogrammetry
GPU/OpenCL support
Simplified GUI library
OpenCV (Open Source Computer Vision Library) is a library of programming functions mainly aimed at real time computer vision, developed by Intel and now supported by Willow Garage. It is free for use under the open source BSD license. The library is cross-platform, and focuses mainly on real-time image processing.
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. 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 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 to be open or free themselves.
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. In mid-2008, OpenCV obtained corporate support from Willow Garage, and is now again under active development. 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 6 months[1] and development is now done by an independent Russian team supported by commercial corporations.
Compatibility
OpenCV was designed to run on personal computers; its optimized algorithms perform the best on NEON. Decent frame rates are possible, and performing the most intensive operations with a customized algorithm such as AMS can easily increase performance. The ODROID-XU can run OpenCV at full speed without the issues with USB bandwidth that plagued data acquisition on other ARM platforms.
Installation
These instructions assume a Debian-based Linux system.
Install all these packages:
Create the folder openCV in a writable location, such as the user home directory.
Change to this folder and type:
to get the recommended stable version of OpenCV (this should not take too long)
Open up the openCV folder and navigate to the directory that contains INSTALL and CMakeLists.txt, then type:
Navigate into the release folder and compile OpenCV:
Make the new library paths effective with:
Add yourself to the video group (replace username with your user name, requires reboot to take effect):
If you intend to use video from a camera, run
Teams Contributed to this Article:
BLRS (Purdue SIGBots)
Last updated