Document image orientation assessment and correction
First Claim
1. A method for determining a proper orientation of a static image of a document consisting of a plurality of pixels within a viewfinder of an image capturing device controlled by a processor, comprising:
- a. acquiring on the device the static image of the document consisting of a plurality of pixels;
b. locating a specified subregion of the image;
c. selecting a specified set of known characters of a defined font, each said known character comprising a single set of contiguous character defining pixels of known relative location and known luminosity or luminosity range;
d. determining a luminosity or luminosity range of a plurality of pixels within the subregion;
e. creating a matrix of the locations of pixels that are within said subregion;
f. selecting a first specified luminosity or luminosity range;
g. identifying the locations of pixels within said subregion that are of said first specified luminosity;
h. assigning in said matrix a unique label to each location of a pixel with said first specified luminosity;
i. merging the labels assigned to pixel locations to a common distinctive label group if said pixel locations in said matrix are 8-connected;
j. selecting a second specified luminosity or luminosity range, wherein said second specified luminosity or luminosity range may be the same as or different from said first specified luminosity or luminosity range;
k. for each pixel location within each said distinctive label group, determining the luminosity or luminosity range of the character defining pixel at the similar relative pixel location within each set of character defining pixels;
l. for each pixel location within each said distinctive label group and for each set of character defining pixels, determining whether each said pixel location matches the similar relative pixel location of a character defining pixel of the second specified luminosity or luminosity range within each set of character defining pixels;
m. determining a number of said matches for each distinctive label group and each known character;
n. identifying each distinctive label group with said matches in excess of a second threshold number as a known character;
o. calculating a number of known characters in the subregion;
p. determining proper orientation of the static image of the document if the number of known characters in the subregion exceeds a first threshold number; and
q. concluding that the orientation of the static image of the document has not been determined if the number of known characters in the subregion does not exceed the first threshold number.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to methods and systems for automated processing of document images using mobile and desktop communications devices. Systems and methods are provided for expediting analysis of the accuracy and quality of captured images by such devices before transmission to a server for processing. The processes use on-device software to provide immediate feedback to the user as to whether the quality of the document photograph is sufficient for processing, without the need for intermediate communication with a server. The processes utilize component labeling, MICR character recognition methods, automatic image rotation, and weighted image scaling. The invention increases speed of processing, reduces rates of rejection, increases processor efficiency, limits memory use, identifies images with likely errors, and provides the opportunity for correction of errors at the earliest possible time.
26 Citations
6 Claims
-
1. A method for determining a proper orientation of a static image of a document consisting of a plurality of pixels within a viewfinder of an image capturing device controlled by a processor, comprising:
-
a. acquiring on the device the static image of the document consisting of a plurality of pixels; b. locating a specified subregion of the image; c. selecting a specified set of known characters of a defined font, each said known character comprising a single set of contiguous character defining pixels of known relative location and known luminosity or luminosity range; d. determining a luminosity or luminosity range of a plurality of pixels within the subregion; e. creating a matrix of the locations of pixels that are within said subregion; f. selecting a first specified luminosity or luminosity range; g. identifying the locations of pixels within said subregion that are of said first specified luminosity; h. assigning in said matrix a unique label to each location of a pixel with said first specified luminosity; i. merging the labels assigned to pixel locations to a common distinctive label group if said pixel locations in said matrix are 8-connected; j. selecting a second specified luminosity or luminosity range, wherein said second specified luminosity or luminosity range may be the same as or different from said first specified luminosity or luminosity range; k. for each pixel location within each said distinctive label group, determining the luminosity or luminosity range of the character defining pixel at the similar relative pixel location within each set of character defining pixels; l. for each pixel location within each said distinctive label group and for each set of character defining pixels, determining whether each said pixel location matches the similar relative pixel location of a character defining pixel of the second specified luminosity or luminosity range within each set of character defining pixels; m. determining a number of said matches for each distinctive label group and each known character; n. identifying each distinctive label group with said matches in excess of a second threshold number as a known character; o. calculating a number of known characters in the subregion; p. determining proper orientation of the static image of the document if the number of known characters in the subregion exceeds a first threshold number; and q. concluding that the orientation of the static image of the document has not been determined if the number of known characters in the subregion does not exceed the first threshold number. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification