# US 2019/0303663 A1 · Method and system for detecting and extracting a tabular data from a document

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

- Number: US 2019/0303663 A1
- Document ID: US20190303663A1
- Status: Published application
- Kind: A1
- Application number: 15/947,964
- Filed: 2018-04-09
- Published: 2019-10-03
- Earliest claimed: 2018-03-30
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Prashanth Krishnapura Subbaraya; Raghavendra Hosabettu
- Web page: https://patentgrep.com/patent/US20190303663A1

## CPC

- G06V 30/40: Document-oriented image-based pattern recognition
- G06N 20/00: Machine learning
- G06V 30/19173: {Classification techniques}
- G06V 30/274: {Syntactic or semantic context, e.g. balancing}
- 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
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

This disclosure relates generally to document processing, and more particularly to method and system for detecting and extracting tabular data from a document. In one embodiment, the method may include generating a hierarchy of features, for a plurality of features of an image document derived from the document, based on relative spatial properties of the plurality of features. The method may further include segmenting the image document into a plurality of semantic segments based on the hierarchy of features, classifying each of the plurality of semantic segments into at least one of a plurality of tabular structures, and effecting at least one of a detection or an extraction of the tabular data from the image document based on the classification.

## Claims

### Claim 1

A method of detecting and extracting tabular data from a document, the method comprising:
generating, by a document processing device, a hierarchy of features, for a plurality of features of an image document derived from the document, based on relative spatial properties of the plurality of features;
segmenting, by the document processing device, the image document into a plurality of semantic segments based on the hierarchy of features;
classifying, by the document processing device, each of the plurality of semantic segments into at least one of a plurality of tabular structures; and
effecting, by the document processing device, at least one of a detection or an extraction of the tabular data from the image document based on the classification.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving the document;
splitting the document into a plurality of sub-documents corresponding to a plurality of pages of the document; and
converting each of the plurality of sub-documents into the image document.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the hierarchy of features comprises generating the hierarchy of features using a machine learning model.

### Claim 4 (depends on 3)

The method of claim 3, wherein generating the hierarchy of features further comprises enhancing the plurality of features using the machine learning model.

### Claim 5 (depends on 1)

The method of claim 1, wherein segmenting the image document comprises segmenting the image document based on a spatial information obtained from the hierarchy of features.

### Claim 6 (depends on 5)

The method of claim 5, wherein segmenting the image document comprises deriving a semantic information for each of the plurality of semantic segments by correlating higher level information from the hierarchy of features with lower level information from the hierarchy of features.

### Claim 7 (depends on 1)

The method of claim 1, wherein classifying each of the plurality of semantic segments further comprises classifying each of the plurality of semantic segments based on a spatial information for each of the plurality of semantic segments.

### Claim 8 (depends on 1)

The method of claim 1, wherein the plurality of tabular structures comprises a table border, a table structure, a nested table structure, a multi-level header, a cell, a row, and a column.

### Claim 9

A system for detecting and extracting tabular data from a document, the system comprising:
a document processing device comprising at least one processor and a computer-readable medium storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
generating a hierarchy of features, for a plurality of features of an image document derived from the document, based on relative spatial properties of the plurality of features;
segmenting the image document into a plurality of semantic segments based on the hierarchy of features;
classifying each of the plurality of semantic segments into at least one of a plurality of tabular structures; and
effecting at least one of a detection or an extraction of the tabular data from the image document based on the classification.

### Claim 10 (depends on 9)

The system of claim 9, wherein the operations further comprise:
receiving the document;
splitting the document into a plurality of sub-documents corresponding to a plurality of pages of the document; and
converting each of the plurality of sub-documents into the image document.

### Claim 11 (depends on 9)

The system of claim 9, wherein generating the hierarchy of features comprises generating the hierarchy of features using a machine learning model.

### Claim 12 (depends on 11)

The system of claim 11, wherein generating the hierarchy of features further comprises enhancing the plurality of features using the machine learning model.

### Claim 13 (depends on 9)

The system of claim 9, wherein segmenting the image document comprises segmenting the image document based on a spatial information obtained from the hierarchy of features.

### Claim 14 (depends on 13)

The system of claim 13, wherein segmenting the image document comprises deriving a semantic information for each of the plurality of semantic segments by correlating higher level information from the hierarchy of features with lower level information from the hierarchy of features.

### Claim 15 (depends on 9)

The system of claim 9, wherein classifying each of the plurality of semantic segments further comprises classifying each of the plurality of semantic segments based on a spatial information for each of the plurality of semantic segments.

### Claim 16 (depends on 9)

The system of claim 9, wherein the plurality of tabular structures comprises a table border, a table structure, a nested table structure, a multi-level header, a cell, a row, and a column.

### Claim 17

A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions for causing a computer comprising one or more processors to perform steps comprising:
generating a hierarchy of features, for a plurality of features of an image document derived from a document, based on relative spatial properties of the plurality of features;
segmenting the image document into a plurality of semantic segments based on the hierarchy of features;
classifying each of the plurality of semantic segments into at least one of a plurality of tabular structures; and
effecting at least one of a detection or an extraction of tabular data from the image document based on the classification.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein segmenting the image document comprises segmenting the image document based on a spatial information obtained from the hierarchy of features.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein segmenting the image document comprises deriving a semantic information for each of the plurality of semantic segments by correlating higher level information from the hierarchy of features with lower level information from the hierarchy of features.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein classifying each of the plurality of semantic segments further comprises classifying each of the plurality of semantic segments based on a spatial information for each of the plurality of semantic segments.
