# US 2026/0228414 A1 · Table extraction method, electronic device, and medium

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

- Number: US 2026/0228414 A1
- Document ID: US20260228414A1
- Status: Published application
- Kind: A1
- Application number: 19/150,859
- Filed: 2023-11-08
- Published: 2026-08-06
- Earliest claimed: 2023-04-21
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Yiyan Ding; Liwei Huang; Chaojin Xu; Kun Zhao
- Web page: https://patentgrep.com/patent/US20260228414A1

## CPC

- G06F 40/106: Display of layout of documents; Previewing
- G06F 40/18: of spreadsheets (form-filling G06F40/174)
- G06F 40/174: Form filling; Merging
- G06F 40/177: of tables; using ruled lines
- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06V 30/413: Classification of content, e.g. text, photographs or tables
- 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)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

This application discloses a table extraction method, an electronic device, and a medium, and relates to the field of computer technologies. The method includes: displaying a table box selection interface, where the table box selection interface includes an extraction control, a table image, and a plurality of pre-selection boxes, and the plurality of pre-selection boxes are used to box-select a plurality of table areas in the table image; highlighting a selected pre-selection box in the table box selection interface in response to a selection operation on the plurality of pre-selection boxes; and in response to a tap operation on the extraction control, obtaining a spreadsheet based on a table area box-selected by the selected pre-selection box.

## Claims

### Claim 1

A table extraction method, comprising:
displaying a table box selection interface, wherein the table box selection interface comprises an extraction control, a table image, and a plurality of pre-selection boxes, and the plurality of pre-selection boxes are used to box-select a plurality of table areas in the table image;
highlighting one or more selected pre-selection box in the table box selection interface in response to a selection operation on the plurality of pre-selection boxes; and
in response to a tap operation on the extraction control, obtaining one or more spreadsheet based on a table area box-selected by the one or more selected pre-selection box.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining one or more spreadsheet based on a table area box-selected by the selected pre-selection box comprises:
sending, to a server, the table image and one or more box-selected image corresponding to the table area selected by the one or more selected pre-selection box;
receiving a table identification result fed back by the server based on the table image and the one or more box-selected image, wherein the table identification result comprises a quantity of rows and a quantity of columns of a table, content in the table, and a location of each piece of content in the table; and
obtaining the one or more spreadsheet based on the table identification result.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the obtaining the spreadsheet based on the table identification result comprises:
displaying a comparison preview interface based on the table identification result, wherein the comparison preview interface comprises an export control, a plurality of box-selected images, and a plurality of preview tables corresponding to the plurality of box-selected images; and
obtaining spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the export control;
wherein the plurality of box-selected images are images corresponding to the table areas selected by the one or more selected pre-selection box.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the method further comprises:
adjusting at least one preview table in the plurality of preview tables in response to an editing operation on the at least one preview table; and
the obtaining spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the export control comprises:
in response to the tap operation on the export control, obtaining a spreadsheet corresponding to an adjusted preview table.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the method further comprises:
displaying a first enlarged display interface in response to a tap operation on the box-selected image, wherein the enlarged display interface comprises an enlarged image of the box-selected image.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the method further comprises:
displaying a second enlarged display interface in response to a tap operation on a first preview table of the plurality of preview tables, wherein the second enlarged display interface comprises an enlarged version of the first preview table.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the second enlarged display interface further comprises a format control, and the method further comprises:
obtaining a spreadsheet corresponding to the first preview table in response to a tap operation on the format control, wherein a format of the spreadsheet corresponding to the first preview table is a preset format corresponding to the format control.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
displaying a viewfinder interface, wherein the viewfinder interface comprises a preview image and a viewfinder control; and
the displaying a table box selection interface comprises:
displaying a box selection interface in response to a tap operation on the viewfinder control.

### Claim 9

(canceled)

### Claim 10

An electronic device, comprising a camera, a processor, and a memory, wherein
the camera collects an image; and
the memory stores one or more computer programs, the one or more computer programs comprise instructions, and when the instructions are executed by the processor, the electronic device is enabled to perform:
display a table box selection interface, wherein the table box selection interface comprises an extraction control, a table image, and a plurality of pre-selection boxes, and the plurality of pre-selection boxes are used to box-select a plurality of table areas in the table image:
highlight one or more selected pre-selection box in the table box selection interface in response to a selection operation on the plurality of pre-selection boxes; and
in response to a tap operation on the extraction control, obtain one or more spreadsheet based on a table area box-selected by the one or more selected pre-selection box.

### Claim 11

A computer storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform:
display a table box selection interface, wherein the table box selection interface comprises an extraction control, a table image, and a plurality of pre-selection boxes, and the plurality of pre-selection boxes are used to box-select a plurality of table areas in the table image;
highlight one or more selected pre-selection box in the table box selection interface in response to a selection operation on the plurality of pre-selection boxes; and
in response to a tap operation on the extraction control, obtain one or more spreadsheet based on a table area box-selected by the one or more selected pre-selection box.

### Claim 12 (depends on 3)

The method according to claim 3, wherein the method further comprises:
displaying a second enlarged display interface in response to a tap operation on one of the plurality of preview tables, wherein the second enlarged display interface comprises the plurality of preview tables, each of the preview tables is separated by a preset distance.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the second enlarged display interface further comprises a format control, and the method further comprises:
obtaining the spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the format control, wherein a format of the spreadsheets is a preset format corresponding to the format control.

### Claim 14 (depends on 10)

The electronic device according to claim 10, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
display a comparison preview interface based on the table identification result, wherein the comparison preview interface comprises an export control, a plurality of box-selected images, and a plurality of preview tables corresponding to the plurality of box-selected images; and
obtain spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the export control;
wherein the plurality of box-selected images are images corresponding to the table areas selected by the one or more selected pre-selection box.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
adjust at least one preview table in the plurality of preview tables in response to an editing operation on the at least one preview table; and
the obtain spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the export control comprises:
in response to the tap operation on the export control, obtain a spreadsheet corresponding to an adjusted preview table.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
display a first enlarged display interface in response to a tap operation on the box-selected image, wherein the enlarged display interface comprises an enlarged image of the box-selected image.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
display a second enlarged display interface in response to a tap operation on one of the plurality of preview tables, wherein the second enlarged display interface comprises the plurality of preview tables, each of the preview tables is separated by a preset distance.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein the second enlarged display interface further comprises a format control, and when the instructions are executed by the processor, the electronic device is enabled to further perform:
obtain the spreadsheets corresponding to the plurality of preview tables in response to a tap operation on the format control, wherein a format of the spreadsheets is a preset format corresponding to the format control.

### Claim 19 (depends on 14)

The electronic device according to claim 14, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
display a second enlarged display interface in response to a tap operation on a first preview table of the plurality of preview tables, wherein the second enlarged display interface comprises an enlarged version of the first preview table.

### Claim 20 (depends on 19)

The electronic device according to claim 19, wherein the second enlarged display interface further comprises a format control, and when the instructions are executed by the processor, the electronic device is enabled to further perform:
obtain a spreadsheet corresponding to the first preview table in response to a tap operation on the format control, wherein a format of the spreadsheet corresponding to the first preview table is a preset format corresponding to the format control.

### Claim 21 (depends on 10)

The electronic device according to claim 10, wherein when the instructions are executed by the processor, the electronic device is enabled to further perform:
display a viewfinder interface, wherein the viewfinder interface comprises a preview image and a viewfinder control; and
the display a table box selection interface comprises:
display a box selection interface in response to a tap operation on the viewfinder control.
