Automatic capturing of documents having preliminarily specified geometric proportions
AssigneeABBYY Development LLC
InventorsKonstantin Bocharov, Vasily Loginov, Lokov Lyubimov, Ivan Zagaynov
Life of this patent
Estimating the term…
Abstract
Methods, devices, and systems for capturing documents are provided. A frame in a viewfinder is selected and is converted into a binary version. Segmentation of the binarized version of the frame is performed using computed horizontal and vertical histograms. At least one document is identified in the selected frame. The at least one document is captured upon determining that values of the one or more parameters associated with the document match predetermined values of corresponding one or more parameters.
Claims32
A method for automatically capturing of an electronic image of documents based on results of a preliminary analysis of a current view in a viewfinder, the method comprising:
- selecting a frame in the viewfinder;
- converting the frame into a binary version of the frame;
- computing a horizontal histogram of distribution of pixels along horizontal direction of the binarized version of the frame;
- computing a vertical histogram of distribution of pixels along vertical direction of the binarized version of the frame;
- performing segmentation of the binarized version of the frame using the horizontal histogram and the vertical histogram resulting in one or more horizontal and vertical segments, wherein each of the one or more horizontal and vertical segments corresponds to one document included in the frame;
- identifying at least one document in the selected frame, wherein one or more parameters are associated with the at least one document;
- comparing values of one or more parameters associated with the at least one identified document with predetermined values for the one or more parameters;
- and
- capturing the at least one document upon determining that values of the one or more parameters associated with the document match predetermined values corresponding to the one or parameters.
A system comprising:
- one or more data processors;
- and
- one or more storage devices storing instructions that, when executed by the one or more data processors, cause the one or more data processors to perform operations comprising:
- selecting a frame in a viewfinder;
- converting the frame into a binary version of the frame;
- computing a horizontal histogram of distribution of pixels along horizontal direction of the binarized version of the frame;
- computing a vertical histogram of distribution of pixels along vertical direction of the binarized version of the frame;
- performing segmentation of the binarized version of the frame using the horizontal histogram and the vertical histogram resulting in one or more horizontal and vertical segments, wherein each of the one or more horizontal and vertical segments corresponds to one document included in the frame;
- identifying at least one document in the selected frame, wherein one or more parameters are associated with the at least one document;
- comparing values of one or more parameters associated with the at least one identified document with predetermined values for the one or more parameters;
- and
- capturing the at least one document upon determining that values of the one or more parameters associated with the document match predetermined values corresponding to the one or parameters.
A non-transitory computer-readable storage medium having machine instructions stored therein, the instructions being executable by a processor to cause the processor to perform operations comprising:
- selecting a frame in a viewfinder;
- converting the frame into a binary version of the frame;
- computing a horizontal histogram of distribution of pixels along horizontal direction of the binarized version of the frame;
- computing a vertical histogram of distribution of pixels along vertical direction of the binarized version of the frame;
- performing segmentation of the binarized version of the frame using the horizontal histogram and the vertical histogram resulting in one or more horizontal and vertical segments, wherein each of the one or more horizontal and vertical segments corresponds to one document included in the frame;
- identifying at least one document in the selected frame, wherein one or more parameters are associated with the at least one document;
- comparing values of one or more parameters associated with the at least one identified document with predetermined values for the one or more parameters;
- and
- capturing the at least one document upon determining that values of the one or more parameters associated with the document match predetermined values corresponding to the one or parameters.
Dependencies are inferred from the claim text.