March 2018
Beginner to intermediate
306 pages
9h 54m
English
Contours are extracted using the OpenCV function cv2.findContours. It supports different contour extraction modes:
Also, you can specify whether contour compression is required (use cv2.CHAIN_APPROX_SIMPLE for collapsing vertical and horizontal parts of contours into their respective end points) or not (cv2.CHAIN_APPROX_NONE).
The function returns a tuple of three elements, ...
Read now
Unlock full access