1 | initial version |
Lookup the convexity defects functions.
You can find it here: https://docs.opencv.org/4.1.1/d3/dc0/group__imgproc__shape.html#gada4437098113fd8683c932e0567f47ba
In theory, this function would give you a bunch of segments that have 0 distance from the convex hull.