Selective Image Line Removal for Higher OCR Accuracy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing optical character recognition (OCR) techniques struggle with line removal from images, as removing lines that overlap with text often distorts the text and reduces OCR accuracy, necessitating additional processing or manual review, which consumes computing resources.

Innovation Solution

An image processing platform identifies first lines in a first dimension and second lines in an orthogonal dimension, determining non-intersecting portions of the first lines to selectively remove them, thereby minimizing text disturbance and enhancing OCR accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If lines are removed from the image to improve OCR accuracy, then OCR accuracy is improved, but text distortion increases and computing resources are consumed

Engineering Contradiction:
ImproveOCR accuracyVSAvoidtext distortion
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent segments line removal into two independent passes: first identifying lines in a horizontal direction using a first bounding box, then identifying lines in a vertical direction using a second bounding box. This segmentation allows selective removal of only the harmful horizontal lines while preserving vertical text structures, thereby improving OCR accuracy without causing text distortion.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different processing qualities to different regions: it removes horizontal lines that extend beyond text boundaries (identified through bounding box analysis) while preserving vertical lines and text content. This local differentiation ensures that only the harmful elements are removed, maintaining text integrity and avoiding distortion.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If additional processing is performed to handle line removal, then OCR accuracy improves, but computing resources are consumed

Engineering Contradiction:
ImproveOCR accuracyVSAvoidcomputing resources
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary line identification and classification before the actual removal process. By first analyzing the image with two bounding boxes to identify which lines are horizontal versus vertical, and which horizontal lines extend beyond text boundaries, the system prepares a selective removal list. This preliminary action enables efficient processing by avoiding unnecessary computations on regions that don't require modification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies partial action by removing only the specific subset of horizontal lines that extend beyond text boundaries (identified through bounding box analysis), rather than removing all lines or requiring complete manual review. This partial removal approach achieves sufficient OCR accuracy improvement without the excessive computing resources that would be required for complete processing or manual verification.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If manual review is required for line removal, then OCR accuracy can be maintained, but productivity decreases

Engineering Contradiction:
ImproveOCR accuracyVSAvoidprocessing throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent implements self-service by automatically identifying and removing harmful horizontal lines through a systematic process using two bounding boxes. The system autonomously determines which lines to remove based on their spatial relationships with text boundaries, eliminating the need for manual review while maintaining high OCR accuracy. This automation directly improves processing throughput.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback through iterative bounding box analysis: first bounding boxes identify horizontal lines, second bounding boxes verify vertical line positions, and the system uses this feedback to selectively remove only the harmful horizontal lines. This feedback mechanism ensures accuracy while maintaining automation, preventing the need for manual review and preserving high productivity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12505687B2Line removal from an image
Publication Date: 2025.12.23 CAPITAL ONE SERVICES LLC
  • US12505687B2 patent drawing
  • US12505687B2 patent drawing
  • US12505687B2 patent drawing

AI summary

In some implementations, a device may process an image to identify one or more first lines of the image that extend in a first dimension. The device may process the image to identify one or more second lines of the image that extend in a second dimension orthogonal to the first dimension. The device may identify portions of the one or more first lines that do not intersect with the one or more second lines. The device may process the image to obtain a version of the image in which the portions of the one or more first lines are removed.