Abstract
Text recognition has been applied in many fields recently, such as robot vision, video retrieval, and scene understanding. However, minimal research has been conducted in the field of logistics wherein images of express sheets captured by cameras are mostly curved, distorted, and have low resolution. In this study, a new method is proposed to address the aforementioned research gap while simultaneously considering irregular and low-resolution English letters. The entire approach comprises a rectification module, a convolutional neural network (CNN) extractor, a semantic context module (SCM), a global context module (GCM), and a lightweight transformer decoder that can exhibit improved training speed. In particular, we propose the idea of context modeling in our proposed method. (1) The proposed SCM is introduced to capture full-image dependencies and generates rich semantic context information. (2) We propose the GCM, which not only enhances long-range dependencies from the output of SCM but also outputs abundant pixel information to the self-attention decoder. (3) To solve the low-resolution text recognition problem in a large number of express sheet scenes, we propose Chinese datasets for improving intelligent logistics. Experiments conducted on six public benchmarks demonstrate that the developed method achieves better robustness to low-resolution and irregular text images.
Introduction
In the fast-paced world of logistics, automated sorting is the backbone of efficiency. However, the "eyes" of these systems—Scene Text Recognition (STR) models—often struggle when faced with the reality of the warehouse: crumpled labels, motion-blurred images, and low-resolution captures. This research proposes a new architecture designed specifically to handle these "low-quality" challenges by doubling down on context modeling.
The Challenge of Low-Quality Text
Most STR research focuses on "clean" or standard "in-the-wild" images. In the logistics industry, however, images of express sheets are notoriously difficult to process. They are frequently curved or distorted because labels are stuck on non-flat packages. Furthermore, high-speed conveyor belts cause motion blur, and compression for storage reduces image quality, leading to low-resolution captures that are linguistically complex.
Existing models are often either too slow for the required 10 Frames Per Second (FPS) threshold or fail to capture the long-range dependencies needed to "guess" a blurred character based on its neighbors.
Proposed Methodology
The proposed pipeline balances robust feature extraction with a lightweight decoder through five key components:
- Rectification Module: Uses a Spatial Transformer Network (STN) to "flatten" curved text before it reaches the extractor.
- CNN Extractor: A ResNet-50-based backbone extracts initial visual features.
- Semantic Context Module (SCM): This module uses a residual crisscross attention mechanism to capture full-image dependencies efficiently, helping the model understand the relationship between distant pixels.
- Global Context Module (GCM): This module further refines long-range dependencies and uses a differentiable binarization-like function to highlight text regions and suppress noise. It outputs a "text sequence map" fused with positional information.
- Lightweight Transformer Decoder: While standard Transformers use 6 or 12 layers, this model uses only 3 identification layers to maintain high inference speeds.
Datasets and Application
A major contribution of this work is the introduction of a new, large-scale Chinese Dataset (CD) containing 5 million images. This dataset specifically simulates logistics-related degradations like motion blur, missing strokes, and extreme camera angles, providing a robust training ground for real-world applications.
Key Results
The proposed model consistently outperformed top-tier models like ASTER and DAN. On the challenging IC15 (irregular text) dataset, the model achieved 81.6% accuracy. On the proprietary Chinese Dataset, it achieved 84.3%, a 2.8% improvement over the Decoupled Attention Network (DAN).
Crucially for industrial use, the model achieved an inference time of 10.1 ms per image, making it viable for real-time deployment on sorting lines. Ablation studies confirmed that the SCM is vital for performance on low-quality images, as its removal caused a significant drop in accuracy on the SVTP dataset.
Conclusion
By prioritizing context modeling, this framework effectively addresses the unique challenges of the logistics industry. While extremely small text regions remain a challenge, future work will explore multi-modal learning to integrate linguistic rules, further improving the system's ability to "auto-correct" visually indistinguishable characters.
Summary updated