Abstract
Scene text detection remains a challenging task due to background noise, long text lines, and adjacent text instances. This paper proposes a segmentation-based detector that integrates a multi-stage Context Attention Module (CAM) and a Repulsive Text Border (RTB) module. The CAM utilizes global, non-local, and spatial attention to capture long-range dependencies and filter background noise. The RTB module introduces repulsive pixel links to effectively separate adjacent text instances. Experimental results on benchmarks such as MSRA-TD500, ICDAR2015, and CTW1500 demonstrate state-of-the-art performance, particularly for curved and long-form text.
Introduction
Scene text detection is a critical component in various vision-based applications, from autonomous driving to instant translation. While segmentation-based methods have shown promise in detecting arbitrary-shaped text, they frequently encounter three primary issues: false positives from background textures (e.g., fences), splitting of long text lines into disconnected fragments, and merging of physically close text instances into a single blob. These limitations often stem from a lack of global context and insufficient mechanisms to distinguish between neighboring text boundaries.
Methodology
The proposed architecture employs an encoder-decoder framework with a VGG-16 backbone, enhanced by two key innovations designed to address the aforementioned challenges.
1. Context Attention Module (CAM)
The CAM refines features through three sequential attention mechanisms to provide the model with a better "big picture" view:
- Global Attention (GA): Weights low-level features using high-level semantic information to focus on relevant channels.
- Non-Local Self-Attention (NL): Captures long-range spatial dependencies. This acts as the "glue" that helps the model recognize that distant parts of a long sentence belong to the same instance, preventing line splitting.
- Spatial Attention (SA): Identifies likely text regions to suppress background noise and reduce false positives.
2. Repulsive Text Border (RTB) Module
To address the merging of adjacent text instances, the RTB module introduces Repulsive Pixel Links. While standard models use affinity links to group pixels together, repulsive links explicitly define boundaries between different instances. By training the model to recognize these "repulsive" boundaries, it becomes significantly more effective at separating crowded text lines that would otherwise be merged.
Experiments and Results
The model was pre-trained on the synthetic SynthText dataset and evaluated on several standard real-world benchmarks:
- MSRA-TD500: Achieved an 86.1% F-measure, outperforming previous methods like PAN and MCN on long, multi-lingual text.
- ICDAR2015: Reached an 87.5% F-measure with high precision (90.0%), validating its ability to suppress false positives in multi-oriented English text.
- CTW1500: Achieved an 82.0% F-measure, proving highly effective for curved text without requiring complex manual polygon adjustments.
Conclusion
By combining long-range context via a multi-stage attention module and explicit boundary separation via repulsive links, the proposed method significantly improves the robustness and accuracy of segmentation-based text detection. The ablation studies confirm that each layer of attention contributes to incremental performance gains. Future work will focus on developing a two-stream network to learn text pixels and boundaries in a more end-to-end, integrated fashion.
Summary updated