Patent ID: 9171359
Filing Date: 2015-10-27
Classification: G06K,H04N

Abstract:
1. A system for auto-correcting perspective distortion in document images, the system comprising: a processor-based application, which when executed on a computer, will cause the processor to: identify a plurality of line segments in a distorted document image; combine a second plurality of line segments to form a plurality of candidate lines; group a second plurality of candidate lines into a substantially horizontal group of lines; group a third plurality of candidate lines into a substantially vertical group of lines; calculate a first plurality of linear equations to fit the substantially horizontal group of lines; calculate a second plurality of linear equations to fit the substantially vertical group of lines; and transform the distorted document image based on a first two linear equations of the first plurality of linear equations associated with two substantially horizontal lines comprising a lowest substantially horizontal line and a highest substantially horizontal line of the substantially horizontal group of lines and a second two linear equations of the second plurality of linear equations associated with two substantially vertical lines comprising a leftmost substantially vertical line and a rightmost substantially vertical line of the substantially vertical group of lines.