摘要 |
The present invention provides a method of correcting alignment of an image. The method includes identifying an image of a document, and detecting a plurality of lines within the image. The method also includes classifying at least a subset of the plurality of lines as either horizontal or vertical lines, and determining whether a variance exists within a subset of the plurality of lines. Furthermore, the method includes applying a corrective transformation to adjust the image, where the variance within the subset of the plurality of lines is at least partially reduced as compared to the variance prior to the application of the corrective transformation.
|