I need to use cv::FindContours() in a program and I have to know the algorithm behind that.
What algorithm does openCV use to find contours?
How does it work?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you read the documentation it is mentioned this function implements the algorithm of:
OpenCV is open source if you want to see how this is implemented just need to read the code:
https://github.com/opencv/opencv/blob/master/modules/imgproc/src/contours.cpp#L1655
The paper is available here.