Picture Search Using Tiered OCR for Fast, Accurate Text Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing picture search methods based on optical character recognition (OCR) are inefficient due to high time costs for complete OCR processing, especially when dealing with large numbers of pictures, and fail to accurately identify detailed text information, while cloud recognition faces risks of failure and privacy concerns.

Innovation Solution

A picture search method that combines low-dimensional and high-dimensional OCR processing, where low-dimensional OCR is performed based on an OCR threshold to quickly identify easily recognizable text, and high-dimensional OCR is used for detailed recognition, with results stored for subsequent matching, optimizing search efficiency and accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If complete OCR processing is performed on all pictures, then recognition accuracy is improved, but processing time increases significantly

Engineering Contradiction:
Improverecognition accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the OCR processing into two distinct levels: low-dimensional OCR for quick initial recognition and high-dimensional OCR for detailed accurate recognition. This segmentation allows the system to first quickly identify obviously matching pictures using low-dimensional processing, then apply high-dimensional processing only to borderline cases, thereby resolving the contradiction between speed and accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by performing high-dimensional OCR processing only on pictures that fall within a preset accuracy range after low-dimensional processing, rather than processing all pictures with high-dimensional OCR. This selective approach maintains high recognition accuracy for matching pictures while significantly reducing overall processing time.

Inventive Principle:
Principle #16Partial or excessive action

2Productivity

If low-dimensional OCR is used for all pictures, then processing speed is improved, but recognition accuracy decreases

Engineering Contradiction:
Improveprocessing speedVSAvoidrecognition accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent uses low-dimensional OCR processing for all pictures as a first pass to maintain high processing speed, then applies high-dimensional OCR processing selectively to pictures that fall within a preset accuracy range. This ensures that processing speed is not compromised while still achieving high recognition accuracy for final results.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system implements feedback by using the results of low-dimensional OCR processing to determine which pictures require further high-dimensional processing. Pictures with recognition results within the preset accuracy range are selected for high-dimensional processing, ensuring that accuracy is improved where needed while maintaining overall efficiency.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If high-dimensional OCR is applied to all pictures, then recognition accuracy is improved, but computational resources are excessively consumed

Engineering Contradiction:
Improverecognition accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent segments the picture set into two groups: pictures processed only by low-dimensional OCR and pictures requiring high-dimensional OCR. This segmentation is based on whether the low-dimensional OCR result falls within the preset accuracy range, allowing computational resources to be concentrated only where necessary for high accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies high-dimensional OCR processing only partially to pictures that require it, rather than applying it universally. This selective application significantly reduces computational resource consumption while maintaining high recognition accuracy for the final search results.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12386885B2Picture search method and apparatus, electronic device, computer-readable storage medium
Publication Date: 2025.08.12 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12386885B2 patent drawing
  • US12386885B2 patent drawing
  • US12386885B2 patent drawing

AI summary

A picture search method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product, relating to the field of artificial intelligence that can obtain an OCR result of pictures in a preset picture library in response to a picture search request; traverse pictures which are not subjected to low-dimensional OCR processing and high-dimensional OCR processing in the preset picture library, and perform the low-dimensional OCR processing based on an OCR threshold on each of the traversed pictures to obtain a low-dimensional OCR result of each corresponding picture; determining a target picture matching a key character string in the preset picture library according to at least one of the low-dimensional OCR result and the high-dimensional OCR result of each picture; and determining the target picture as a search result of the picture search request, and displaying the search result.