I'm trying to detect the monospaced-grid in a possibly slightly deformed image of a receipt. Example input (full size here)
My idea is to obtain the centroids or bounding boxes of all components and do a kind of Hough transform on these points, but I wouldn't know how to do this in Mathematica.
The output could have different formats, but should look something like this.
In this particular example, equi-spaced lines horizontally and vertically are enough, but It would be a pro if the algorithm can also handle a little perspective distortion.