Getting coordinates from contours

contour_detect is now ready to be used as line detection algorithm!