General Detection-based Text Line Recognition
Not on the map. Why?
Abstract (arXiv)
We introduce a general detection-based approach to text line recognition, be it printed (OCR) or handwritten (HTR), with Latin, Chinese, or ciphered characters. Detection-based approaches have until now been largely discarded for HTR because reading characters separately is often challenging, and character-level annotation is difficult and expensive. We overcome these challenges thanks to three main insights: (i) synthetic pre-training with sufficiently diverse data enables learning reasonable character localization for any script; (ii) modern transformer-based detectors can jointly detect a large number of instances, and, if trained with an adequate masking strategy, leverage consistency between the different detections; (iii) once a pre-trained detection model with approximate character localization is available, it is possible to fine-tune it with line-level annotation on real data, even with a different alphabet. Our approach, dubbed DTLR, builds on a completely different paradigm than state-of-the-art HTR methods, which rely on autoregressive decoding, predicting character values one by one, while we treat a complete line in parallel. Remarkably, we demonstrate good performance on a large range of scripts, usually tackled with specialized approaches. In particular, we improve state-of-the-art performances for Chinese script recognition on the CASIA v2 dataset, and for cipher recognition on the Borg and Copiale datasets. Our code and models are available at https://github.com/raphael-baena/DTLR.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 27 of its 61 references that are in the map. First posted on arXiv 25 Sep 2024.
Builds on
27 of 61 references.
References · 27
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2017Random Erasing Data Augmentationcited by 1,235
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 278
- 2021Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognitioncited by 194
- 2021From Two to One: A New Scene Text Recognizer with Visual Language Modeling Networkcited by 97
- 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
- 2022Text Spotting Transformerscited by 70
- 2022DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognitioncited by 62
15 more
- 2019Evaluating Sequence-to-Sequence Models for Handwritten Text Recognitioncited by 58
- 2020End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Networkcited by 50
- 2021Rethinking Text Line Recognition Modelscited by 45
- 2023DTrOCR: Decoder-only Transformer for Optical Character Recognitioncited by 40
- 2013Dropout improves Recurrent Neural Networks for Handwriting Recognitioncited by 39
- 2022MaskOCR: Text Recognition with Masked Encoder-Decoder Pretrainingcited by 34
- 2018Accurate, Data-Efficient, Unconstrained Text Recognition with Convolutional Neural Networkscited by 31
- 2020docExtractor: An off-the-shelf historical document element extractioncited by 20
- 2022Recognition of Handwritten Chinese Text by Segmentation: A Segment-annotation-free Approachcited by 14
- 2020Enhancing Handwritten Text Recognition with N-gram sequence decomposition and Multitask Learningcited by 11
- 2023Faster DAN: Multi-target Queries with Document Positional Encoding for End-to-end Handwritten Document Recognitioncited by 9
- 2018Decipherment of Historical Manuscript Imagescited by 7
- 2018Learning to Read by Spelling: Towards Unsupervised Text Recognitioncited by 6
- 2022Easter2.0: Improving convolutional models for handwritten text recognitioncited by 6
- 2024Revisiting N-Gram Models: Their Impact in Modern Neural Networks for Handwritten Text Recognitioncited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026A Text Recognition Dataset from Sahidic Coptic Ancient Manuscriptscited by 1
- 2026EpiSAM: Character Segmentation in Challenging Stone Inscriptionscited by 1
- 2026Efficient Domain Adaptation for Text Line Recognition via Decoupled Language Modelscited by 0
- 2026Leveraging Morphology for Historical Script Metrological Analysiscited by 0
- 2026EpiSAM: Character Segmentation in Challenging Stone Inscriptions27 Jun 2026
- 2026A Text Recognition Dataset from Sahidic Coptic Ancient Manuscripts14 Jun 2026
- 2026Leveraging Morphology for Historical Script Metrological Analysis8 Jun 2026
- 2026Efficient Domain Adaptation for Text Line Recognition via Decoupled Language Models30 Mar 2026