Document AI
Document AI turns images of documents into machine-readable text and structure. It is where vision meets language, and for African languages it carries a special weight, because it unlocks two things at once: the printed and handwritten material that holds much of the world's African-language text, and the historical and cultural record kept in scripts that mainstream tools ignore. Optical character recognition for African scripts lags far behind Latin-script languages, despite tens of millions of speakers, because of both script complexity and data scarcity (Fidel, 2025).
This chapter covers three document tasks:
- OCR: recognising printed text.
- Handwritten text recognition: recognising handwriting.
- Layout and document understanding: recovering a document's structure.
What the three tasks share, and the African scripts that define them
All three tasks start from scanned or photographed pages and produce text or structure, and all share the pipeline of sourcing, scanning to a consistent standard, annotating against the true content, and releasing with clear rights (see the Vision overview). What sets African document AI apart is the writing systems. Beyond the Latin script with its heavy diacritics, African text is written in the Ge'ez (Fidel) syllabary used for Amharic and Tigrinya, in Ajami, which is Arabic script adapted for languages such as Hausa and Fulfulde, and in others like N'Ko and Tifinagh. Tools built for Latin or even standard Arabic perform poorly on these, so African document AI is largely a project of building the data these scripts never had. Two recent datasets show the way: Fidel assembled a large Amharic OCR corpus spanning printed, handwritten, and synthetic text (Fidel, 2025), and a handwritten-text dataset for Ajami manuscripts in Fulfulde and Hausa brought a previously digitally invisible script into reach (Ajami HTR, 2025).