Test scripts showing the various functionalities in OpenCV .
- OpenCV opens an image in the BGR format. So it is important to convert it into RGB format to make it compatible with other libraries.
- Script to open an image using OpenCV and find the various image dimensions and properties.
- Script to capture a video stream from the webcam and perform some image processing operation on it.
- OpenCV has the functionality to change the color space of the image into the Gray, HSV , YUV ,YCrCb etc. Changing color spaces is helpful specially when the Image processing logic uses some kind of color segmentation or blob detection.
-
Difference of Gaussian (DoG) involves finding the difference of one blurred version of an original image from another, less blurred version of the original . DoG method can be used for edge detection.
-
When using DoG method change the kernal size of the two gaussian blurs to check which gives the best edge for a given image.
-
Circle finder makes use of the Hough Circle Transform algorithm to find circles in the images.
-
Set the parameters of minimum radius and maximum radius to find circle of different sizes.