Abstract
Detecting curved and multi-oriented text in natural scenes remains a significant challenge for computer vision systems, particularly in cluttered environments. Traditional methods often struggle with instance ambiguity when text lines are tightly packed. This paper introduces Conditional Spatial Expansion (CSE), a novel "seed-and-expand" mechanism that treats text detection as a progressive region-growing process. By starting from a single point within a text instance and intelligently merging neighboring regions based on local features and global context, CSE achieves state-of-the-art robustness and instance-level selectivity.
Introduction
Standard text detection algorithms typically rely on rectangular bounding boxes or polygon regression. While effective for horizontal text, these approaches often fail when encountering curved or slanted text. Segmentation-based models, another common alternative, frequently suffer from "leakage" in crowded scenes, where pixels from adjacent text instances are incorrectly merged into a single mask.
The core problem addressed by this research is the ambiguity inherent in crowded scenes. When two curved text lines are in close proximity, a standard region proposal often captures parts of both. Regression models may attempt to wrap a single boundary around two distinct objects, while segmentation models may fail to distinguish the boundary between them. Conditional Spatial Expansion (CSE) is designed to be highly selective, focusing exclusively on the specific text instance associated with a starting "seed" point.
Methodology: Conditional Spatial Expansion
The CSE mechanism moves away from holistic shape prediction in favor of a "dendritic" (tree-like) expansion process. This approach allows the model to adaptively follow the contours of a text instance regardless of its curvature.
The Expansion Process
- Seeding: The process is initialized with a seed point, typically located at the center of a proposal box generated by a first-stage detector such as Faster R-CNN.
- Dendritic Expansion: From the initial seed, the model explores a grid of feature points. For every point, it predicts an "expanding indicator"—a direction (up, down, left, right, or none) that points toward the next neighbor to be merged into the instance.
- Conditional Modeling: The decision to merge a neighbor is conditioned on both local visual features and the context of the regions already incorporated. This conditional prediction ensures that the expansion remains confined within the boundaries of a single text instance.
- Gating and Normalization: To manage the complex information flow across the feature grid, the authors implement a gating mechanism similar to those found in Long Short-Term Memory (LSTM) networks. This is paired with Layer Normalization to maintain numerical stability during the recursive expansion steps.
Experimental Evaluation
The authors evaluated the CSE method on two primary benchmarks for curved and long text: Total-Text, which features horizontal, multi-oriented, and curved text; and CTW-1500, a dataset specifically designed for long, curved text lines containing over 10,000 instances. The model was pre-trained using the ICDAR-2017 MLT and MSRA-TD500 datasets.
Key Results
The CSE method demonstrated superior performance compared to existing state-of-the-art (SOTA) methods, including Mask R-CNN and various polygon regression techniques:
- Total-Text: Achieved an F-score of 80.2%, a significant improvement over the Mask R-CNN baseline of 67.5%.
- CTW-1500: Achieved an F-score of 78.4%, outperforming previous best-performing methods by several percentage points.
- Efficiency: Despite its recursive nature, the CSE component is highly efficient, adding only approximately 0.38 to 0.42 ms to the processing time per image.
Discussion and Insights
A critical advantage of CSE is its instance-level selectivity. Unlike standard segmentation, which labels all "text-like" pixels, CSE is inherently instance-aware because the expansion must originate from a specific seed. This makes it significantly less likely to accidentally merge adjacent but separate text lines.
Furthermore, the system exhibits remarkable robustness to seed placement. As long as the initial seed is located anywhere within the text region, the expansion mechanism is flexible enough to recover the full shape of the instance. This decouples the performance of CSE from the precision of the initial detector; even coarse or slightly off-center proposal boxes provide sufficient starting points for the seed-and-expand logic.
Limitations and Future Work
While CSE represents a significant step forward, it still relies on a first-stage detector to provide initial seeds. If the primary detector misses an instance entirely, CSE cannot recover it. Future research may focus on tighter, end-to-end integration with the backbone network to further optimize speed and potentially eliminate the dependency on a separate first-stage detector. Additionally, extremely intertwined or overlapping text remains a challenging edge case for seed-based methods.
Conclusion
Conditional Spatial Expansion provides a robust and efficient solution for curved text detection. By framing detection as a conditional, instance-aware expansion process, the model overcomes the limitations of traditional regression and segmentation methods in complex, crowded scenes.
Summary updated