The shape of an object can also be utilized as a global feature to detect an object with a distinct shape. This shape can be a straight line, polygons, circles, or any other irregular shapes. Object boundaries, edges, and contours can be utilized to detect an object with a particular shape. In this section, we will use the Canny edge detection algorithm and Hough transform to detect two regular shapes, which are a line and a circle.
Object detection and tracking based on shape
Canny edge detection
In the last chapter, we saw various high pass filters, which can be used as edge detectors. In this section, the Canny edge detection algorithm, which combines Gaussian filtering, gradient finding, non-maximum suppression, and hysteresis...