find lines in image