Detecting contours and showing guideline is implemented.