Multi-perpendicular line-based deskew with affine and perspective distortion correction
First Claim
Patent Images
1. A method of correcting alignment of an image, the method comprising:
- identifying an image of a document;
detecting a plurality of lines that appear within the image;
classifying at least a subset of the plurality of lines as horizontal lines or vertical lines;
determining that a variance exists within the subset of the plurality of lines, wherein the variance that exists within the subset of the plurality of the lines is between at least one horizontal line and at least one vertical line, and the variance comprises the intersection of the lines being at an angle other than perpendicular to each other; and
applying a corrective transformation to adjust the image, wherein 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.
11 Assignments
0 Petitions
Accused Products
Abstract
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.
11 Citations
9 Claims
-
1. A method of correcting alignment of an image, the method comprising:
-
identifying an image of a document; detecting a plurality of lines that appear within the image; classifying at least a subset of the plurality of lines as horizontal lines or vertical lines; determining that a variance exists within the subset of the plurality of lines, wherein the variance that exists within the subset of the plurality of the lines is between at least one horizontal line and at least one vertical line, and the variance comprises the intersection of the lines being at an angle other than perpendicular to each other; and applying a corrective transformation to adjust the image, wherein 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable medium having sets of instructions stored thereon, which when executed by a computer cause the computer to:
-
identify an image of a document; detect a plurality of lines that appear within the image; classify at least a subset of the plurality of lines as horizontal lines or vertical lines; determine that a variance exists within the subset of the plurality of lines, wherein the variance that exists within the subset of the plurality of the lines is between at least one horizontal line and at least one vertical line, and the variance comprises the intersection of the lines being at an angle other than perpendicular to each other; and apply a corrective transformation to adjust the image, wherein 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.
-
Specification