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

Scene Text Character Recognition Using Spatiality Embedded Dictionary

Song Gao, Chunheng Wang, Baihua Xiao, Cunzhao Shi, Wen Zhou, Zhong ZhangIEICE Trans. Information and Systems 2014

Abstract

Recognizing characters in natural scenes remains a significant challenge due to complex backgrounds, lighting variations, and diverse fonts. This paper introduces the Spatiality Embedded Dictionary (SED), a novel approach that moves beyond rigid spatial grids to a dictionary that understands the geometry and expected locations of character strokes. By linking visual codewords to specific spatial response regions, the proposed method achieves state-of-the-art accuracy on standard benchmarks while significantly reducing computational overhead.

Introduction

Text recognition in "wild" environments—such as street signs or billboards—is considerably more difficult than traditional document scanning. The standard approach typically involves a "coding and pooling" pipeline, often utilizing Spatial Pyramids (SP). SP divides an image into a fixed grid (e.g., 2x2 or 4x4) and describes each cell independently.

However, these rigid grids are often "clumsy" for small character images. As shown in the comparison below, a grid line might bisect a critical character stroke, such as the middle bar of an 'E', transforming a recognizable feature into ambiguous fragments. Conversely, ignoring spatial information entirely leads to confusion between characters with similar components in different positions.

Comparison of (a) rigid Spatial Pyramid grids versus (b) the proposed Spatiality Embedded Dictionary (SED) approach.

Methodology: Spatiality Embedded Dictionary (SED)

The core innovation is the SED, which treats codewords as semantic "strokes" tied to physical locations. The construction involves several key steps:

  1. Font-Aware Clustering: K-means clustering on global HOG features groups training images by style.
  2. Codeword Extraction: Sub-matrices representing specific character strokes are extracted from these clusters.
  3. Spatial Anchoring: Each codeword is assigned a "response region"—a coordinate range where that stroke is expected to appear.
  4. Localized Soft Coding: During inference, features are only compared against codewords whose response regions overlap with the feature's position. This "soft assignment" filters out spatially irrelevant noise.
Illustration of response regions (red and yellow boxes) for specific character strokes in an 'F'.

Experimental Results

The authors evaluated the SED method on the ICDAR2003 and CHARS74K datasets.

  • Accuracy: The SED method achieved 82.0% accuracy on ICDAR2003, a significant improvement over the previous state-of-the-art (Global HOG at 76%). On the more challenging CHARS74K dataset, it reached 67.1%.
  • Efficiency: By restricting comparisons to relevant spatial neighborhoods, the system is remarkably fast. Classification took only 0.15 seconds per character on a standard PC, compared to approximately 2 seconds for traditional Spatial Pyramid approaches with equivalent dictionary sizes.

Conclusion

The Spatiality Embedded Dictionary demonstrates that "less is more" in character recognition. By filtering out codeword-irrelevant regions, the model improves linear separability and reduces noise. While future work could involve automatically learning optimal response region sizes for different stroke types, the current SED framework provides a robust and efficient solution for scene text recognition.

Summary updated

BibTeX
@article{gao2014scene,
  author = {Song Gao and Chunheng Wang and Baihua Xiao and Cunzhao Shi and Wen Zhou and Zhong Zhang},
  title = {{Scene Text Character Recognition Using Spatiality Embedded Dictionary}},
  journal = {IEICE Trans. Information and Systems},
  year = {2014},
  doi = {10.1587/transinf.e97.d.1942},
}
Figure