LSD: a Line Segment Detector
Please cite the reference article if you publish results obtained with this online demo.

The image was converted to gray level values.

Run the algorithm:

Or you can run it after selecting a subimage by clicking two opposite corners of the subimage.