Ask Your Question

yannb's profile - activity

2016-10-08 03:10:59 -0600 commented answer How to select the contour bounding a point (mouse event)

Thank you !

2016-10-08 03:10:13 -0600 received badge  Scholar (source)
2016-10-08 03:10:11 -0600 received badge  Supporter (source)
2016-10-07 22:00:58 -0600 asked a question How to select the contour bounding a point (mouse event)

Hello everyone.

I am working with OpenCV and I need to do the following :

I have a contours vector, built with cv::findContours. I need to click the picture, select the first contour bounding the click-point, and draw it on the picture.

But I don't know a good way to select in the contours vector the first contour bounding a point. Could you help me on this, please ?