×

Out-of bounds detection of a document in a live camera feed

  • US 10,171,695 B1
  • Filed: 06/14/2017
  • Issued: 01/01/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:

  • segmenting a first digital image of a document into pixels associated with a foreground of the first digital image and pixels associated with a background of the first digital image to produce a segmented first digital image;

    detecting a plurality of contours in the segmented first digital image;

    deciding, for each respective contour of the plurality of contours, whether the respective contour is an open contour or a closed contour;

    creating a bounding rectangle for each respective contour of the plurality of contours;

    computing an area of the bounding rectangle for each respective contour of the plurality of contours to identity a largest bounding rectangle;

    determining that a side of a plurality of sides of the document is out-of-bounds based on whether the largest bounding rectangle bounds a respective contour of the plurality of contours that is an open contour;

    informing a user that the document is out-of-bounds;

    informing the user of which particular side of the plurality of sides of the document is out-of-bounds; and

    directing the user to capture at least one additional image of the document.

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