Automated OCR Testing Framework for Document Accuracy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Optical Character Recognition (OCR) systems often produce inaccurate conversions due to factors like blurred images and printing inconsistencies, requiring frequent adjustments that can inadvertently affect accuracy for existing document types.

Innovation Solution

An automated testing method that converts original text files into images with varying formats and resolutions, executes the OCR process, and calculates accuracy scores to identify and improve OCR performance across different document types, formats, and resolutions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If developers repeatedly adjust OCR processes to improve accuracy for new document types, then adaptability to new document types is improved, but reliability for existing document types deteriorates

Engineering Contradiction:
Improveadaptability to new document typesVSAvoidaccuracy for existing document types
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary testing of OCR process changes against a comprehensive test suite covering both existing and new document types before deployment. This preliminary action allows developers to verify that changes improve adaptability to new document types while maintaining reliability for existing ones, preventing inadvertent degradation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements automated feedback loops where OCR accuracy is continuously measured across multiple document types using standardized test suites. This feedback mechanism provides quantitative metrics on both adaptability improvements and reliability maintenance, enabling developers to make informed adjustments that balance both objectives.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If manual testing and adjustment of OCR processes is performed, then accuracy can be improved, but time consumption and labor increase

Engineering Contradiction:
ImproveOCR accuracy measurementVSAvoidtesting and adjustment time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system implements self-service automated testing capabilities that continuously evaluate OCR accuracy without requiring manual intervention. The automated test suites execute independently, automatically measure accuracy metrics, and provide feedback for improvements, eliminating the time-consuming manual testing and adjustment process while maintaining high measurement precision.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system automatically adjusts OCR process parameters based on test results and performance metrics. By programmatically changing parameters such as recognition thresholds, preprocessing settings, and model configurations, the system achieves accuracy improvements without manual time investment, transforming a labor-intensive process into an automated parameter optimization routine.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If comprehensive testing across multiple formats and resolutions is performed, then reliability of OCR system is improved, but device complexity increases

Engineering Contradiction:
ImproveOCR system reliabilityVSAvoidtesting apparatus complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The comprehensive testing system is segmented into modular test suites, each targeting specific document formats, resolutions, or OCR processes. This segmentation allows the complex testing task to be divided into manageable, independent modules that can be executed selectively based on needs, maintaining high reliability through comprehensive coverage while reducing perceived complexity through organized modularity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The testing system employs universal test frameworks and standardized evaluation metrics that work across multiple document formats and resolutions. This multi-functionality allows a single testing apparatus to handle diverse testing scenarios without requiring separate complex systems for each format, thereby improving reliability through comprehensive testing while minimizing device complexity through universal design.

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

Data Source

PatentUS10089555B2Method, apparatus, and computer program product for providing automated testing of an optical character recognition system
Publication Date: 2018.10.02 HYLAND SOFTWARE INC
  • US10089555B2 patent drawing
  • US10089555B2 patent drawing
  • US10089555B2 patent drawing

AI summary

A method is provided for providing automated testing of an Optical Character Recognition (OCR) system. An automated testing framework may convert original text files to images of various formats and resolutions. The images may comprise various fonts and layouts according to a document type. The images may be processed by the OCR system to generate a converted text file. Converted text files may be compared to original text files and an OCR accuracy score may be calculated.