Abstract
Scene text detection in natural environments faces significant hurdles due to extreme scale variations and complex geometric shapes. Traditional methods often rely on rigid quadrilateral bounding boxes, which struggle with curved or elongated text lines. This paper introduces Multi-Scale Shape Regression (MSR), a novel framework that abandons rigid boxes in favor of predicting dense boundary points. By regressing pixels to their nearest text boundaries and utilizing a multi-scale feature fusion architecture, MSR accurately captures text of arbitrary shapes and curvatures while remaining robust to massive size variations.
Introduction
Detecting text "in the wild" is a fundamentally different challenge than traditional OCR. The authors identify two primary obstacles to high-accuracy scene text detection:
- Geometric Complexity: Most state-of-the-art detectors attempt to fit text into quadrilaterals. This approach fails for curved text—often including excessive background noise—and for long text lines, where minor regression errors at the center result in significant misalignments at the boundaries.
- Extreme Scale Variation: The size ratio between the smallest and largest text in a single dataset can reach up to 230x. Standard networks frequently miss "ultra-small" text or produce fragmented detections for "ultra-large" text instances.
Methodology
The MSR framework introduces two core innovations to address these challenges: Dense Shape Regression and a Multi-Scale Network architecture.
Dense Shape Regression
Instead of predicting four corners, MSR identifies a "central text region." Every pixel within this region predicts its $x$ and $y$ distance to the nearest point on the text boundary. By regressing to the nearest point rather than distant vertices, the numerical error is significantly reduced, making the model highly effective for long or curved text. To convert these predicted points into a final detection, the Alpha-Shape Algorithm is used to generate a concave polygon that tightly encloses the dense boundary points.
Multi-Scale Network (MSR)
The architecture employs multiple parallel network channels, feeding the original image and down-scaled versions into the network simultaneously. Features from these different scales are extracted and fused using a "Concat UpConv" module. This parallel processing ensures that features for tiny text are preserved, making the model inherently scale-invariant.
Experimental Evaluation
The authors evaluated MSR on several challenging benchmarks, including CTW1500 and Total-Text (specialized for curved text), MSRA-TD500 (multi-oriented long lines), and ICDAR2015 (incidental scene text). The system was trained using a multi-task loss function combining Dice Coefficient loss for text region classification and Smooth L1 loss for distance regression.
Key Results
MSR demonstrated substantial performance gains, particularly on non-standard text shapes:
- Curved Text Superiority: On the CTW1500 dataset, MSR achieved an F-score of 81.5%, outperforming the previous state-of-the-art (TextSnake) by nearly 6%.
- Ablation Study: The authors showed that while an EAST-like baseline achieved an F-score of 60.4%, the addition of Multi-Scale and Shape Regression components boosted this to 81.5%—a 21.1 point improvement.
- General-Purpose Robustness: The model maintained competitive performance on straight-text datasets like ICDAR2015, proving its versatility across different text styles.
Discussion and Insights
The success of MSR stems from the "Nearest Point" advantage. Traditional regression targets are often far from the pixels being processed; by minimizing the "search space" for the network, MSR achieves higher localization accuracy. Furthermore, the use of concave polygons (via Alpha-Shapes) allows the model to exclude non-text background noise that typically gets trapped inside standard rectangular boxes.
Despite its strengths, MSR faces limitations in scenarios involving spatial overlap, where adjacent text regions may merge, and extreme sparsity, where widely separated characters in a word may result in "broken" detections. Future work will likely involve integrating semantic context to better bridge gaps between separated characters.
Conclusion
MSR represents a significant shift in scene text detection by prioritizing dense geometric regression over rigid bounding boxes. Its multi-scale architecture and nearest-point regression strategy provide a robust solution for the most challenging aspects of text detection in the wild, setting a new benchmark for curved and multi-scale text recognition.
Summary updated