Generalization of Text Line Segmentation for HTR in Historical Documents
Gayan H. Pathirage, Stephan M. Unter, Simon Corbillé, Elisa H. Barney Smith
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.
Create a lesson
Metadata
- Comments
- This work is going to be published in the proceedings for the Historical Image Processing workshop 2026 (HIP 2026), connected to the International Conference of Document Analysis and Recognition (ICDAR)
Related papers
Exploring Attention-Driven Deep Learning for Accurate Lung Nodule Segmentation
Shared title terminologycs.CVNima Shafiei Rezvani Nezhad, Meysam Mansouri, Saeid Ghayour et al.
Seeing Through Preferences: Recovering Hidden Local Preference Neighborhoods for Text-to-Image Alignment
Shared title terminologycs.CVPulkit Bansal, Vivek Srivastava, Shirish Karande
MSBench: Benchmarking Script-Controlled Multi-Shot Text-to-Video Generation
Shared title terminologycs.CVTao Huang, ZiHao Liang, Junhao Liu et al.
AgroVG+: Generalized Visual Grounding in Agriculture with Region-Supervised Action Generation
Shared title terminologycs.CVHaocheng Li, Juepeng Zheng, Guilong Xiao et al.
Robust Concept Erasure in Text-to-Image Models via Simulating Brain Functional Localization
Shared title terminologycs.CVManyi Li, Yufan Liu, Bing Li et al.
One-shot is Enough: Boosting SAM for Medical Image Segmentation through Structured Information Modeling
Shared title terminologycs.CVGuilin Guan