cs.CVApr 14, 2026

From Handwriting to Structured Data: Benchmarking AI Digitisation of Handwritten Forms

Authors: Nicholas Pather, Joshua Fouché, Sitwala Mundia, Karl-Günter Technau, Thokozile Malaba, Alex Welte, Ushma Mehta, Bruce A. Bassett

Organizations: CSAM, University of the Witwatersrand & Grai Labs, Johannesburg, South Africa · Grai Labs, Cape Town, South Africa · Faculty of Health Sciences, University of the Witwatersrand, South Africa · Empilweni Services and Research Unit, Department of Paediatrics and Child Health, University of the Witwatersrand, Johannesburg, South Africa · Division of Epidemiology and Biostatistics, School of Public Health, Faculty of Health Sciences, University of Cape Town, South Africa · Discipline of Public Health, School of Medicine, University of KwaZulu-Natal, South Africa · Division of Clinical Pharmacology, Department of Medicine, University of Cape Town, South Africa · WITS MIND Institute and CSAM, University of the Witwatersrand, University of Cape Town & Grai Labs, Cape Town, South Africa

Abstract

Manual digitisation of structured handwritten documents is slow and costly. We benchmark 17 leading frontier multi-modal large language models and open-source models against a very challenging real-world medical form that mixes dates; structured, printed text; hand-written responses and significant variability challenges. None of the smaller or older models perform well but the latest Google and OpenAI models reach accuracies around 85%85\% with weighted F1 scores ≃90%\simeq 90\% across the discrete or predefined fields despite the very challenging nature of the responses. Clear task specific strengths emerge: GPT 5.4 excels in noisy date extraction as well as reliability with the lowest hallucination rate (6%6\%). Claude Sonnet 4.6 had the best average performance across formatted fields (dates and numerical values), while Gemini 3.1 delivered the best overall performance, with the lowest free text error rates (WER = 0.500.50 and CER = 0.310.31) and the strongest results across discrete classification metrics. We further show that prompt optimisation dramatically improves macro precision, recall and F1 by over 60%60\%, but has little impact on weighted metrics (only ∼2−5%\sim2-5\% improvement). These results provide evidence that the rapid improvements of multimodal large language models offer a compelling pathway toward fully automated digitisation of complex handwritten workflows that is particularly relevant in low- and middle-income countries.

Figures & tables

Explore similar work

CardsList