From OCR to Meaning: Extracting People and Their Roles from Handwritten Archive Scans

Daria Vinogradova, Anna Sidorova27 May 2026

Problem

Yandex's Archive Search holds about 23 million recognized scans from 24 regions: metric books, revision lists and confession rolls. Recognized text is a poor search unit. A birth record names the child in one column and gives the patronymic and surname only through the father, so a full-name query cannot match the child. Parish priests who share a name with an ancestor flood the results. Heuristics fail on angled scans, half pages and overlapping records.

Example from the article: the newborn Paraskeva has no surname in the recognized text; her full name, Paraskeva Aleksandrova Voronina, follows only from the father's name. Priest Aleksey Ptitsyn appears 20 times on one scan.

Solution in brief

A specialized OCR transcribes the page, a detector finds each birth, marriage or death record, and a fine-tuned vision-language model (VLM) reads each cropped record with the OCR text. It outputs a list of people with roles and name fields, not a fixed per-record form. Separately, the OCR moved from lines to text blocks.

Questions this case answers
  • How to extract a variable-length list of entities with roles from long scanned documents when one pass over the whole page exceeds the model's practical context and resolution
  • How to choose a target schema when fixed per-record fields cannot describe the many edge cases, and a per-entity schema is an alternative
  • How to improve recognition of handwritten text when line-by-line processing loses the context needed to read hard words
  • How to turn recognized text from scanned documents into searchable people and roles instead of a bag of words

Tools and methods

  • Specialized OCR — transcribes the scan and hints the VLM
  • Record detector — finds the header and records, with coordinates
  • Alice AI VLM (fine-tuned) — turns a record crop plus OCR text into a list of people
  • Block-level OCR — recognizes whole text blocks instead of single lines
Continue reading — it's free

Google or a one-time email code. No password.