Detects and draws lines where there are edges in an image