×

Detecting long documents in a live camera feed

  • US 10,257,375 B2
  • Filed: 06/14/2017
  • Issued: 04/09/2019
  • Est. Priority Date: 06/14/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for processing digital images of a document, comprising:

  • obtaining a first digital image of a document from a user;

    determining a document type of the document in the first digital image based on a textual content of the document;

    determining a font size of text in the document in the first digital image;

    determining that at least one part of the document in the first digital image is out of bounds of the first digital image based on;

    a bounding rectangle with a largest area corresponding to an open contour; and

    the bounding rectangle with the largest area touching one or more edges of the first digital image;

    comparing the font size of text in the document with a font size range of the determined document type;

    determining, based on the comparison and the determination that the at least one part of the document is out of bounds of the first digital image, that the document in the first digital image is a long document;

    generating, based on the determination that the document in the first digital image is a long document, an alert for the user to capture a set of digital images of the document, wherein each digital image of the set of digital images of the document is of a different portion of the document;

    obtaining the set of digital images of the document from the user;

    generating a second digital image of the document based on the obtained set of digital images; and

    performing OCR on the second digital image of the document.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×