Historical document processing: ARXIVE’s first tools for cultural heritage
ARXIVE’s first historical document processing release combines optical character recognition (OCR), document layout analysis and image-processing tools. The aim is to turn scanned source material into structured digital text and annotations while retaining the connection to the original page.
The work is documented in D2.1: Retro-Digitised and Audiovisual Sources Parsers I. Led by the Foundation for Research and Technology – Hellas (FORTH), Release I focuses on documents and images. Its evaluation draws on material from the National Library of Greece and the D. Diogo de Sousa Archaeology Museum pilot in Portugal, alongside external reference datasets.
How ARXIVE processes scanned historical documents
Archaeological reports and conservation records present different challenges. Reports can combine dense prose, drawings and tables; conservation records may contain both typed entries and handwritten notes.
ARXIVE’s pipeline handles the source image, applies configured image corrections and identifies page regions before extracting text and visual assets. Recognised text is stored with its source region, layout type and reading order, rather than as one continuous page-level string. This preserves the relationship between the extracted content and its position on the page.

A page from the D. Diogo de Sousa Archaeology Museum excavation report alongside its automatically detected layout regions.
Human review and traceable OCR outputs
Automatic document layout predictions can be reviewed before they are accepted for subsequent processing. A browser-based editor allows specialists to add or remove regions and correct their shape, layout type and reading order. The editor focuses on page structure: recognised text remains read-only, rather than being edited through a manual transcription interface.
Each processing run also produces an audit record, known as paradata. This records configuration settings, software and model versions, and runtime information, supporting inspection and reproducibility by documenting how an output was produced.
Bookbinding pattern classification and image comparison
Historical document processing is not limited to text. Decorative impressions on bookbindings carry evidence of craft and provenance. Photographs and pencil rubbings capture these patterns, although abrasion, uneven graphite and paper texture can make visual recognition difficult.
For a bookbinding pattern classification benchmark, the team used 25,757 images from the Einbanddatenbank reference collection. A model was trained on 20,543 images and evaluated on 5,214 validation images across 98 broad decorative categories.
The correct category was the model’s first prediction in 79.8% of validation cases and appeared among its five highest-ranked predictions in 96.2%. These figures describe category classification on this reference dataset, not the accuracy of OCR or the parser as a whole.
A separate browser-based image-alignment tool supports visual comparison. An operator marks at least four corresponding point pairs on two images, such as a bookbinding photograph and a reference rubbing. The tool calculates a projective transformation and displays the aligned images, with an adjustable overlay for inspecting their correspondence.

Comparing a bookbinding photograph with a reference rubbing: matching landmarks are selected on the left, and the aligned images are overlaid on the right. Source: ARXIVE
Results and limits of the first release
Tests on sampled nineteenth- and twentieth-century printed material produced useful transcriptions across standard Greek and Latin typography. These are qualitative findings.
The evaluation also identified practical limits. Historical cursive handwriting remained unreliable for the baseline recogniser. Background grids disrupted text and layout segmentation, while heavy table borders caused some text to be missed. In one excavation-report test, a dense text page was classified as an image; selectively re-processing it with OCR enabled for image regions recovered the omitted text.
Next steps for cultural heritage data
These structured outputs are intended to support subsequent content analysis and bibliography annotation within ARXIVE. The report also demonstrates how selected document structures and conservation records can be mapped into shared semantic representations (these are interoperability demonstrations, not evidence of a fully integrated production platform).
Candidate directions for Release II include historical-handwriting recognition, background-grid suppression, improved correction of severe page curvature, and direct audiovisual transcription and alignment.
Further quantitative evaluation of text recognition, document layout and image rectification is also planned. The first release therefore provides a working baseline for development and a documented account of the challenges that require further testing.
