NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Fast Hierarchical Method for Multi-script and Arbitrary Oriented Scene Text Extraction

Lluis Gomez i Bigorda, Dimosthenis Karatzas · DOI

TL;DR

This paper introduces a novel hierarchical approach for detecting text in natural images, even when it's in different languages, scripts, or orientations. By leveraging the inherent structure of text (words, lines, paragraphs) and using a smart clustering method with a unique stopping rule, their algorithm achieves state-of-the-art results on challenging datasets without needing script-specific training.

What Problem Does This Paper Address?

Extracting text from natural scene images is a surprisingly difficult computer vision problem. Unlike text in documents, scene text can appear in any language, script, orientation, and with varying fonts, sizes, and lighting conditions. Existing methods often struggle with this variability, with even top performers achieving only moderate recall. While text naturally forms hierarchical structures (characters form words, words form lines, etc.), most current approaches don't fully exploit this, often treating text detection as a collection of independent region classifications. This paper aims to bridge this gap by directly using the hierarchical organization of text to improve detection accuracy and robustness.

Methods

The core of the proposed method is a hierarchical clustering approach that builds a "dendrogram" (a tree-like structure) representing potential text groupings. Here's a breakdown of their key innovations:

  • Hierarchical Clustering: They start by segmenting the image into atomic regions (using MSER++ for robustness across color channels) and then use an agglomerative clustering algorithm (Single Linkage Clustering) to group these regions. This process iteratively merges the closest pairs of regions based on a learned similarity feature space.
  • Optimal Clustering Feature Space: Instead of relying on hand-crafted features, they learn an optimal set of weights for a 5-dimensional feature space (including color, gradient, stroke width, etc.). This learned feature space is designed to maximize the "text group recall" (TGR), ensuring that the clustering process generates many pure text groups (groups containing only text regions). They use a grid search on a mixed training set to find these optimal weights.
  • Novel Stopping Rule: A crucial part of their method is a sophisticated stopping rule that determines which branches of the dendrogram represent actual text groups. This rule combines:
  • Discriminative Text Group Classifier: A trained AdaBoost classifier that learns to distinguish between text groups and non-text groups based on features extracted from the group itself (e.g., intra-similarity, shape, collinearity).
  • Probabilistic Cluster Meaningfulness: A measure (Number of False Alarms - NFA) that quantifies how likely a group's feature distribution is a random occurrence. This helps to prune out "outlier" regions that might have been incorrectly merged by the classifier.
  • Incremental Descriptors: To ensure efficiency, many of the group-level features used by the classifier are computed incrementally, meaning they can be derived from previously computed features without re-calculating everything from scratch.

Datasets

The authors trained and evaluated their method on several standard datasets:

  • Training: A mixed dataset combining images from the MSRRC and ICDAR datasets. They manually annotated text groups (words and lines) for training.
  • Evaluation:
    • MSRRC (Multi-script Robust Reading Competition): A challenging dataset with multi-script and arbitrary orientations.
  • MSRA-TD500: Another dataset featuring arbitrary orientations.
  • KAIST: A dataset with Korean, English, and mixed-language text.
  • ICDAR 2013: A standard dataset for English, horizontally-aligned text.
  • ICDAR 2003: An older version of the ICDAR dataset.

Key Insights and Ideas

  • Hierarchy is Key: The paper strongly emphasizes that explicitly leveraging the hierarchical structure of text is a powerful way to improve detection, moving beyond treating text as isolated regions.
  • Learned Features Outperform Hand-Crafted: By learning an optimal feature space for clustering, they can better capture the subtle similarities between text components, leading to higher recall.
  • Smart Stopping Rule is Crucial: Simply classifying regions isn't enough. A well-designed stopping rule that combines discriminative power with a measure of statistical meaningfulness is essential for accurately identifying text groups and avoiding false positives.
  • Generalization is Achieved: Training on a single, mixed dataset and achieving state-of-the-art results across diverse datasets (multi-script, arbitrary orientation) highlights the robustness and generalizability of their approach.
  • Rotation Invariance: The use of squared Euclidean distance for spatial terms in their feature space makes the clustering analysis inherently rotation-invariant, simplifying the handling of arbitrary orientations.

Key Results

The proposed method demonstrates strong performance across multiple challenging datasets:

  • MSRRC: Achieved an F-score of 0.73, outperforming previous methods.
  • KAIST: Achieved an F-score of 0.76 for segmentation and 0.77 for localization.
  • ICDAR 2013: Achieved an F-score of 0.73 for segmentation, competitive with top methods.
  • ICDAR 2003: Achieved an F-score of 0.69 for localization.
  • Training Efficiency: The algorithm is trained on a single mixed dataset, demonstrating its general applicability.
  • Runtime: The average runtime is reported as 1.67 seconds per image on the MSRRC dataset, indicating reasonable efficiency.

Limitations and Future Work

  • Outlier Handling: While the NFA measure helps, the paper acknowledges that the classifier might still accept groups with outliers. The stopping rule is designed to mitigate this by comparing meaningfulness with successors and ancestors.
  • Diversification for Recall: The authors note that while diversification (using multiple weight configurations) can significantly increase recall, it might lead to a drop in precision. This trade-off is something to consider if maximizing recall is the primary goal.
  • Future Work: The paper doesn't explicitly detail future work, but the success in handling diverse text types suggests potential for further improvements in robustness to extreme degradation, very small text, or complex layouts. The learned feature space and hierarchical approach could also be extended to other scene text understanding tasks.

Summary updated

BibTeX
@article{bigorda2014fast,
  author = {Lluis Gomez i Bigorda and Dimosthenis Karatzas},
  title = {{A Fast Hierarchical Method for Multi-script and Arbitrary Oriented Scene Text Extraction}},
  journal = {Int. J. Document Anal. Recognit.},
  year = {2014},
  doi = {10.1007/s10032-016-0274-2},
}
Figure