Abstract
Scene text detection in natural environments faces significant challenges due to complex backgrounds, varying orientations, and diverse text geometries. This paper introduces the Supervised Pyramid Context Network (SPCNET), an architecture that enhances the Mask R-CNN framework with a global semantic segmentation branch and a novel "Re-Score" mechanism. By leveraging global context and a fused scoring system, SPCNET effectively suppresses false positives and improves detection accuracy for arbitrary-shaped text, achieving state-of-the-art performance on benchmarks including ICDAR and Total-Text.
Introduction
Detecting text in natural scenes is notoriously difficult due to extreme variations in font, color, orientation, and lighting. Traditional deep-learning-based detectors often struggle with two primary issues:
- Lack of Context: Standard detectors typically analyze local regions in isolation, leading to false positives where objects with text-like textures (e.g., fences, bricks, or patterns) are mistakenly identified as words.
- Inaccurate Scoring for Tilted/Curved Text: Most detectors rely on horizontal proposals. When text is tilted, the proposal box contains significant background noise, which often causes the classifier to assign a low confidence score even if the text is clearly present.
Methodology
SPCNET builds upon the Mask R-CNN architecture, which is already adept at instance segmentation. The authors introduce two major innovations to address the aforementioned gaps: the Text Context Module (TCM) and a Re-Score mechanism.
Text Context Module (TCM)
The TCM is designed to provide the network with "global awareness." It consists of two sub-modules:
- Pyramid Attention Module (PAM): This generates a saliency map at each level of the Feature Pyramid Network (FPN), highlighting potential text regions across the entire image to focus the network's attention.
- Pyramid Fusion Module (PFM): This fuses global semantic features back into the detection branch. By recognizing the surrounding scene context, the network can better distinguish between actual text and background objects that merely mimic text patterns.
Re-Score Mechanism
Standard Mask R-CNN uses a classification score (CS) to rank detections. SPCNET introduces an Instance Score (IS) derived from the global segmentation map. The final Fused Score is a combination of the classifier's confidence and the average activation value of the segmentation map within the predicted area.
This approach works because if a tilted word has a low classification score due to background noise in its bounding box, the high activation on the segmentation map "rescues" it. Conversely, a false positive might fool the local classifier but will likely have a weak response on the global segmentation map, allowing it to be filtered out.
Experimental Results
The model was evaluated on several diverse benchmarks, including ICDAR2013, ICDAR2015, ICDAR2017 MLT, and Total-Text. SPCNET achieved impressive performance across the board, setting new state-of-the-art (SOTA) marks at the time of publication:
- ICDAR2015: 87.2% F-measure, surpassing previous SOTA by over 1.5%.
- ICDAR2017 MLT: 74.1% F-measure, outperforming competitors by at least 1.7%.
- Total-Text: 82.9% F-measure, proving its effectiveness on curved text without the need for complex post-processing.
Conclusion
The authors demonstrate that semantic guidance is a computationally efficient way to boost precision, providing a 4.1% improvement on the MLT dataset with marginal extra overhead. By requiring a detection to be confirmed by both a local classifier and a global segmentation map, SPCNET becomes significantly more robust against the visual noise of complex natural environments. Future work will focus on integrating the Re-Score mechanism directly into the training phase and optimizing the backbone for real-time performance.
Summary updated