A Hierarchical Dataset and Deep Learning Evaluation for Ancient Arabic Manuscript Segmentation
DOI:
https://doi.org/10.19139/soic-2310-5070-4121Keywords:
YOLOv8, Faster R-CNN, Mask R-CNN, OCR, hierarchical segmentation, datasetAbstract
The complexity associated with the recognition of ancient Arabic manuscripts lies in the various styles used in calligraphy, the use of ligatures, and the extent of degradation in the documents. This investigation focuses on the implementation of hierarchical segmentation at the line, word, pseudo-word, and character levels. For this purpose, a domain-specific dataset was developed using a variety of sources and was manually annotated to incorporate the various styles and configurations used in the documents. Normalization, denoising, and enhancement techniques were used for preprocessing the dataset. Three architectures of deep learning models, YOLOv8, Faster R-CNN, and Mask R-CNN, were used to test the dataset developed in this case. From the results obtained from this experiment, it was evident that YOLOv8 was effective at the line level, while Mask R-CNN was effective at the character level. However, Faster R-CNN was competitive at the word level, but cursive scripts presented a problem for this model. This investigation’s contribution lies in the development of a hierarchical dataset and a comprehensive benchmarking test, which together contribute to the development of sustainable OCR technology and the preservation of Arabic manuscript heritage. To provide a more comprehensive evaluation, we additionally benchmark two segmentation-specific baselines (U-Net and DeepLabV3+) at the character level, and report YOLOv8 metrics as mean ± standard deviation over three random seeds. A striking finding is that architecture choice can matter more than dataset size at fine granularity levels: Faster R-CNN achieves 70.2 AP50 on pseudo-words where YOLOv8 reaches only 30.9 ± 23.1, due to input resolution constraints. We position this work as a dataset-and-benchmark contribution: the primary deliverable is a publicly released, hierarchically annotated corpus (CC BY 4.0), accompanied by a reproducible evaluation protocolDownloads
Published
2026-10-20
How to Cite
Bouchantouf, A., & Lamghari, N. (2026). A Hierarchical Dataset and Deep Learning Evaluation for Ancient Arabic Manuscript Segmentation. Statistics, Optimization & Information Computing. https://doi.org/10.19139/soic-2310-5070-4121
License
Copyright (c) 2026 Aya Bouchantouf, Nidal Lamghari

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).