Contour detection and box-drawing
Removing some of original sample