Abstract
ASMTD is a novel real-time text detection framework designed to overcome the limitations of rigid "shrink-mask" approaches. By decoupling text contours from initial masks using learned Adaptive Offsets and employing a training-only Super-pixel Window (SPW), the system achieves state-of-the-art accuracy. ASMTD significantly outperforms existing non-real-time methods in precision while maintaining high-speed performance, exceeding 60 FPS on standard benchmarks.
Introduction
Detecting text in natural scenes is a complex computer vision task due to variations in shape, orientation, and background noise. Many modern detectors rely on a "shrink-mask" strategy: predicting a reduced version of the text area and expanding it to find the final boundary. However, this method is highly sensitive to the initial mask's quality. A fixed expansion formula often fails if the mask is slightly inaccurate, leading to missed text or background noise inclusion. Furthermore, pixel-by-pixel predictions often lack the necessary spatial context to distinguish text from similar background textures.
Methodology
ASMTD addresses these challenges through three primary architectural innovations:
- Adaptive Shrink-Mask (ASM): Instead of a fixed geometric expansion, the model learns adaptive offsets based on local features. This allows the network to accurately reconstruct the text contour even if the initial shrink-mask is imperfect, creating a more resilient detection system.
- Super-pixel Window (SPW): To provide better context, the SPW module forces the network to analyze the surroundings of each pixel during training. Crucially, SPW is discarded during inference, providing "free" accuracy gains without impacting real-time performance.
- Lightweight Feature Merging: The architecture utilizes a ResNet backbone with a streamlined feature-merging branch to minimize computational overhead.
Key Results
ASMTD demonstrates a superior balance of speed and accuracy across multiple challenging benchmarks:
- MSRA-TD500: The model achieved an 86.3% F-measure at 62.5 FPS, making it 3.5% more accurate and approximately 60x faster than leading non-real-time competitors.
- Total-Text: It reached an 86.1% F-measure at 70.9 FPS, outperforming the popular Differentiable Binarization (DB) detector in both speed and accuracy.
- CTW1500: The framework achieved an 83.9% F-measure at 72.1 FPS.
Discussion and Insights
- Zero-Cost Supervision: The SPW module acts as a clever architectural supervisor. By training the network with a deeper spatial understanding that is then "baked" into the weights, the model gains intelligence without any additional inference cost.
- Robustness through Decoupling: Treating the offset as an independent prediction rather than a fixed expansion makes the system resilient to noisy mask predictions.
- Efficiency: ASMTD requires fewer GFLOPs (46.96) than other real-time detectors like PAN (63.88) while maintaining higher accuracy.
Limitations and Future Work
While highly effective, ASMTD faces challenges in extremely dense or overlapping text scenarios where adaptive offset logic may struggle. Additionally, while it is significantly faster than graph-based methods like DRRG, it trails slightly in absolute F-measure on specific datasets like CTW1500 (by 0.5%). Future research will focus on refining adaptive offsets to handle even more complex geometric distortions.
Summary updated