cv::findContours finds more than one contour
I'm trying to find contours in an image, but the cv::findContours finds more than one contour.
cv::findContours(image.clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE);
And the result:
What I want to find:
How can I increase the precision of the cv::findContours in order to find what I want?
Thanks.
Apply Erosion or Morphology Transformations(opening) before findcontour and try again.