TL;DR
This paper introduces "characterness," a specialized saliency measure designed to distinguish text from other objects in complex natural scenes. By combining novel structural and appearance cues within a Bayesian framework and refining results with a Markov Random Field (MRF), the authors achieve state-of-the-art performance in detecting "text in the wild."
What Problem Does This Paper Address?
Identifying text in natural images—often called "scene text detection"—is surprisingly difficult for machines despite being effortless for humans. While general "saliency" models identify regions that catch the eye, they are easily distracted by other prominent objects like windows, trees, or signs without text.
Existing methods typically fall into two camps: texture-based (sliding windows that are computationally expensive) and region-based (extracting candidates like MSERs, which often fail due to image blur). This paper seeks a middle ground: a bottom-up approach that treats the "character" as a fundamental unit, similar to how general computer vision treats "objects."
Methods
The authors propose a multi-stage pipeline to evaluate and group text regions:
- Edge-Preserving MSER (eMSER): Standard Maximally Stable Extremal Regions (MSER) often fail when text is blurry. The authors developed eMSER, which incorporates gradient amplitude to better preserve character boundaries in challenging conditions. Visualizing how eMSER succeeds where standard MSER fails
- Three Novel Characterness Cues:
- Stroke Width (SW): Measures the consistency of a region's internal width. Characters typically have very low stroke width variance.
- Perceptual Divergence (PD): Uses KL-divergence of color histograms to ensure a region stands out significantly from its immediate background—a prerequisite for readability.
- Histogram of Gradients at Edges (eHOG): Exploits the fact that character edges usually appear in pairs with opposing gradient directions. The eHOG cue quantifies the balance of opposing gradient directions
- Bayesian Fusion: These three independent cues are integrated using a Naive Bayes model to calculate a final "characterness" probability for every extracted region.
- MRF Labeling & Grouping: Because characters rarely appear in isolation, the authors use a Markov Random Field (MRF) to exploit spatial dependencies. They define a pairwise potential based on color and stroke width similarity, ensuring that neighboring regions with similar properties are labeled consistently. Finally, a mean-shift clustering scheme groups these characters into text lines. Overview of the detection pipeline from region extraction to line formulation
Datasets
The model was trained and evaluated on several benchmark datasets:
- ICDAR 2003 & 2011: Standard benchmarks for robust reading and scene text detection.
- ICDAR 2013 (Text Segmentation Task): Used specifically for its pixel-level ground truth to train the Bayesian cue distributions.
- Oriented Scene Text Database (OSTD): A dataset containing text in arbitrary orientations to test the model's robustness.
Key Insights and Ideas
- Text is a Specific Saliency: The core "aha moment" is that text attracts human attention in a very specific way. By building a "text-specific saliency" (characterness), the model ignores high-contrast non-text distractors that trip up general saliency models.
- Structural vs. Appearance Cues: The combination of internal structure (SW, eHOG) and external contrast (PD) is much more robust than using either alone.
- The Power of Grouping: The MRF step acknowledges that a character's identity is often confirmed by its neighbors. If a region looks like a character and sits next to another region with the same color and stroke width, the probability of both being text increases significantly.
Key Results
The "characterness" model significantly outperformed ten state-of-the-art general saliency models. In a direct comparison using the VOC overlap score, the proposed method achieved 0.5143, nearly doubling the performance of the best general saliency model (LR at 0.2766).
On the ICDAR 2003 dataset, the method achieved a precision of 0.79 and an F-measure of 0.71, outperforming established methods like Epshtein’s Stroke Width Transform. It also showed strong results on oriented text (OSTD), achieving a 6% improvement over previous benchmarks.
Limitations and Future Work
The authors identify two main culprits for "false negatives" (missed text):
- Resolution: The initial region extraction (eMSER) still struggles with extremely low-resolution characters.
- Uncommon Fonts: Characters in highly stylized or rare fonts may produce low characterness scores because their structural cues (like SW or eHOG) deviate too far from the learned distributions.
Future work may involve enlarging training sets to better capture the diversity of uncommon fonts and further refining the region extraction process for low-quality images.
Summary updated