×

On-device artificial intelligence systems and methods for document auto-rotation

  • US 10,616,443 B1
  • Filed: 02/11/2019
  • Issued: 04/07/2020
  • Est. Priority Date: 02/11/2019
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • converting, by an auto-rotation module on a user device, a document image to a monochrome image having black and white pixels;

    segmenting, by the auto-rotation module, the monochrome image into bounding boxes, the segmenting including generating a bounding box defining a connected segment of black pixels in the monochrome image;

    determining, by the auto-rotation module, textual snippets from the bounding boxes;

    preparing, by the auto-rotation module, the textual snippets for input to a single-layer neural network;

    processing the textual snippets by the auto-rotation module using the single-layer neural network, wherein the single-layer neural network is trained to recognize a correct orientation of each textual snippet and output a set of results for the each textual snippet, each result of the set of results indicating a probability of a degree of rotation needed to achieve the correct orientation of the each textual snippet;

    examining, by the auto-rotation module, results from the processing, the examining comprising comparing the probability with a threshold;

    determining, by the auto-rotation module based on a majority of the results from the examining, a correct orientation of the document image, the majority of the results indicating a degree of rotation needed to achieve the correct orientation of the document image; and

    automatically rotating, by the auto-rotation module, the document image by the degree of rotation to achieve the correct orientation of the document image.

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