# US 8,538,170 B2 · System and method for document location and recognition

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,538,170 B2
- Document ID: US8538170B2
- Status: Granted
- Kind: B2
- Application number: 13/753,311
- Filed: 2013-01-29
- Published: 2013-06-06
- Granted: 2013-09-17
- Earliest claimed: 2009-09-24
- Assignees: GTECH Corporation
- Applicants: Frank J. Metayer
- Inventors: Frank J. Metayer
- Web page: https://patentgrep.com/patent/US8538170B2

## CPC

- G06V 30/40: Document-oriented image-based pattern recognition
- G06V 10/245: {by locating a pattern; Special marks for positioning}
- G06V 30/418: Document matching, e.g. of document images
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Templates of known forms are stored in computer system. The templates are digitized pixels on which connected component analyses are performed resulting in a first list of components. Five to ten of those components are selected to create an ordered feature list for each form. The computer system then captures an optical image of a form positioned on the top of a stack of forms. The optical image is digitized and stored in the computer (or processor) system as a captured digital image of pixels. A connected component analysis is performed on the captured digital image that results in a second list of image components. Image components on the second list are compared to those on the first list and then each succeeding feature in one of the ordered feature lists. If the comparison is successful, the form is known and other marks on the form may then be processed. If the comparison is unsuccessful, a new feature list is tried.

## Claims

### Claim 1

A process executed in a computer or processor for associating a form type with a form lying atop a stack of forms, the process comprising the steps of:
receiving a digital image of the top of the stack of forms, the digital image comprising a plurality of pixels;
detecting image components from the plurality of pixels;
matching a plurality of the detected image components to a plurality of features associated with a first form type;
determining a quality number by iteratively comparing pairs of the plurality of matched image components;
wherein the quality number is a maximum peak to peak excursion of a plurality of correction scale factors divided by a final correction scale factor of the plurality of correction scale factors; and
determining a form type based on the quality number.

### Claim 2 (depends on 1)

The process of claim 1, wherein matching a plurality of the detected image components to a plurality of features associated with a form type comprises:
measuring the distance between at least one detected image component that is matched to a feature to another detected image component.

### Claim 3 (depends on 2)

The process of claim 2, wherein matching a plurality of the detected image components to a plurality of features associated with a form type comprises:
calculating a correction scale factor based on a ratio of:
a first distance from a first detected component to a second detected component, and
a second distance of the second detected component to a third detected component.

### Claim 4 (depends on 3)

The process of claim 3, wherein determining a quality number by iteratively comparing pairs of the plurality of matched image components, comprises determining the quality number by comparing at least two correction scale factors.

### Claim 5 (depends on 1)

The process of claim 1, wherein determining a form type based on the quality number comprises determining that the quality number is smaller than each of a plurality of other quality numbers, the plurality of other quality numbers determined based on features associated with a plurality of form types different from the first form type.

### Claim 6 (depends on 1)

The process of claim 1 further comprising processing any man-made marks in the digital image based on the determined form type.

### Claim 7

A non-transitory computer readable medium comprising instructions configured to cause a computer processor to:
receive a digital image of the top of the stack of forms, the digital image comprising a plurality of pixels;
detect image components from the plurality of pixels;
match a plurality of the detected image components to a plurality of features associated with a first form type;
determine a quality number by iteratively comparing pairs of the plurality of matched image components;
wherein the quality number is a maximum peak to peak excursion of a plurality of correction scale factors divided by a final correction scale factor of the plurality of correction scale factors; and
determine a form type based on the quality number.

### Claim 8 (depends on 7)

The non-transitory computer readable medium of claim 7, wherein to match a plurality of the detected image components to a plurality of features associated with a form type comprises:
measuring the distance between at least one detected image component which is matched to a feature to another detected image component.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein to match a plurality of the detected image components to a plurality of features associated with a form type comprises:
calculating a correction scale factor based on a ratio of:
a first distance from a first detected component to a second detected component; and
a second distance of the second detected component to a third detected component.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein to determine a quality number by iteratively comparing pairs of the plurality of matched image components, comprises determining the quality number by comparing at least two correction scale factors.

### Claim 11 (depends on 7)

The non-transitory computer readable medium of claim 7, wherein to determine a form type based on the quality number comprises determining that the quality number is smaller than each of a plurality of other quality numbers, the plurality of other quality numbers determined based on features associated with a plurality of form types different from the first form type.

### Claim 12 (depends on 7)

The non-transitory computer readable medium of claim 7, comprising instructions configured to cause a computer processor to: process any man-made marks in the digital image based on the determined form type.

### Claim 13

A computer apparatus for distinguishing a form lying atop a stack of forms, the apparatus comprising:
a digital image of the top of the stack of forms, wherein the digital image is stored in a memory;
a plurality of templates stored in a memory, each template associated with a distinct form type, each template comprising a plurality of features;
a computer processor configured to:
detect image components from the digital image;
match a plurality of the detected image components to the plurality of features associated with one of the templates;
determine a quality number by iteratively comparing pairs of the plurality of matched image components;
wherein the quality number is a maximum peak to peak excursion of a plurality of correction scale factors divided by a final correction scale factor of the plurality of correction scale factors; and
determine a form type based on the quality number.

### Claim 14 (depends on 13)

The computer apparatus of claim 13, wherein to match a plurality of the detected image components to the plurality of features associated with one of the templates comprises:
measuring the distance between at least one detected image component which is matched to a feature to another detected image component.

### Claim 15 (depends on 14)

The computer apparatus of claim 14, wherein to match a plurality of the detected image components to the plurality of features associated with one of the templates comprises:
calculating a correction scale factor based on a ratio of:
a first distance from a first detected component to a second detected component, and
a second distance of the second detected component to a third detected component.

### Claim 16 (depends on 15)

The computer apparatus of claim 15, wherein to determine a quality number by iteratively comparing pairs of the plurality of matched image components, comprises determining the quality number by comparing at least two correction scale factors.

### Claim 17 (depends on 13)

The computer apparatus of claim 13, wherein to determine a form type based on the quality number comprises determining that the quality number is smaller than each of a plurality of other quality numbers, the plurality of other quality numbers determined based on features associated with a plurality of form types different from the first form type.

### Claim 18 (depends on 13)

The computer apparatus of claim 13, wherein the computer processor is further configured to: process any man-made marks in the digital image based on the determined form type.
