arXiv:2608.28676cs.CVAug 2026

Manuscript Offprint

arXiv:2608.28676

Automated pipeline for herbarium label digitization

Hiba Abbad, Hanane Ariouat, Eva Perez Pimpare, Nicolas Turenne, Eric Chenin, Abderrazak Sebaa, Edi Prifti, Jean-Daniel Zucker, Youcef Sklab

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Digitized herbarium collections, now comprising over 100 million freely accessible specimen images, have become a critical resource for addressing fundamental questions in ecology and evolutionary biology. Yet the rich metadata encoded in herbarium labels (collector identities, geographic localities, collection dates, and ecological observations) remains largely inaccessible at scale, constraining both biodiversity informatics and the construction of specimen-specific image-text corpora for multimodal AI. We present HERBIOME, a modular end-to-end pipeline for automated herbarium label digitization, integrating YOLOv8-based component detection, CRAFT Hezar word-level text localization, fine-tuned TrOCR for recognition of mixed handwritten and printed text, and GPT-4o Mini for semantic metadata structuring into standardized fields. TrOCR was trained on a multi-source dataset combining general transcription corpora (CREMMA-AN, PictoCatalogs) with herbarium-specific data (RéColNat), achieving a Character Error Rate of 4.05-4.10%. End-to-end evaluation on 450 French herbarium specimens, using a dual-metric framework of Maximum Window Similarity (MWS: 0.614-0.618) and Semantic Metadata Accuracy (SMA: 0.440-0.445), reveals that hybrid training strategies improve semantic fidelity while random sampling maximizes surface similarity, with taxonomic fields remaining the principal bottleneck. By automating the extraction of structured metadata from complex, heterogeneous labels, HERBIOME reduces transcription burden, enables the construction of paired image-text datasets that faithfully capture specimen individuality, which is a prerequisite for next-generation multimodal biodiversity AI systems.

Keywords Intelligent Information Extraction · Herbarium Label Digitization · OCR LLM-based Metadata Structuring · Multimodal Biodiversity AI

1 Introduction

The world’s herbaria collectively hold more than 400 million preserved plant specimens, representing centuries of botanical exploration across all continents [1]. Large-scale digitization initiatives have made over 100 million high-resolution specimen images freely accessible online [2], opening unprecedented opportunities for data-driven botanical research. Digitized collections are increasingly deployed to address fundamental questions in ecology and evolutionary biology: tracking phenological shifts across continental extents and multi-century timescales [3], reconstructing leaf economic traits correlated with climate gradients across thousands of species [4], and enabling automated species

*Accepted at the 30th International Conference on Knowledge-Based and Intelligent Information & Engineering Systems (KES 2026). Source code available at: https://github.com/IA-E-Col/HERBIOME

Figure

Figure 1: Two examples of digitized herbarium sheets from French collections (ReColNat). Handwritten annotations may record collection locality and date, ecological observations, regional habitat notes, and ethnobotanical uses, as well as subsequent determinations added by visiting botanists over decades. Two specimens of the same species may thus differ substantially in both morphology and documentary content, making each sheet an irreplaceable record whose full scientific value can only be unlocked through systematic label digitization.

identification at near-expert accuracy [5]. Yet the scientific exploitation of these collections remains critically constrained by a persistent metadata gap. Each herbarium sheet carries one or more labels recording taxonomic identifications, collection dates, geographic localities, collector names, habitat descriptions, and determination history² [6, 7]. As illustrated in Figure 1, a herbarium sheet accumulates multiple layers of documentary content over time: beyond the pressed plant itself, labels, stamps, barcodes, and color charts encode institutional provenance, while handwritten annotations added by botanists across decades may record collection locality and date, phenological stage, ecological observations, habitat specifics, and occasionally ethnobotanical uses of the collected plant. Labels thus serve as the primary key to understanding each specimen's provenance, ecological context, and scientific history. Despite their scientific value, the vast majority of these labels remain untranscribed or only partially digitized, leaving an immense reservoir of structured and contextual knowledge locked in analog form.

Manual transcription is labor-intensive, error-prone, and impossible to sustain at the scale of millions of sheets [7]. Existing OCR tools, including Tesseract [8] and EasyOCR [9], partially address printed text extraction but fail on handwritten, degraded, or multilingual content typical of historical herbarium labels [10, 11]. Most automated pipelines focus on a limited subset of metadata fields and continue to require expert validation for heterogeneous or damaged labels, severely limiting their scalability across institutional collections [12, 13]. To address these limitations, we present HERBIOME, a modular end-to-end pipeline for the automated digitization of herbarium labels. HERBIOME integrates four complementary stages: i) YOLOv8-based component detection to isolate text-bearing elements from full sheet scans; ii) CRAFT Hezar [14] word-level text localization with reading-order restoration; iii) fine-tuned TrOCR [15] for recognition of mixed handwritten and printed text; and iv) GPT-4o Mini for semantic metadata structuring into standardized fields. The pipeline is designed for the specific challenges of French herbarium collections (complex label layouts, cursive historical handwriting, Latin nomenclature, and mixed typography) while remaining modular enough to support component-level substitution as the field advances. The main contributions of this paper are:

  • A modular four-stage HERBIOME pipeline integrating component detection, word-level text localization, transformer-based OCR, and LLM-driven metadata structuring in a unified, reproducible end-to-end workflow.

  • A multi-source training strategy for TrOCR combining general transcription corpora (CREMMA-AN, Pictocatalogs) with herbarium-specific data (RéColNat), achieving a Character Error Rate of 4.05-4.10% on mixed handwritten and printed French text.³

  • A dual-metric evaluation framework combining Maximum Window Similarity (MWS) and Semantic Metadata Accuracy (SMA), enabling comprehensive assessment of both surface-level transcription quality and semantic correctness of structured metadata fields.

²A specimen-specific documentary record that is unique and irreplaceable.

³https://www.recolnat.fr

  • An end-to-end evaluation on 450 real French herbarium specimens from the IRIS dataset⁴, demonstrating practical performance, identifying field-specific bottlenecks, and discussing implications for large-scale biodiversity platforms.

References (36)