In this tutorial, you will be introduced to the basic functions and usages of the OpenCV library. All the tutorials consist of OpenCV C++ example programs in order to make you understand and try it on your computer easily. Before starting this tutorial, let me give you a brief introduction to image processing and computer vision for which OpenCV was build.
Image processing is the process of manipulating pixel data in order to make it suitable for computer vision applications or to make it suitable to present it to humans. For example, changing brightness or contrast is a image processing task which make the image visually pleasing for humans or suitable for further processing for a certain computer vision application.
Computer vision which go beyond image processing, helps to obtain relevant information from images and make decisions based on that information. In other words, computer vision is making the computer see as humans do. Basic steps for a typical computer vision application as follows.
- Image acquisition
- Image manipulation
- Obtaining relevant information
- Decision making
What is OpenCV ?
OpenCV Logo |
OpenCV is an open source C++ library for image processing and computer vision, originally developed by Intel, later supported by Willow Garage and and is now maintained by Itseez. It is free for both commercial and non-commercial use. Therefore you can use the OpenCV library even for your commercial applications. It is a library mainly aimed at real time processing. Now it has several hundreds of inbuilt functions which implement image processing and computer vision algorithms which make developing advanced computer vision applications easy and efficient.
Key Features
- Optimized for real time image processing & computer vision applications
- Primary interface of OpenCV is in C++
- There are also C, Python and JAVA full interfaces
- OpenCV applications run on Windows, Android, Linux, Mac and iOS
- Optimized for Intel processors
Tutorials
Here is the entire list of tutorials which will walk you through the basics of OpenCV with simple example programs.
- Install OpenCV with Visual Studio
- OpenCV C++ API
- Load & Display Image
- Play Video from File or Camera
- Save Images & Videos to File
- Change Brightness of Images and Videos
- Change Contrast of Images and Videos
- Histogram Equalization
- Filter Images and Videos
- Morphological Operations
- How to Add Trackbar
- How to Detect Mouse Clicks and Moves
- Rotate Image & Video
- Color Detection & Object Tracking
- Shape Detection & Tracking using Contours