user349026
user349026

Reputation:

Drawing circles at BENDING points of convex hull

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

ConvexHull Image Original

Upvotes: 0

Views: 696

Answers (1)

Tae-Sung Shin
Tae-Sung Shin

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

Related Questions