FindLines

Segments the image into rectangles. For each rectangle, if the total number of black pixels in the rectangle are above a certain threshold it is added to the start of a line. It continues scanning and adds any adjacent blocks to the line if their area is above the threshold. For the resulting lines, any that have length above a threshold are added to the list of lines.

David Goodwin 2008-10-21