STEP - Towards Structured Scene-Text Spotting

Sergi Garcia-Bordils, Dimosthenis Karatzas, Marçal Rusiñol; Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2024, pp. 883-892


We introduce the structured scene-text spotting task, which requires a scene-text OCR system to spot text in the wild according to a query regular expression. Contrary to generic scene-text OCR, structured scene-text spotting seeks to dynamically condition both detection and recognition on user-provided regular expressions. To tackle this task, we propose the Structured TExt sPotter (STEP), a model that exploits the provided text structure to guide the OCR process. STEP is able to deal with regular expressions that contain spaces and it is not bound to detection at word-level granularity. Our approach enables accurate zero-shot structured text spotting in a wide variety of real-world reading scenarios and is solely trained on publicly available data. To demonstrate the effectiveness of our approach, we introduce a new challenging test dataset that contains several types of out-of-vocabulary structured text, reflecting important reading applications such as weight information, serial numbers, license plates etc. We demonstrate that STEP can provide specialized OCR performance on demand in all tested scenarios. The code and test dataset are released at

Related Material

[pdf] [supp]
@InProceedings{Garcia-Bordils_2024_WACV, author = {Garcia-Bordils, Sergi and Karatzas, Dimosthenis and Rusi\~nol, Mar\c{c}al}, title = {STEP - Towards Structured Scene-Text Spotting}, booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)}, month = {January}, year = {2024}, pages = {883-892} }