# US 2025/0157241 A1 · Systems and methods for serializing data extracted from data objects

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

- Number: US 2025/0157241 A1
- Document ID: US20250157241A1
- Status: Published application
- Kind: A1
- Application number: 18/508,412
- Filed: 2023-11-14
- Published: 2025-05-15
- Earliest claimed: 2023-11-14
- Assignees: Optum, Inc.
- Applicants: Optum, Inc.
- Inventors: Saumajit SAHA; Prakhar MISHRA; Atul SINGH; Kunal SURI
- Web page: https://patentgrep.com/patent/US20250157241A1

## CPC

- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06F 16/35: Clustering; Classification
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are systems and methods for detecting a table from a document, classifying each cell of the table as one of: a value cell, a row header cell, or a column header cell, and performing a bounding box elongation operation to match each cell that is classified as a value cell to a first corresponding cell that is identified as a row header cell and a second corresponding cell that is identified as a column header cell. For each cell classified as a value cell, a data tuple is generated comprising a row header element, a column header element, and a value element, wherein the row header element corresponds to a first value in the first corresponding cell, the column header element corresponds to a second value in the second corresponding cell, and the value element corresponds to a third value in the value cell.

## Claims

### Claim 1

A computer-implemented method for extracting tabular data from a document comprising:
detecting, by one or more processors, a table from the document;
extracting, by the one or more processors, information about the table from the document;
identifying, by the one or more processors, cells within the table, each cell comprising a bounding box;
classifying, by the one or more processors, each cell as one of: a value cell, a row header cell, or a column header cell;
performing, by the one or more processors, a bounding box elongation operation to match each cell that is classified as a value cell to a first corresponding cell that is identified as a row header cell and a second corresponding cell that is identified as a column header cell;
for each cell classified as a value cell, generating, by the one or more processors, a data tuple comprising a row header element, a column header element, and a value element, wherein the row header element corresponds to a first value in the first corresponding cell, the column header element corresponds to a second value in the second corresponding cell, and the value element corresponds to a third value in the value cell; and
storing, by the one or more processors, the data tuple for each cell classified as a value cell in a database.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the bounding box elongation operation comprises:
determining top, bottom, left, and right edges of the bounding box for the cell classified as a value cell;
extending the left edge of the bounding box of the cell classified as a value cell until it overlaps with a row header cell; and
extending the top edge of the bounding box of the value cell until it overlaps with a column header cell.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the bounding box elongation operation comprises:
extending the bounding box for the cell classified as a value cell horizontally to form a horizontally elongated bounding box for the cell classified as a value cell; and
extending the bounding box for the cell classified as a value cell vertically to form a vertically elongated bounding box for the cell classified as a value cell.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein an R-tree data structure is used to match each cell that is classified as a value cell to the first corresponding cell and the second corresponding cell.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the first corresponding cell is determined by an intersection with the horizontally elongated bounding box, and the second corresponding cell is determined by an intersection with the vertically elongated bounding box.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the bounding box elongation operation comprises identifying vertical lines and horizontal lines in the table.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the bounding box elongation operation comprises identifying gaps between columns.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein a number of data tuples generated is equal to a number of value cells identified in the table.

### Claim 9

A system for extracting tabular data from a document, the system comprising:
at least one memory storing instructions; and
at least one processor executing the instructions to perform operations including:
detecting a table from a document;
extracting information about the table from the document;
identifying cells within the table, each cell comprising a bounding box;
classifying each cell as one of: a value cell, a row header cell, or a column header cell;
performing a bounding box elongation operation to match each cell that is classified as a value cell to a first corresponding cell that is identified as a row header cell and a second corresponding cell that is identified as a column header cell;
for each cell classified as a value cell, generating a data tuple comprising three elements: a row header element, a column header element, and a value element; wherein the row header element corresponds to a first value in the first corresponding cell, the column header element corresponds to a second value in the second corresponding cell, and the value element corresponds to a third value in the value cell; and
storing the data tuple for each cell classified as a value cell in a database.

### Claim 10 (depends on 9)

The system of claim 9, wherein the bounding box elongation operation comprises:
determining top, bottom, left, and right edges of the bounding box for the cell classified as a value cell;
extending the left edge of the bounding box of the cell classified as a value cell until it overlaps with a row header cell; and
extending the top edge of the bounding box of the value cell until it overlaps with a column header cell.

### Claim 11 (depends on 9)

The system of claim 9, wherein the bounding box elongation operation comprises:
extending the bounding box for the cell classified as a value cell horizontally to form a horizontally elongated bounding box for the cell classified as a value cell; and
extending the bounding box for the cell classified as a value cell vertically to form a vertically elongated bounding box for the cell classified as a value cell.

### Claim 12 (depends on 9)

The system of claim 9 wherein an R-tree data structure is used to match each cell that is classified as a value cell to the first corresponding cell and the second corresponding cell.

### Claim 13 (depends on 11)

The system of claim 11, wherein the first corresponding cell is determined by an intersection with the horizontally elongated bounding box, and the second corresponding cell is determined by an intersection with the vertically elongated bounding box.

### Claim 14 (depends on 9)

The system of claim 9, wherein the bounding box elongation operation comprises identifying vertical lines and horizontal lines in the table.

### Claim 15 (depends on 9)

The system of claim 9, wherein the bounding box elongation operation comprises identifying gaps between columns.

### Claim 16 (depends on 9)

The system of claim 9, wherein a number of data tuples generated is equal to a number of value cells identified in the table.

### Claim 17

A non-transitory computer readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
detecting a table from a document;
extracting information about the table from the document;
identifying cells within the table, each cell comprising a bounding box;
classifying each cell as one of: a value cell, a row header cell, or a column header cell;
performing a bounding box elongation operation to match each cell that is classified as a value cell to a first corresponding cell that is identified as a row header cell and a second corresponding cell that is identified as a column header cell;
for each cell classified as a value cell, generating a data tuple comprising three elements: a row header element, a column header element, and a value element; wherein the row header element corresponds to a first value in the first corresponding cell, the column header element corresponds to a second value in the second corresponding cell, and the value element corresponds to a third value in the value cell; and
storing the data tuple for each cell classified as a value cell in a database.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the bounding box elongation operation comprises:
determining top, bottom, left, and right edges of the bounding box for the cell classified as a value cell;
extending the left edge of the bounding box of the cell classified as a value cell until it overlaps with a row header cell; and
extending the top edge of the bounding box of the value cell until it overlaps with a column header cell.

### Claim 19 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the bounding box elongation operation comprises:
extending the bounding box for the cell classified as a value cell horizontally to form a horizontally elongated bounding box for the cell classified as a value cell; and
extending the bounding box for the cell classified as a value cell vertically to form a vertically elongated bounding box for the cell classified as a value cell.

### Claim 20 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein an R-tree data structure is used to match each cell that is classified as a value cell to the first corresponding cell and the second corresponding cell.
