September 2015
Intermediate to advanced
266 pages
5h 38m
English
Most of the time, when working with contours, subjects will have the most diverse shapes, including convex ones. A convex shape is one where there are two points within this shape whose connecting line goes outside the perimeter of the shape itself.
The first facility that OpenCV offers to calculate the approximate bounding polygon of a shape is cv2.approxPolyDP. This function takes three parameters:
The epsilon value is of vital ...
Read now
Unlock full access