Lightweight OCR Networks for Mobile Text Recognition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing OCR technologies are resource-intensive and not optimized for efficient text recognition on mobile devices, limiting their application in scenarios requiring lightweight solutions.

Innovation Solution

Employing pre-trained lightweight text detection and recognition networks, optimized for mobile terminals, to perform text detection and recognition using methods like distillation and quantization to reduce network size and improve efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing OCR technologies are used, then text recognition capability is achieved, but resource consumption is high and hardware requirements are heavy

Engineering Contradiction:
Improvetext recognition capabilityVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent transforms the OCR model parameters from high-precision floating point to low-precision integer format, reducing the model size and computational resource requirements while maintaining acceptable recognition accuracy. This parameter transformation enables deployment on mobile devices with limited resources.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and removes redundant or less important features from the OCR model through feature selection and network pruning techniques, keeping only the essential components needed for accurate text recognition. This extraction process reduces model complexity and resource consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If existing OCR technologies are used, then text recognition capability is achieved, but device complexity and hardware capacity requirements increase

Engineering Contradiction:
Improvetext recognition capabilityVSAvoidhardware requirements
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the numerical precision parameters of the neural network from 32-bit floating point to 8-bit or 16-bit integers, significantly reducing the memory footprint and computational complexity while maintaining functional equivalence for text recognition tasks.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent creates a simplified copy of the original OCR model through knowledge distillation, where a large teacher model trains a smaller student model. The student model replicates the essential recognition capabilities with reduced complexity, enabling deployment on resource-constrained devices.

Inventive Principle:
Principle #26Copying

3Productivity

If model size is reduced through optimization, then efficiency on mobile devices improves, but recognition accuracy may deteriorate

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

Solution Approach 1:

The patent implements feedback mechanisms during the quantization process where the model performance is continuously monitored and the quantization parameters are adjusted iteratively to minimize accuracy loss while maintaining computational efficiency improvements.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies different quantization precision levels to different parts of the neural network based on their importance, with critical layers maintaining higher precision and less critical layers using lower precision, thereby optimizing the balance between accuracy and efficiency.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12536821B2Method and apparatus for recognizing text, device and storage medium
Publication Date: 2026.01.27 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US12536821B2 patent drawing
  • US12536821B2 patent drawing
  • US12536821B2 patent drawing

AI summary

The present disclosure provides a method and apparatus for recognizing a text, a device and a storage medium, and relates to the field of deep learning technology. A specific implementation comprises: receiving a target image; performing a text detection on the target image using a pre-trained lightweight text detection network, to obtain a text detection box; and recognizing a text in the text detection box using a pre-trained lightweight text recognition network, to obtain a text recognition result.