PDF Text Extraction via Glyph Grouping and Bounding Box Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The Portable Document Format (PDF) is not conducive to efficient editing due to its complex structure, leading to inefficient editing experiences and high memory and processing resource requirements when importing PDF data into editing applications, as each text character is treated as an individual glyph, losing contextual data like lines, line breaks, and paragraph breaks.

Innovation Solution

A computer-implemented method that accesses PDF data, sorts glyphs into sets, calculates expanded glyph bounding boxes, and processes these sets to determine text areas by identifying overlapping glyphs and associating them with separate text areas, allowing for more efficient editing by grouping glyphs into text elements rather than individual characters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If PDF data is imported into an editor with individual glyph processing, then text character data can be accessed, but editing becomes complex and unwieldy with high memory and processing requirements

Engineering Contradiction:
Improveediting efficiencyVSAvoiddata structure complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent merges individual glyph data into text area objects that represent complete text blocks. By combining multiple individual glyph processing operations into a single text area entity, the system reduces editing complexity and improves ease of operation while maintaining the ability to access and manipulate text character data.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a simplified copy of PDF data in text area format that preserves the essential text information while discarding the complex original PDF structure. This copied representation allows efficient editing operations without requiring the full PDF data structure, thereby reducing memory and processing requirements.

Inventive Principle:
Principle #26Copying

2Reliability

If PDF data is imported with complete glyph information, then text accuracy is maintained, but memory and processing resource requirements increase

Engineering Contradiction:
Improvetext data accuracyVSAvoidmemory requirements
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential text information from PDF data into text area objects, separating the necessary text content from the unnecessary complex PDF structure. This extraction process maintains text data accuracy by preserving character information while significantly reducing memory requirements by eliminating redundant PDF formatting and structural data.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If individual glyphs are processed separately, then precise character control is achieved, but processing time and computational resources increase

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidediting time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent combines multiple individual glyph processing operations into unified text area processing. By merging separate glyph-level operations into text area-level operations, the system achieves precise character control while significantly improving processing efficiency and reducing the time required for editing operations.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20240362406A1Systems and methods for extracting text from portable document format data
Publication Date: 2024.10.31 CANVA PTY LTD
  • US20240362406A1 patent drawing
  • US20240362406A1 patent drawing
  • US20240362406A1 patent drawing

AI summary

Described herein is a computer implemented method. The method includes accessing, by a computer system including a processing unit, portable document format (PDF) data defining a plurality of glyphs, sorting the plurality of glyphs into one or more glyph sets, and calculating an expanded glyph bounding box for each glyph. Each glyph set is processed to determine one or more text areas, each text area being associated with one or more glyphs from the glyph set which have collectively overlapping expanded bounding boxes.