Text Extraction from Documents Using Layout Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods face challenges in accurately extracting text from documents, particularly tables, due to variability in layouts, styles, and formats, which hinders data interpretation and analysis.

Innovation Solution

A method and device for text extraction that perform layout analysis to identify table regions based on homogeneity between textual lines, allowing for the identification of rows, columns, and cells within tables, enabling accurate text extraction from documents.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional text extraction methods are used on documents with varied table layouts, then extraction speed is maintained, but extraction accuracy deteriorates due to inability to handle different table styles and formats

Engineering Contradiction:
Improvetext extraction accuracyVSAvoidlayout analysis complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the document processing task into distinct stages: layout analysis to identify table regions, table structure analysis to detect rows and columns, and text extraction to retrieve content from cells. This segmentation allows each stage to be optimized independently, improving overall extraction accuracy while managing complexity through modular processing

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent employs parameter changes by analyzing multiple textual parameters (font type, font size, line spacing, text alignment) to identify table regions and structures. By dynamically adjusting and comparing these parameters across different document regions, the system adapts to various table layouts and styles, thereby improving extraction accuracy without requiring manual configuration for each table type

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If manual inspection methods are used to handle varied table layouts, then extraction accuracy is improved, but processing time increases significantly

Engineering Contradiction:
Improvetable data extraction accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements self-service through automated layout analysis that independently identifies table regions, detects row and column structures, and extracts text without human intervention. The system uses algorithmic analysis of textual parameters and layout patterns to automatically adapt to different table formats, achieving both high accuracy and efficient processing by eliminating manual inspection while maintaining intelligent adaptation

Inventive Principle:
Principle #25Self-service

3Productivity

If simple text extraction without layout analysis is used, then processing speed is maintained, but ability to handle structured table data deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidtable structure information
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent extracts and isolates table structure information from the overall document layout by identifying table regions, detecting row and column boundaries, and recognizing cell structures. This extracted structural information is then used to guide the text extraction process, ensuring that tabular data is captured with its proper organization while maintaining processing efficiency through targeted extraction rather than comprehensive analysis

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10242257B2Methods and devices for extracting text from documents
Publication Date: 2019.03.26 WIPRO LTD
  • US10242257B2 patent drawing
  • US10242257B2 patent drawing
  • US10242257B2 patent drawing

AI summary

Methods, devices, and non-transitory computer readable storage media for extracting text from documents are disclosed. The method includes performing layout analysis on the document to identify a plurality of regions within a plurality of pages in the document. The method further includes identifying a table region from within the plurality of regions based on homogeneity between a plurality of textual lines in a page from the plurality of pages. The method includes identifying at least two rows and at least two columns within the table region. The method further includes identifying a plurality of cells within the table region based on the at least two rows and the at least two columns. The method includes extracting text from each of the plurality of cells.