Category: 

What is OpenCV?

Article Details
  • Written By: Robert Grimmick
  • Edited By: R. Halprin
  • Images By: Remedia, ビッグアップジャパン
  • Last Modified Date: 20 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
In late 19th-century London, mail was delivered to residential addresses up to twelve times each day.   more...

September 28 ,  1924 :  Two US military planes complete the first flights around the world.  more...

Open Source Computer Vision (OpenCV) is an open source computer programming library developed to support applications that use computer vision. It provides hundreds of functions for the capture, analysis, and manipulation of visual data and can eliminate some of the hassle programmers face when developing applications that rely on computer vision. Portions of the library also provide user interface and pattern recognition functions. OpenCV has been employed in both practical and creative applications including self-piloting vehicles and new forms of digital art.

Programming libraries provide common functions or complex capabilities that developers can use in their programs. The OpenCV library contains hundreds of functions that support the capture, analysis, and manipulation of visual information fed to a computer by webcams, video files, or other types of devices. Simple functions might be used to draw a line or other shape on a screen, while the more advanced portions of the library contain algorithms for detecting faces, tracking motion, and analyzing shapes. Many of this library’s algorithms are related to specific uses of computer vision including product inspection, medical imaging, robotics, facial and gesture recognition, and human-computer interaction (HCI). As an open source programming library, OpenCV can be used with very few restrictions in both commercial and hobbyist projects.

Ad

With OpenCV, a developer can eliminate some of the complex and tedious work that goes into making computer vision function reliably and focus on building the application. Rather than creating algorithms for facial recognition and the like, a programmer can add just a few lines of code to have a program access the appropriate library function. It also means a programmer does not need to master every aspect of computer vision to build a program that uses it.

In addition to the core video and image processing functionality, OpenCV contains secondary modules intended to support other areas of an application. One of these modules includes machine learning algorithms that can analyze and predict visual patterns. The HighGUI module provides user interface elements as well as functions for storing and accessing video and image files.

The OpenCV library can be found at the heart of some vary ambitious projects. Along with an assortment of sensors, computer hardware, and custom tailored software, it powered a heavily modified sport utility vehicle that navigated a 132 mile (212 km) desert race course without human intervention. Not all projects that rely on the library’s resources are so practical, however. Some members of the creative coding movement, a loose confederacy of people who view programming as a form of expression, have used the library to create new forms of digital art. Others have hacked existing devices containing cameras and opened up new possibilities for gaming, interactive computing, and even telepresence.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}