Table Data Extraction Using Column Header Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Optical Character Recognition (OCR) techniques are inadequate for extracting data from electronic documents containing tables, as they primarily process text line-by-line and fail to effectively identify and extract data from structured table formats.

Innovation Solution

A system that utilizes a machine-learning model to detect column headers and extract data from tables by analyzing phrase characteristics, including position and content, and maps extracted values to known fields using exact or fuzzy matching, enabling the identification and extraction of table data from electronic documents.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional OCR techniques are used to process electronic documents, then text extraction from paragraph forms is effective, but data extraction from table formats fails

Engineering Contradiction:
Improvedata extraction accuracyVSAvoidhandling different document formats
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system segments the document processing task by first detecting table structures separately from regular text, then applying specialized table analysis algorithms to identify column headers and extract tabular data, while using conventional OCR for paragraph text. This segmentation allows each processing path to be optimized for its specific format type.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts its processing approach based on the detected document structure. When tables are detected, the system switches to table-specific extraction algorithms; when only paragraphs are present, conventional OCR processing is used. This dynamic adaptation resolves the contradiction between reliability for specific formats and versatility across formats.

Inventive Principle:
Principle #15Dynamics

2Productivity

If conventional OCR processes text line-by-line, then processing speed is maintained, but structured table data cannot be identified

Engineering Contradiction:
Improveprocessing speedVSAvoidtable structure recognition
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The processing pipeline is segmented into multiple stages: initial OCR passes convert images to text, then a separate table detection phase identifies table structures by analyzing spatial relationships and formatting patterns, followed by specialized table parsing. This segmentation enables both speed (through efficient OCR) and precision (through dedicated table analysis).

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary OCR conversion of the entire document to text format before attempting table detection. This preliminary action creates a text foundation that speeds up subsequent table structure analysis, as the system can work with already-converted text rather than re-processing images during table detection.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If machine-learning models are used to detect column headers, then table data extraction accuracy improves, but system complexity increases

Engineering Contradiction:
Improvecolumn header detection accuracyVSAvoidsystem architecture
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system introduces an intermediary table detection layer between conventional OCR and final data extraction. This intermediary component uses machine-learning models to analyze OCR output and identify table structures, column headers, and data relationships. The intermediary translates unstructured text into structured table representations, improving accuracy while keeping the overall system modular and manageable.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If table-specific processing is implemented, then data extraction from tables improves, but processing time for mixed documents increases

Engineering Contradiction:
Improvetable data extractionVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system applies table-specific processing only to the portions of the document that contain tables, rather than processing the entire document with complex table-detection algorithms. Conventional paragraph sections are processed quickly using standard OCR, while only table regions trigger the more time-consuming table analysis routines. This partial application of sophisticated processing minimizes time loss while maintaining extraction reliability where needed.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11475686B2Extracting data from tables detected in electronic documents
Publication Date: 2022.10.18 ORACLE INT CORP
  • US11475686B2 patent drawing
  • US11475686B2 patent drawing
  • US11475686B2 patent drawing

AI summary

The embodiments disclosed herein relate to extracting table data from an electronic document. Tables are detected based on identification of the column headers, of the table, that correspond to known fields. Once a table is detected, values corresponding to the column headers are extracted and stored in association with the known fields.