- What function should you use if you want to detect contours in a binary image?
- What four flags does OpenCV provide for compressing contours?
- What function does OpenCV provide to compute image moments?
- What moment provides the size of the contour?
- What function does OpenCV provide to calculate the seven Hu moment invariants?
- What function should you use if you want to get a contour approximation of a given contour?
- The extreme_points() function defined in the contour_functionality.py script can be rewritten in a more compact way as explained in this chapter. Therefore, rewrite it accordingly.
- What function should you use if you want to match contours using Hu moment invariants as features?