Trying to extract the edge of Object(Example I have taken is Ginger here)
Image 1
I did blurring
and the adaptive threshold
to get this image below
Image 2
Then I did Canny Edge Extraction
Image 3
As I am interested in the edge of the object I need to use cv2.RETR_EXTERNAL
inside cv2.findContours
But External is not actually giving me the external contour here. I don't know what is going wrong here. May while going from Image 2
to Image 3
I might be losing the external edge as well.
Is there any other way in which I can extract the edge from Image 2
?