Template-Based Document Extraction with Multi-Stage Alignment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing automated data extraction processes from official documents face challenges in handling input noise and scalability, requiring controlled environments and large amounts of sample data for training, especially for less common document types.

Innovation Solution

A template-based data extraction pipeline that aligns input images with template images using multi-stage transformations, allowing extraction of data without traditional or deep-learning models, and enabling quick onboarding of new document types with a single authentic example.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional or deep-learning models are used for data extraction, then accuracy can be achieved for specific document types, but the system cannot scale to handle diverse document types without requiring large amounts of training data and controlled environments

Engineering Contradiction:
Improveability to handle different document typesVSAvoidamount of training data required
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent uses template images of documents as copies to represent document types. Instead of training models on large datasets of actual documents, the system creates a template image from a single authentic example of each document type and uses this template to guide the extraction process for all documents of that type, eliminating the need for extensive training data.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent segments the document extraction task into distinct components: document type classification, template selection, and data extraction using predetermined field coordinates. This segmentation allows the system to handle diverse document types by selecting appropriate templates rather than requiring a unified model trained on all document types.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If controlled environments with flatbed scanners are used to capture documents, then extrinsic noise is reduced and extraction accuracy improves, but equipment availability is limited and mobility is restricted

Engineering Contradiction:
Improveextraction accuracyVSAvoidmobility and equipment availability
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent introduces template images as intermediaries that bridge the gap between noisy mobile-captured documents and accurate data extraction. The templates serve as reference standards that allow the system to compensate for extrinsic noise from mobile devices without requiring controlled scanning environments.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the approach from controlling capture parameters (lighting, orientation) to correcting output parameters (noise, distortion) through post-processing algorithms that align extracted data with template field coordinates, allowing flexible capture conditions while maintaining extraction accuracy.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If existing data extraction processes handle only one or a few document types, then processing complexity remains manageable, but scalability to handle diverse document types is limited

Engineering Contradiction:
Improvenumber of document types handledVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal extraction system that can handle multiple document types through a single unified architecture. The system uses a common workflow of classifying document type, selecting the appropriate template, and extracting data using predetermined field coordinates, making the same computational framework applicable to diverse document types without requiring separate specialized processing for each type.

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

Data Source

PatentEP3905108B1Scalable, flexible and robust template-based data extraction pipeline
Publication Date: 2025.11.05 ONFIDO LTD
  • EP3905108B1 patent drawingFigure 1A
  • EP3905108B1 patent drawingFigure 1B
  • EP3905108B1 patent drawingFigure 2~3

AI summary

A computer-implemented method for extracting information from a document, for example an official document, is disclosed. The method comprises acquiring an input image comprising a document portion; performing image segmentation on the input image to form a binary input image that distinguishes the document portion from the remaining portion of the input image; estimating a first image transform to align the binary input image to a binary template image, using the first image transform on the input image to form an intermediate image; estimating a second image transform to align the intermediate image to a template image; using the second image transform on the intermediate image to form an output image; and extracting a field from the output image using a predetermined field of the template image.