Load an image and find the main edges.
A possible solution:
A more difficult exercise can be identifying the separation lines between the tiles of the floor in the following images:
Also, the separating lines between the faces of a Rubik's cube may be difficult to be identified:
A possible solution: