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.
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:
- Font-Aware Clustering: K-means clustering on global HOG features groups training images by style.
- Codeword Extraction: Sub-matrices representing specific character strokes are extracted from these clusters.
- Spatial Anchoring: Each codeword is assigned a "response region"—a coordinate range where that stroke is expected to appear.
- 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.
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