I have a code for finding the contours in image with OpenCV. But my code doesn\'t work when it\'s based on a messy image.
this is my image: