# US 2024/0005689 A1 · Efficient use of training data in data capture for Commercial Documents

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

- Number: US 2024/0005689 A1
- Document ID: US20240005689A1
- Status: Published application
- Kind: A1
- Application number: 17/855,225
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Inventors: David Pintsov
- Web page: https://patentgrep.com/patent/US20240005689A1

## CPC

- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06V 30/18143: {Extracting features based on salient regional features, e.g. scale invariant feature transform [SIFT] keypoints}
- G06V 30/19067: {Matching configurations of points or features, e.g. constellation matching}
- G06V 30/19147: {Obtaining sets of training patterns; Bootstrap methods, e.g. bagging or boosting}
- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An automated method for capturing data from electronic images of commercial documents such as invoices, bills of lading, explanations of benefits, etc. is described. An optimal mapping between the fields of interest in an image of a page of a document and the corresponding fields of a pre-trained image of a page of a similar document is defined. This mapping allows an automatic precise extraction of data from the fields of interest in an image regardless of distortions the image is subjected to in the process of scanning.

## Claims

### Claim 1

A method of automatic data capture from commercial documents such as invoices, with an input image and a training image originating from the same source, the values and locations of fields of interest are known for said training image and using a computer performing the steps of:
automatically obtaining the salient features of the training document image, said features consisting of words, their lengths, their constituent characters, and positions of geometric lines in the training document image, said lines being horizontal and vertical;
automatically obtaining said features in the input document image;
calculating the optimal correspondence between lines in the training image and the input image, said lines being horizontal and vertical;
defining and calculating distances between horizontal and vertical lines and fields of interest in the training image and using these distances to calculate the positions of the fields of interest in the input image;
defining and calculating combinations of geometric and string distances between words of the training image and the input image;
automatically mapping the words and fields of the training image into words and fields of the input image, providing an optimal assignment of these words and fields;
automatically capturing the words of interest in input images;
and automatically capturing the single word fields of interest in the input image.

### Claim 2 (depends on 1)

A method according to claim 1 of automatic data capture for multi-word fields according to which the coordinates of multi-word fields in an image are calculated using computer performing the steps of:
Computing the coordinates of single word fields in the image by using corresponding coordinates of the single word fields in the training image;
Computing the displacement of the input image relative to the training image;
Applying said displacement to the coordinates of multi-word fields in the training image to obtain the coordinates of the multi-word fields in the input image.

### Claim 3

(canceled)
