×

Method and system for auto-correcting perspective distortion in document images

  • US 9,171,359 B1
  • Filed: 09/11/2013
  • Issued: 10/27/2015
  • Est. Priority Date: 09/11/2013
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×