# US 2021/0279411 A1 · Visual data mapping

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

- Number: US 2021/0279411 A1
- Document ID: US20210279411A1
- Status: Published application
- Kind: A1
- Application number: 17/026,800
- Filed: 2020-09-21
- Published: 2021-09-09
- Earliest claimed: 2020-03-04
- Assignees: Interai, Inc.
- Applicants: Interai Inc.
- Inventors: Imri HECHT; Tomer SUAREZ
- Web page: https://patentgrep.com/patent/US20210279411A1

## CPC

- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/0483: Interaction with page-structured environments, e.g. book metaphor
- G06F 16/93: Document management systems
- G06F 40/174: Form filling; Merging
- G06Q 30/06: Buying, selling or leasing transactions
- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method comprising receiving an image of an electronic document comprising data fields and corresponding textual regions; processing said image to obtain (i) a collection of said data fields comprising an indication of a location and a field type, and (ii) an array of said textual regions comprising an indication of a location and a content; creating a mapping comprising associations of data fields in said collection with textual regions in said array based, at least in part, on analyzing a geometric relationship between each of said data fields and each of said textual regions; deriving at least one context rule for evaluating said associations, based, at least in part, on identifying a structure of said electronic document; and determining a correctness of at least one of said associations in said mapping, based, at least in part, on said at least one context rule.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a non-transitory computer-readable storage medium having stored thereon program code, the program instructions executable by the at least one hardware processor to:
receive a digital image of a form, wherein said form comprises a plurality of form fields and a corresponding plurality of labels,
analyze said digital image to associate each of said plurality of form fields and each of said plurality of labels with a form section within said form, based, at least in part, on a location of each of said plurality of form fields and each of said plurality of labels within said form, and
with respect to each of said form sections:
create a mapping between said associated form fields and labels, based, at least in part, on a geometric relationship between each of said associated form fields and one or more of said associated labels,
(ii) derive at least one context rule, based, at least in part, on detecting a structure of said form section, and
(iii) adjust said mapping based, at least in part, on said at least one context rule.

### Claim 2 (depends on 1)

The system of claim 1, wherein each of said form fields is at least one of a data entry field and a data display field, and wherein each of said labels is one of a descriptor, a label, a title, a tag, an annotation, a caption, and a comment.

### Claim 3 (depends on 1)

The system of claim 1, wherein said program instructions are further executable to identify said form sections based, at least in part, on a locational grouping of said form fields within said form into one or more groups of form fields.

### Claim 4 (depends on 3)

The system of claim 3, wherein said identifying is further based, at least in part, on detecting in said form one or more graphical elements selected from the group consisting of: boundaries, alignment guides, vertical edges, horizontal edges, gutters, boxes, white spaces, and text blocks.

### Claim 5 (depends on 1)

The system of claim 1, wherein said geometric relationship takes into account one or more of: relative positions of each of said form fields and each of said labels and alignment between each of said form fields and each of said labels.

### Claim 6 (depends on 1)

The system of claim 1, wherein said mapping comprises at least one of: a one-to-many mapping of a label to multiple form fields, a many-to-one association of multiple labels to a single form field, and a locational overlap between a label and a form field.

### Claim 7 (depends on 1)

The system of claim 1, wherein said structure of said form section comprises at least one of: a vertical ordering of said form fields and aid labels, a horizontal ordering of said form fields and said labels, a specified average distance between said form fields and said labels, and a tabular arrangement of said form fields and said labels.

### Claim 8 (depends on 1)

The system of claim 1, wherein said program instructions are further executable to:
access a set of data values and related descriptors, wherein said descriptors correspond, at least in part, to said labels in said form;
(ii) match at least some of said data values with said form fields in said collection, based on said correspondence;
(iii) derive at least one additional context rule based on analyzing said matches; and
(iv) further adjust said mapping, based, at least in part, on said at least one additional context rule.

### Claim 9

A method comprising:
receiving a digital image of a form, wherein said form comprises a plurality of form fields and a corresponding plurality of labels;
said digital image to associate each of said plurality of form fields and each of said plurality of labels with a form section within said form, based, at least in part, on a location of each of said plurality of form fields and each of said plurality of labels within said form; and
with respect to each of said form sections:
(i) create a mapping between said associated form fields and labels, based, at least in part, on a geometric relationship between each of said associated form fields and one or more of said associated labels,
(ii) derive at least one context rule, based, at least in part, on detecting a structure of said form section, and
(iii) adjust said mapping based, at least in part, on said at least one context rule.

### Claim 10 (depends on 1)

The method of claim 1, wherein each of said form fields is at least one of a data entry field and a data display field, and wherein each of said labels is one of a descriptor, a label, a title, a tag, an annotation, a caption, and a comment.

### Claim 11 (depends on 1)

The method of claim 1, wherein said program instructions are further executable to identify said form sections based, at least in part, on a locational grouping of said form fields within said form into one or more groups of form fields.

### Claim 12 (depends on 4)

The method of claim 4, wherein said identifying is further based, at least in part, on detecting in said form one or more graphical elements selected from the group consisting of: boundaries, alignment guides, vertical edges, horizontal edges, gutters, boxes, white spaces, and text blocks.

### Claim 13 (depends on 1)

The method of claim 1, wherein said geometric relationship takes into account one or more of: relative positions of each of said form fields and each of said labels and alignment between each of said form fields and each of said labels.

### Claim 14 (depends on 1)

The method of claim 1, wherein said mapping comprises at least one of: a one-to-many mapping of a label to multiple form fields, a many-to-one association of multiple labels to a single form field, and a locational overlap between a label and a form field.

### Claim 15 (depends on 1)

The method of claim 1, wherein said structure of said form section comprises at least one of: a vertical ordering of said form fields and aid labels, a horizontal ordering of said form fields and said labels, a specified average distance between said form fields and said labels, and a tabular arrangement of said form fields and said labels.

### Claim 16

A computer program product comprising a non-transitory computer-readable storage medium having program code embodied therewith, the program code executable by at least one hardware processor to:
receive a digital image of a form, wherein said form comprises a plurality of form fields and a corresponding plurality of labels;
said digital image to associate each of said plurality of form fields and each of said plurality of labels with a form section within said form, based, at least in part, on a location of each of said plurality of form fields and each of said plurality of labels within said form; and
with respect to each of said form sections:
(i) create a mapping between said associated form fields and labels, based, at least in part, on a geometric relationship between each of said associated form fields and one or more of said associated labels,
(ii) derive at least one context rule, based, at least in part, on detecting a structure of said form section, and
(iii) adjust said mapping based, at least in part, on said at least one context rule.

### Claim 17 (depends on 1)

The computer program product of claim 1, wherein each of said form fields is at least one of a data entry field and a data display field, and wherein each of said labels is one of a descriptor, a label, a title, a tag, an annotation, a caption, and a comment.

### Claim 18 (depends on 1)

The computer program product of claim 1, wherein said program instructions are further executable to identify said form sections based, at least in part, on a locational grouping of said form fields within said form into one or more groups of form fields.

### Claim 19 (depends on 1)

The computer program product of claim 1, wherein said geometric relationship takes into account one or more of: relative positions of each of said form fields and each of said labels and alignment between each of said form fields and each of said labels.

### Claim 20 (depends on 1)

The computer program product of claim 1, wherein said structure of said form section comprises at least one of: a vertical ordering of said form fields and aid labels, a horizontal ordering of said form fields and said labels, a specified average distance between said form fields and said labels, and a tabular arrangement of said form fields and said labels.
