Adaptive Contrast Enhancement for Mobile Document OCR

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current image recognition and contrast enhancement techniques struggle to preprocess pixelated images from mobile devices, resulting in unclear and blurry text extraction due to issues like misalignment, shadows, and poor lighting, which hampers the accuracy of optical character recognition (OCR) systems.

Innovation Solution

The method involves converting pixelated images to grayscale, calculating spatial gradients, downsampling, computing a multiplicative gain correction, and re-enlarging it to enhance contrast between text and background, thereby improving the effectiveness of OCR by making text more distinguishable from background.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional contrast enhancement techniques are applied to pixelated mobile images, then text extraction speed is maintained, but text clarity and OCR accuracy deteriorate due to blur and noise

Engineering Contradiction:
ImproveOCR accuracyVSAvoidtext clarity
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The image processing is segmented into distinct stages: initial binarization, contrast enhancement, and refinement. Each stage addresses specific image quality issues independently, allowing optimized processing for mobile captured images while maintaining text clarity for OCR accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The method performs preliminary binarization and contrast enhancement before OCR processing. By pre-processing the image to enhance text-background contrast and remove noise early in the pipeline, the subsequent OCR operation achieves higher accuracy without requiring complex real-time processing.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If aggressive contrast enhancement is applied to improve text distinguishability, then OCR accuracy improves, but image noise and artifacts increase

Engineering Contradiction:
Improvetext distinguishabilityVSAvoidimage noise
Core Design Contradiction:
Measurement precisionVSObject-generated harmful factors

Solution Approach 1:

The method converts the harmful effect of noise in mobile captured images into a benefit by using adaptive thresholding that learns from the image data itself. The noise characteristics are analyzed and incorporated into the binarization process, transforming what would be detrimental artifacts into enhanced text-background separation.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Solution Approach 2:

The contrast enhancement process dynamically adjusts processing parameters based on the specific image characteristics. By changing threshold values, gain factors, and processing intensity adaptively rather than applying fixed aggressive enhancement, the method improves text distinguishability while controlling noise amplification.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If simple binarization is used to maintain processing speed, then processing efficiency is maintained, but text clarity and contrast deteriorate

Engineering Contradiction:
Improveprocessing speedVSAvoidtext contrast
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The method applies a enhanced binarization process that goes beyond simple thresholding but stops before full complex filtering would be applied. This partial enhancement - including adaptive thresholding and contrast adjustment - provides sufficient text clarity improvement while maintaining processing speed adequate for mobile applications.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10915746B1Method for adaptive contrast enhancement in document images
Publication Date: 2021.02.09 INTUIT INC
  • US10915746B1 patent drawing
  • US10915746B1 patent drawing
  • US10915746B1 patent drawing

AI summary

Systems and methods here may include utilizing a computer with a processor and a memory for receiving a pixelated image of an original size, converting the pixelated image to grayscale, calculating a magnitude of spatial gradients in the received pixelated grayscale image, downscaling the received pixelated grayscale image, computing a multiplicative gain correction for the downscaled received pixelated grayscale image, re-enlarging a gain multiplication for the original image, and applying the gain multiplication to the image to generate a processed image with higher contrast than the received pixelated image.