Implement detect contour and lines.