Manuscript Offprint

arXiv:2610.36540

Frugal Handwritten Text Recognition for Sub-Saharan Civil-Status Registers: A Smartphone-to-Records Pipeline with CPU-Only Inference

Ousmane Hamadou, Jean Louis Kedieng Ebongue Fendji

Ousmane Hamadou 1^{1}

ousmanehamadou776@gmail.com

Jean Louis Kedieng Ebongue Fendji 2,3^{2,3}

j.fendji@egcim-univ-ndere.cm

1^{1} Department of Computer Science

Faculty of Science, University of

Ngaoundéré

Ngaoundéré, Cameroon

2^{2} Centre of Research, Experimentation and Production

SCEMI, University of Ngaoundéré

Ngaoundéré, Cameroon

3^{3} Stellenbosch Institute for Advanced Study

Wallenberg Research Centre at

Stellenbosch University

Stellenbosch, South Africa

Abstract

Handwritten civil-status registers across Sub-Saharan Africa are being photographed, but rarely transcribed, which leaves their content unsearchable. Local administrations that hold these records typically lack GPUs, reliable connectivity, and the budget for external digitization services. We study whether a frugal pipeline, with consumer-grade capture and CPU-only inference, can make such registers machine-readable. We introduce a corpus of 1,568 smartphone images of handwritten birth, marriage, and death records from a municipal registry in Chad, with line-level transcriptions for 185 records. Our pipeline combines a fully classical preprocessing stage, running at about 2.6 images per second on a laptop CPU, with a Kraken recognizer fine-tuned from a pretrained model in about four hours on a free-tier GPU. On manually corrected line segmentation and a single-registry test set whose writers also appear in training, fine-tuning reduces the character error rate from 14.53% to 0.50% and the word error rate from 56.93% to 3.37%. On a six-core laptop CPU, the recognizer weighs 61 MiB, peaks below 2.6 GiB of RAM, and processes an image in under 6 s on average, excluding line segmentation. Finally, a downstream information-extraction task shows that residual recognition errors cost about 9 F1 points on role resolution, compared with a 36.7-point gap between the fine-tuned and pretrained recognizers. These results are evidence of feasibility within one registry, not of performance on unseen writers or sites; we discuss these limitations in detail.

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms. Accepted at the GlobalSouthCV Workshop, BMVC 2026, Lancaster, UK.

1 Introduction

Civil registration is the documentary basis of legal identity. Birth, marriage, and death records establish age, filiation, and nationality, and they feed the demographic statistics that public policy depends on [1, 2]. In Sub-Saharan Africa, a large share of these records exists only as handwritten registers kept in municipal offices, often in poor physical condition and exposed to humidity, fire, and loss [1, 3]. Coverage is also low: UNICEF estimates that only about half of children under five in the region have their births registered [4]. For people without recent documents, these older registers can be the only surviving proof of identity or filiation [5].

Several countries have launched large modernization programmes, such as Senegal's NEKKAL [1][1], which are funded at a scale most local administrations cannot match. These efforts mainly computerize new registrations or index scanned documents at the level of whole records. The historical handwritten stock is typically photographed, when it is digitized at all, but its content remains unreadable by machines: an image without a transcription cannot be searched by name, date, or place.

Handwritten text recognition (HTR) is the obvious remedy, but two obstacles stand in the way in this setting. First, domain mismatch: publicly available HTR models are trained predominantly on European historical documents. They have never seen the handwriting styles, administrative templates, or, most importantly, the personal and place names that dominate African civil records. Second, resource constraints: most recent HTR work assumes GPU training and inference, and often cloud processing. That is incompatible with offices that have only standard laptops, intermittent connectivity, and legitimate concerns about sending identity data to external providers.

In this paper we ask whether a frugal pipeline, meaning one captured with consumer hardware, adapted with a small amount of annotated data, and run for inference entirely on a CPU, can reach transcription quality good enough to be useful. We make the following contributions:

  1. A new corpus of Sub-Saharan civil-status records. We collected 1,568 smartphone images of handwritten birth, marriage, and death records from a municipal registry in Chad, using a low-cost capture protocol. The records follow five distinct administrative templates. We provide line-level transcriptions for 185 records (Section 3).

  2. A classical, CPU-only preprocessing pipeline for smartphone RAW captures. It handles page detection, separation of two records captured in one image, binding-margin removal, and upside-down image detection without any learned model. It ran on the full corpus without errors at about 2.6 images per second on a laptop CPU; the accuracy of its outputs was not measured (Section 4.1).

  3. An evaluation of frugal HTR adaptation. Fine-tuning a Kraken recognizer on this small ground truth for about four hours on a free-tier GPU reduces CER from 14.53% to 0.50% on corrected line segmentation and writers seen in training. The resulting model runs on a laptop CPU with 61 MiB of weights, under 2.6 GiB of peak memory, and under 6 s per image (Sections 4.2–5.3).

  4. An error-propagation analysis on a downstream information-extraction task. It quantifies how much of the end-task error comes from recognition rather than from later stages (Section 5.4).

Capture, preprocessing, and inference run on consumer hardware without a GPU; only fine-tuning used a free-tier cloud GPU. The stages are evaluated separately: line segmentation was corrected manually, so the pipeline is not evaluated end to end. We also report the limitations of our study openly, including the single collection site, the small test set, and the absence of inter-annotator agreement (Section 6), and we describe how we handled the personal data involved (Section 7).

References (26)