arXiv:2610.16862cs.CVOct 2026

Manuscript Offprint

arXiv:2610.16862

From Volpiano to Pixels: 30,000 Lines of OMR Ground Truth for Medieval Chant

Robert Klugseder

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Optical music recognition (OMR) for medieval chant lacks training data linking manuscript images to musical symbols across notational families. Using existing Volpiano transcriptions from the Cantus Database [1], we created 30,567 image-target pairs from ten sources in eleven exports, including 339 verse fragments. Their target sequences contain 1,952,143 tokens. The pipeline locates staff systems, infers clefs and maps known pitches to staff positions. Six detector families handle the different layouts and notations. Where heuristics failed, two small U-Nets learned staff lines and clef letters from manual annotations. Reviews of sampled export lines found zero to four pitch or clef errors, but used different error definitions and do not provide a uniform audit of the corpus. A CRNN trained from scratch achieved a symbol error rate of 9.6 % on 3,086 test lines. The earlier model, trained mainly on Austrian sources of the 15th and 16th centuries, scored 45.3 %. In three separate training runs, each excluding one manuscript, error rates on the excluded manuscript were 21.5–31.0 %. Model-assisted alignment recovered a further 2,686 lines.

1 Problem

A chant OMR model reads a staff image and outputs musical symbols. Training requires images paired with reference transcriptions, often called ground truth. Creating these labels by hand is costly.

We began with a convolutional recurrent neural network (CRNN), which combines image features with sequence recognition. Jorge Calvo-Zaragoza's team at the University of Alicante's Pattern Recognition and Artificial Intelligence Group (PRAIG) [2] trained the model on ground truth that the author had prepared manually for Austrian chant manuscripts. During this project, the model was available only in ONNX, an exchange format for trained models.

Our copy of the Cantus Database, dated 16 February 2026, contains Volpiano strings [3] for 57,085 chants with image links. Volpiano encodes pitches as ASCII characters and marks word, syllable, neume and line boundaries (7). We can obtain training labels by aligning these transcriptions with the images, after checking each source for omissions, transcription errors and melodic variants.

The closest existing resource is PRAIG's AMNLT [4], released on Hugging Face under CC BY-NC 4.0. It contains three real-manuscript corpora: Einsiedeln, Salzinnes and Solesmes, with 1,816, 2,965 and 854 staff excerpts. GregoSynth adds 126,579 synthetic staves rendered by GregorioTeX from real GABC transcriptions [5]. We aim to add real manuscript images from ten CANTUS sources, covering notational families that are not yet fully represented in OMR training data.

This work draws on the author’s experience with Transkribus Text2Image, where a handwriting text recognition (HTR) model produces a rough reading to align an existing transcription

Figure

Figure 1: Schematic of the workflow described in sections 3–6 and 10. Dashed arrows show expert input and model feedback.

Known pitches mapped to staff positions

Figure

Volpiano: 1--h-j-k

Exported target: c4, 13, z3, 14

Figure 2: Illustrative four-line example of the encoding in section 2. The C clef on line 4 fixes the reference pitch. The tokens 1 (line) and z (Zwischenraum, German for space) denote lines and spaces counted from the bottom.

with the page. The author found the tool error-prone and worked with a team to improve the workflow for plain text. For chant, notation, lyrics, clefs and chant boundaries must all agree. The clef should accommodate the chant's full range with as few ledger lines as possible. Model readings give us the first points of correspondence.