Generalization of Text Line Segmentation for HTR in Historical Documents
Gayan H. Pathirage, Stephan M. Unter, Simon Corbill\'e, Elisa H. Barney Smith
Key points
From the paper's conclusion- Additionally, we discuss why mean average precision (mAP), a classic evaluation metric for object detection, is insufficient for assessing the quality of a text line segmentation model.
Abstract
In this paper we investigate the generalization capability of state-of-the-art object detection models (Hi-SAM, YOLO, and RT-DETR) for the automatic segmentation of text lines in historical documents. Generalization is needed because it is not practical for museums and archives to produce large amounts of labeled samples for each new collection. We also evaluate the few-shot setting by fine-tuning the networks with only a small number of training samples per target dataset. To this end, we use nine different datasets that differ significantly in visual layout and language. Additionally, we discuss why mean average precision (mAP), a classic evaluation metric for object detection, is insufficient for assessing the quality of a text line segmentation model. Depending on the dataset, our CRNN models achieve character error rates (CER) ranging from 2.48% to 7.07% per page for the segmented text lines. This is sufficient for reading comprehension and simple text searches. Finally, we quantify the resource and time requirements of training and inference in different use case settings. This forms the basis for more informed decisions about model and hardware choices based on available resources.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Scratch-Trained CRNNs vs. Pretrained Vision Transformers: A Controlled Benchmark of Augmentation and Model Scale in Low-Resource Chagatai HTRInformation · 2026
- From Zero to OCR: A Data-Centric Framework for Unsupported Low-Resource ScriptsarXiv · 2026
- OCR in the Foundation Model Era: From Specialist Models to Unified ModelsarXiv · 2026
- A Review of Handwritten and Printed Text Segmentation: Problem Formulation, Benchmarks, Methods, and Open ChallengesData · 2026
- Prism: Hierarchical Text Detection with Minimalist DesignarXiv · 2026
- Entity-Aware Evaluation of OCR Systems for Historical Document TranscriptionarXiv · 2026