Abstract: Candidate text region extraction plays a critical role in convolutional neural network (CNN) based text detection from natural images. In this paper, we propose a CNN based scene text detection algorithm with a new text region extractor. The so called candidate text region extractor I-MSER is based on Maximally Stable Extremal Region (MSER), which can improve the independency and completeness of the extracted candidate text regions. Design of I-MSER is motivated by the observation that text MSERs have high similarity and are close to each other. The independency of candidate text regions obtained by I-MSER is guaranteed by selecting the most representative regions from a MSER tree which is generated according to the spatial overlapping relationship among the MSERs. A multi-layer CNN model is trained to score the confidence value of the extracted regions extracted by the I-MSER for text detection. The new text detection algorithm based on I-MSER is evaluated with wide-used ICDAR 2011 and 2013 datasets and shows improved detection performance compared to the existing algorithms.
Introduction
Detecting text in natural scenes is significantly more challenging than traditional document scanning. Real-world environments introduce complex variables such as motion blur, varying illumination, and geometric distortions. Traditional detection methods often utilize Maximally Stable Extremal Regions (MSER) to identify stable "blobs" that might represent characters. However, standard MSER often produces a high volume of overlapping regions, many of which conflate text with background elements. This redundancy increases the computational burden on downstream classifiers and lowers overall precision.
This paper introduces I-MSER (Isolated Maximally Stable Extremal Regions), a refined extraction technique designed to produce non-overlapping, representative candidate regions. By optimizing the region extraction phase, we reduce computational noise for a Convolutional Neural Network (CNN) classifier, leading to state-of-the-art recall on standard benchmarks.
The I-MSER Extractor
The core innovation of this work is the "Isolation" process applied to the MSER tree. Text characters typically exhibit sharp outer edges and high internal similarity. In a standard MSER tree, this results in multiple nested regions that are nearly identical.
Instead of retaining every stable region, the I-MSER algorithm merges parent and child regions if their size difference falls below a stability threshold ($\gamma$). If the regions are sufficiently distinct, the smaller region is "cut out" from the larger one. This ensures that every pixel in the image belongs to exactly one candidate region, effectively eliminating the redundancy that plagues standard MSER implementations.
CNN Classification and Post-Processing
Once I-MSER identifies candidate regions, they are filtered based on geometric properties (such as the number of internal "holes") and normalized to $32 \times 32$ pixel patches. These patches are then processed by a 6-layer CNN architecture:
- Convolutional Layers: Two layers with 64 and 96 filters respectively.
- Pooling: Two average-pooling layers to maintain spatial invariance.
- Fully Connected: Two layers leading to a softmax classifier.
The CNN outputs a confidence score for each patch. Finally, a text line formation method groups high-confidence regions based on proximity, height similarity, and color consistency to generate the final bounding boxes.
Handling Background Clutter
A key advantage of I-MSER is its ability to distinguish text from complex natural backgrounds like foliage. While text is internally stable, complex background regions often contain many weak internal edges. This leads to low similarity between nested MSER regions in the background, causing the I-MSER algorithm to fragment these areas into many small, low-confidence regions that the CNN can easily reject.
To optimize this distinction, the stability parameter $\gamma$ was mathematically derived by analyzing the cumulative distribution of pixel differences in both text and background samples, maximizing the separation between the two.
Experimental Results
The proposed algorithm was evaluated on the ICDAR 2011 and 2013 datasets. The I-MSER approach demonstrated significant improvements in both Recall and F-measure:
- ICDAR 2011: Achieved an F-measure of 0.76 and a Recall of 0.71, outperforming established methods like the Stroke Width Transform (SWT).
- ICDAR 2013: Achieved an F-measure of 0.77 and a Recall of 0.71.
By producing fewer, higher-quality candidates than sliding-window or standard MSER methods, the I-MSER algorithm significantly reduces the computational complexity of the classification stage while maintaining high detection accuracy.
Conclusion
The I-MSER algorithm provides a robust solution to the problem of region redundancy in scene text detection. By isolating representative regions before CNN classification, the system achieves high recall and efficiency. Future work may involve integrating this isolated extraction logic into end-to-end deep learning architectures to further enhance semantic context and handle more complex text orientations.
Summary updated