Document Field Detection Using Heat Maps and OCR Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting fields in documents require extensive manual markup of numerous documents for training neural networks, leading to inaccuracies, inefficiencies, and potential disclosure of confidential data, and lack flexibility across different document types.

Innovation Solution

A method using a small dataset of marked-up documents to train a neural network based on spatial distributions of fields relative to visual reference elements, generating heat maps to identify candidate regions, and applying OCR techniques with BPE tokens for accurate field detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If extensive manual markup of numerous documents is used for training neural networks, then field detection accuracy may improve, but the time consumption and resource requirements increase significantly

Engineering Contradiction:
Improvefield detection accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary analysis by generating heat maps from a small set of marked-up documents that indicate probable field locations. These heat maps serve as pre-computed guidance that accelerates the field detection process on input documents, eliminating the need for extensive manual training while maintaining detection accuracy.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If a small dataset of marked-up documents is used for training, then the need for extensive manual markup is reduced, but field detection accuracy may deteriorate

Engineering Contradiction:
Improvetraining efficiencyVSAvoidfield detection accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

Heat maps serve as an intermediary data structure that captures spatial distributions of fields relative to visual reference elements. The heat map generation module processes a small marked-up dataset to create these intermediate representations, which then guide field detection on input documents, enabling accurate detection without requiring large training datasets.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If neural networks are trained on confidential documents, then field detection capability is learned, but data confidentiality may be compromised

Engineering Contradiction:
Improvefield detection capabilityVSAvoiddata confidentiality risk
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The system extracts only the essential spatial distribution patterns and relative position relationships between fields and visual reference elements from marked-up documents. By extracting and storing only these structural patterns in heat maps rather than the original confidential document content, the system learns field detection capability while preserving data confidentiality.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If traditional field detection methods are used, then comprehensive field coverage may be achieved, but flexibility across different document types is reduced

Engineering Contradiction:
Improvefield detection coverageVSAvoidflexibility across document types
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The heat map generation module creates universal spatial distribution representations that capture the relative positioning of fields with respect to visual reference elements. These heat maps can be applied across different document types and formats, enabling the system to maintain reliable field detection coverage while adapting flexibly to various document structures.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12573225B2Methods and systems of field detection in a document
Publication Date: 2026.03.10 ABBYY DEVELOPMENT INC
  • US12573225B2 patent drawing
  • US12573225B2 patent drawing
  • US12573225B2 patent drawing

AI summary

Systems and methods are disclosed to receive a training data set comprising a plurality of document images, wherein each document image of the plurality of document images is associated with respective metadata identifying a document field containing a variable text; generate, by processing the plurality of document images, a first heat map represented by a data structure comprising a plurality of heat map elements corresponding to a plurality of document image pixels, wherein each heat map element stores a counter of a number of document images in which the document field contains a document image pixel associated with the heat map element; receive an input document image; and identify, within the input document image, a candidate region comprising the document field, wherein the candidate region comprises a plurality of input document image pixels corresponding to heat map elements satisfying a threshold condition.