Spatial-Textual Clustering for Video Text Recognition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Optical Character Recognition (OCR) systems struggle with accurately recognizing text in videos due to factors like blurriness, slant, and partial occlusion, leading to inaccurate and partial predictions.

Innovation Solution

The implementation of spatial-textual clustering-based recognition systems, which use a greedy clustering method with time constraints and combine spatial and textual distances in a scoring system to cluster OCR predictions, allowing for the selection of a representative prediction for each cluster.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional OCR is used to recognize text in videos, then text detection can be performed, but recognition accuracy deteriorates due to blurriness, slant, and partial occlusion

Engineering Contradiction:
Improvetext recognition accuracyVSAvoidprediction consistency
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The system performs preliminary actions by collecting multiple OCR predictions across different video frames before final recognition. By gathering predictions from multiple time instances and spatial locations, the system prepares a pool of candidate recognitions that can be later aggregated to overcome individual frame limitations caused by blurriness, slant, or occlusion.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system merges multiple OCR predictions from different frames and spatial locations into a unified recognition result. By combining predictions that appear across multiple frames or clustered spatially, the system achieves more reliable and accurate text recognition, overcoming the limitations of individual frame quality issues.

Inventive Principle:
Principle #5Merging (Combining)

2Quantity of substance

If multiple video frames are processed individually by OCR, then more text instances are captured, but the number of unique predictions increases and precision decreases

Engineering Contradiction:
Improvenumber of text predictionsVSAvoidprediction precision
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The system segments the video into multiple frames and processes each frame individually through OCR, capturing text instances that may appear at different times. This segmentation allows the system to collect a comprehensive quantity of text predictions while maintaining the ability to later aggregate them for improved precision.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system uses feedback mechanisms by comparing OCR predictions across multiple frames and using spatial-temporal clustering to identify consistent text instances. Predictions that appear multiple times or cluster together spatially receive positive feedback, reinforcing their validity and improving overall prediction precision while managing the quantity of unique predictions.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If a strict confidence score threshold is applied to OCR predictions, then high precision is achieved, but many valid predictions are filtered out

Engineering Contradiction:
Improveprediction confidenceVSAvoidnumber of accepted predictions
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The system applies partial filtering by using a moderate confidence score threshold that accepts more predictions than a strict threshold would. By combining this partial filtering with spatial-temporal clustering, the system maintains high precision while preserving a larger quantity of valid predictions that might have been rejected by stricter thresholds.

Inventive Principle:
Principle #16Partial or excessive action

4Productivity

If OCR is applied to each frame independently, then processing speed is maintained, but recognition accuracy deteriorates due to frame-to-frame variations

Engineering Contradiction:
Improveprocessing speedVSAvoidtext recognition accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system performs preliminary independent OCR processing on each frame to maintain processing speed, then subsequently aggregates results through spatial-temporal clustering. This two-stage approach preserves the speed advantage of independent frame processing while adding a refinement step that improves recognition accuracy by accounting for frame-to-frame variations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system merges OCR results from multiple independently processed frames through spatial-temporal clustering. By combining predictions that appear across multiple frames or cluster together in space, the system improves recognition accuracy while maintaining the processing efficiency of independent frame analysis.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20250131035A1Clustering-based recognition of text in videos
Publication Date: 2025.04.24 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20250131035A1 patent drawing
  • US20250131035A1 patent drawing
  • US20250131035A1 patent drawing

AI summary

Systems and methods for spatial-textual clustering-based recognition of text in videos are disclosed. A method includes performing textual clustering on a first subset of a set of predictions that correspond to numeric characters only and performing spatial-textual clustering on a second subset of the set of predictions that correspond to alphabetical characters only. The method includes, for each cluster of predictions associated with the first subset of the set of predictions, choosing a first cluster representative to correct any errors in each cluster of predictions associated with the first subset of the set of predictions and outputting any recognized numeric characters. The method includes, for each cluster of predictions associated with the second subset of the set of predictions, choosing a second cluster representative to correct any errors in each cluster of predictions associated with the second subset of the set of predictions and outputting any recognized alphabetical characters.