Papers › GLASS: Global to Local Attention for Scene-Text Spotting

GLASS: Global to Local Attention for Scene-Text Spotting

5 Aug 2022arXiv:2208.03364archive 2025-07-28

Roi Ronen, Shahar Tsiper, Oron Anschel, Inbal Lavi, Amir Markovitz, R. Manmatha

In recent years, the dominant paradigm for text spotting is to combine the tasks of text detection and recognition into a single end-to-end framework. Under this paradigm, both tasks are accomplished by operating over a shared global feature map extracted from the input image. Among the main challenges that end-to-end approaches face is the performance degradation when recognizing text across scale variations (smaller or larger text), and arbitrary word rotation angles. In this work, we address these challenges by proposing a novel global-to-local attention mechanism for text spotting, termed GLASS, that fuses together global and local features. The global features are extracted from the shared backbone, preserving contextual information from the entire image, while the local features are computed individually on resized, high-resolution rotated word crops. The information extracted from the local crops alleviates much of the inherent difficulties with scale and word rotation. We show a performance analysis across scales and angles, highlighting improvement over scale and angle extremities. In addition, we introduce an orientation-aware loss term supervising the detection task, and show its contribution to both detection and recognition performance across all angles. Finally, we show that GLASS is general by incorporating it into other leading text spotting architectures, improving their text spotting performance. Our method achieves state-of-the-art results on multiple benchmarks, including the newly released TextOCR.

PaperPDFCode

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

amazon-research/glass-text-spotting officialmentioned in papermentioned on GitHubpytorch report
amazon-science/glass-text-spotting mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Text DetectionText Spotting

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Text Spotting ICDAR 2015 GLASS F-measure (%) - Generic Lexicon 76.3 #8 of 18 Archive leaderboard report
Text Spotting ICDAR 2015 GLASS F-measure (%) - Strong Lexicon 84.7 #8 of 18 Archive leaderboard report
Text Spotting ICDAR 2015 GLASS F-measure (%) - Weak Lexicon 80.1 #8 of 18 Archive leaderboard report
Text Spotting Total-Text GLASS F-measure (%) - Full Lexicon 83.0 #6 of 12 Archive leaderboard report
Text Spotting Total-Text GLASS F-measure (%) - No Lexicon 76.6 #6 of 12 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections