Abstract
TextSR is a specialized super-resolution (SR) framework designed to recover legible text from low-resolution, blurry scene images. By introducing a "Text Perceptual Loss" derived from a text recognizer, the model learns to prioritize character shapes and linguistic content over generic image textures, significantly boosting the accuracy of downstream OCR tasks.
Introduction
Scene text recognition—identifying text in "the wild" such as street signs, billboards, and product labels—has improved drastically with deep learning. However, these models frequently fail when the input is low-resolution or blurred by camera shake. While general-purpose Super-Resolution (SR) techniques exist to upscale images, they are typically optimized for natural textures like grass or skin rather than the specific structural details of characters. Standard SR methods often produce visually pleasing images that remain unreadable by machines because they "hallucinate" textures that distort actual letters. This paper identifies the need for content-aware SR that recognizes the primary goal of upscaling text is to maintain legibility and recognizability.
Methodology
The authors propose TextSR, an end-to-end architecture consisting of three main components: a Generator Network (4x upscaling), a Discriminator Network (GAN component for realism), and a Recognition Network (ASTER) used as a "teacher."
Text Perceptual Loss (TPL)
The core contribution is the Text Perceptual Loss. Unlike traditional SR where perceptual loss is derived from a VGG network trained on ImageNet for visual style, TextSR utilizes the loss from the Recognition Network. During training, the SR image produced by the generator is passed into the recognizer. If the recognizer fails to identify the text correctly, a high loss is backpropagated to the generator. This mechanism forces the generator to focus its reconstruction on the strokes and curves defining characters rather than irrelevant background noise.
Experiments and Results
The model was trained on synthetic data (Synth90k, SynthText) and ICDAR training sets, then evaluated on seven benchmarks covering horizontal and irregular/curved text.
Key Insights
- Recognition as Supervision: Downstream recognition tasks serve as a superior quality metric for SR compared to traditional pixel-wise distance (MSE) or generic visual features.
- Selective Activation: Heatmap visualizations show that TextSR concentrates almost entirely on text regions, ignoring background clutter.
- Robustness to Distortion: By using ASTER (which includes a rectification module) for guidance, the generator learns to produce sharper characters even in warped or perspective-distorted images.
- Structural Preservation: Standard SRGAN often smooths out critical "arcs" in letters like 'e', 'a', and 's'. TextSR specifically preserves these features because they are vital for the recognition loss.
Performance Metrics
TextSR consistently outperformed both bicubic interpolation and SRGAN across all datasets. On the IC13 dataset, when images were downsampled to 20x5 pixels, TextSR achieved 42.8% accuracy, a massive 22.8% improvement over SRGAN (20.0%) and bicubic interpolation (16.1%). Furthermore, TextSR achieved higher PSNR and SSIM scores, indicating it produces objectively cleaner images for both human and machine consumption.
Conclusion
While TextSR demonstrates significant gains, it faces limitations such as language constraints (primarily English/Latin), character hallucination in cases of extreme blur, and difficulties with highly decorative fonts. Future work may focus on reconstructing text from partially occluded images.
Summary updated