Reputation:
I am trying to figure out of drawing circles at the BENDING points of a convex hull. Using the sample from OpenCV documentation for convex hull , I have a convex hull. But I am not really sure on how to draw the circles at the points where the finger tips are which basically are the bending points for the convex hull.
I hope someone can guide me through this.
Thanks for the help
Upvotes: 0
Views: 696
Reputation: 20643
Your convex hull contains points of finger tips. You can find those points by approximating with a simpler shape. You can do that with cv::approxPolyDP. After that, draw circle on the points with cvCircle, or cv::Circle.
Upvotes: 1