Abstract
In the last decade, deep learning has significantly advanced scene text recognition. However, recognizing low-resolution (LR) scene text images remains a major challenge. While various super-resolution (SR) methods have been proposed, they often treat text as general imagery, neglecting the critical role of strokes—the atomic units of text. Inspired by Gestalt Psychology, which posits that humans can reconstruct a whole object from partial details, we propose a Stroke-Aware Scene Text Image Super-Resolution method. Our framework features a Stroke-Focused Module (SFM) that concentrates on the internal stroke structures of characters. By decomposing characters into strokes and using a pre-trained recognizer to provide positional clues via attention maps, we ensure consistency between generated SR images and high-resolution (HR) ground truth. Experimental results on TextZoom and the Degraded-IC13 Chinese dataset demonstrate that our method generates more distinguishable images without adding computational overhead during inference.
Introduction: The Challenge of Low-Resolution Text
Scene text recognition in the wild is often hampered by poor image quality. When text is blurry or pixelated, standard Optical Character Recognition (OCR) engines frequently fail. Traditional Super-Resolution (SR) techniques attempt to mitigate this by upscaling images, but they typically focus on pixel-level consistency or, at best, character-level features. This paper argues for a more granular approach: focusing on the strokes that constitute characters.
The Gestalt Inspiration
The core philosophy of this work is rooted in Gestalt Psychology. Just as humans can perceive the complete form of a Dalmatian dog from a collection of black spots, we inherently use partial stroke-level details to recover the appearance of holistic characters in low-resolution images. By mimicking this human ability, the "Text Gestalt" framework aims to reconstruct legible text by prioritizing the recovery of these atomic building blocks.
Methodology: Stroke-Aware Reconstruction
The proposed framework consists of two primary components designed to work in tandem during the training phase:
- Pixel-wise Supervision Module (PSM): This serves as the backbone, utilizing standard SR architectures (such as SRResNet or TSRN) to handle basic upscaling, color recovery, and contour definition.
- Stroke-Focused Module (SFM): This is the central innovation. The authors developed rules to decompose English letters, digits, and Chinese characters into basic stroke sequences. A Transformer-based recognizer is pre-trained to identify these strokes and generate "attention maps"—heatmaps indicating stroke locations. During SR training, these maps provide positional clues, penalizing the model if the generated strokes deviate from the high-resolution ground truth.
A significant advantage of this approach is that the SFM is only required during training. It is discarded during the test phase, ensuring that the final SR model maintains the same inference speed as standard methods while producing superior, recognition-friendly results.
Experimental Evaluation
The method was rigorously tested on several benchmarks, including TextZoom (real-world LR/HR pairs) and a newly constructed Degraded-IC13 dataset for Chinese characters.
- Performance Gains: On TextZoom, using a TSRN backbone, the average recognition accuracy jumped from 41.4% to 48.9%—a substantial 7.5% absolute improvement.
- Complex Script Recovery: For stroke-heavy Chinese characters in the Degraded-IC13 dataset, the method provided a nearly 3% accuracy boost, demonstrating its effectiveness for logographic languages.
- Atomic Advantage: By focusing on strokes, the model becomes better at distinguishing similar characters (e.g., '1' vs. '7') that differ by minor structural details.
Conclusion
"Text Gestalt" successfully translates a psychological principle into a practical deep learning loss function. By prioritizing stroke-level details, the framework enables more accurate scene text recognition in challenging low-resolution environments. While future work is needed to address extreme geometric distortions and very long text strings, this stroke-aware approach represents a significant step toward human-like perception in machine vision.
Code is available at: https://github.com/FudanVI/FudanOCR/tree/main/text-gestalt
Summary updated