General Detection-based Text Line Recognition. Baena, R., Kalleli, S., & Aubry, M. 2024. Version Number: 1
Paper doi abstract bibtex 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.
@misc{baena2024general,
title = {General {Detection}-based {Text} {Line} {Recognition}},
copyright = {Creative Commons Attribution 4.0 International},
url = {https://arxiv.org/abs/2409.17095},
doi = {10.48550/ARXIV.2409.17095},
abstract = {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.},
urldate = {2024-11-08},
publisher = {arXiv},
author = {Baena, Raphael and Kalleli, Syrine and Aubry, Mathieu},
year = {2024},
note = {Version Number: 1},
keywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences},
}
Downloads: 0
{"_id":"k53qBCTxKym4M4uFx","bibbaseid":"baena-kalleli-aubry-generaldetectionbasedtextlinerecognition-2024","author_short":["Baena, R.","Kalleli, S.","Aubry, M."],"bibdata":{"bibtype":"misc","type":"misc","title":"General Detection-based Text Line Recognition","copyright":"Creative Commons Attribution 4.0 International","url":"https://arxiv.org/abs/2409.17095","doi":"10.48550/ARXIV.2409.17095","abstract":"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.","urldate":"2024-11-08","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Baena"],"firstnames":["Raphael"],"suffixes":[]},{"propositions":[],"lastnames":["Kalleli"],"firstnames":["Syrine"],"suffixes":[]},{"propositions":[],"lastnames":["Aubry"],"firstnames":["Mathieu"],"suffixes":[]}],"year":"2024","note":"Version Number: 1","keywords":"Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences","bibtex":"@misc{baena2024general,\n\ttitle = {General {Detection}-based {Text} {Line} {Recognition}},\n\tcopyright = {Creative Commons Attribution 4.0 International},\n\turl = {https://arxiv.org/abs/2409.17095},\n\tdoi = {10.48550/ARXIV.2409.17095},\n\tabstract = {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.},\n\turldate = {2024-11-08},\n\tpublisher = {arXiv},\n\tauthor = {Baena, Raphael and Kalleli, Syrine and Aubry, Mathieu},\n\tyear = {2024},\n\tnote = {Version Number: 1},\n\tkeywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences},\n}\n\n\n\n","author_short":["Baena, R.","Kalleli, S.","Aubry, M."],"key":"baena2024general","id":"baena2024general","bibbaseid":"baena-kalleli-aubry-generaldetectionbasedtextlinerecognition-2024","role":"author","urls":{"Paper":"https://arxiv.org/abs/2409.17095"},"keyword":["Computer Vision and Pattern Recognition (cs.CV)","FOS: Computer and information sciences"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/fsimonetta","dataSources":["pzyFFGWvxG2bs63zP"],"keywords":["computer vision and pattern recognition (cs.cv)","fos: computer and information sciences"],"search_terms":["general","detection","based","text","line","recognition","baena","kalleli","aubry"],"title":"General Detection-based Text Line Recognition","year":2024}