Category: Introduction to OpenCV

Introduction to OpenCV

Image Convolutions in OpenCV

Image Convolutions in OpenCV

Convolution is a mathematical operation on two functions f and g. The function f and g in this case are images, since an image is also a two dimensional function. Performing Convolution In order...

Install OpenCV in Windows for Python

Install OpenCV in Windows for Python

Step 1 Pr-requisites Python Numpy Matplotlib Download latest OpenCV release from sourceforge site and double-click to extract it. Step 2 Goto <your opencv extracted directory> like in my case it is E:\opencv\build\python\2.7\x86 folder (32...

Template matching

Template matching

Template matching is a technique in digital image processing for finding small parts of an image which match a template image. It can be used in manufacturing as a part of quality control, a...

Canny Edge Detector in Videos

Canny Edge Detector in Videos

cvCanny Implements the Canny algorithm for edge detection. Parameters of functions are as : edges Single-channel image to store the edges found by the function. threshold1 The first threshold. threshold2 The second threshold. aperture...

Input from Camera

Input from Camera

To input a live stream from a camera we have to call cvCreateCameraCapture(). The argument which is passed in this function is a camera ID number as its argument.   Of course, this is...

Canny edge detection in images

Canny edge detection in images

Edge detection is the foundation practice with Computer Vision. To detect edges OpenCV has cvCanny function. Syntax Parameters : edges Single-channel image to store the edges found by the function threshold1 The first threshold...

Smotthing Images

Smotthing Images

Smoothing Image effectively reduces the information content of the image by convolving it with a Gaussian or other similar kernel function. OpenCV makes such convolutions exceptionally easy to do. We use cvSmooth function which...

Adding progress bar on Videos

Adding progress bar on Videos

To create a slider, we call cvCreateTrackbar() and indicate which window we would like the trackbar to appear in. The cvCreateTrackbar() has the following syntax. trackbarName  Name of the created trackbar. windowName  Name of...

Installation in linux with Eclipse CDT

Installation in linux with Eclipse CDT

In this we will see how to install OpenCV in Linux with Eclipse CDT plugin. Step 1 : Download the OpenCV library from http://sourceforge.net/projects/opencvlibrary/files/ Step 2 : extract filed to local Directory. Say /Downloads...

Thresholding

Thresholding

Thresholding is an basic technique in which some objects are identified on image/videos with the help of colour values. Objects like A red can, green ball are easily identified with Thresholding on color values....