Original image
Drawn contour
Recovered shape