Learn Before
Concept
Contour Maps
Contour maps are a tool that can be used to reduce an image to a set of lines where we can use pattern recognition to identify common features. This is used when identifying specific features in people's eyes or on a persons face.
Contours are the curves that join all the continuous points on the image. We usually use binary image when working with contours. To turn something to binary, we just use the cvtColor method and convert it to grayscale.
This is very useful for shape analysis as well. You can download the openCV logo and try the following code example out on that image. It will outline the edges of all 9 shapes.
0
1
Updated 2021-07-24
Tags
Python Programming Language
Data Science