Skip to main content
QUICK REVIEW

[Paper Review] Hespi: A pipeline for automatically detecting information from hebarium specimen sheets

Robert Turnbull, Emily Fitzgerald|arXiv (Cornell University)|Oct 11, 2024
Image Processing and 3D ReconstructionComputer Science3 citations
TL;DR

Hespi is an open-source, modular deep learning pipeline that automates the extraction of textual data from herbarium specimen sheet images using object detection, OCR, HTR, and multimodal LLM-based correction. It achieves 75% accuracy in correcting misspellings via reference matching and LLM refinement, significantly reducing manual transcription effort for biodiversity data digitization.

ABSTRACT

Specimen-associated biodiversity data are crucial for biological, environmental, and conservation sciences. A rate shift is needed to extract data from specimen images efficiently, moving beyond human-mediated transcription. We developed `Hespi' (HErbarium Specimen sheet PIpeline) using advanced computer vision techniques to extract pre-catalogue data from primary specimen labels on herbarium specimens. Hespi integrates two object detection models: one for detecting the components of the sheet and another for fields on the primary primary specimen label. It classifies labels as printed, typed, handwritten, or mixed and uses Optical Character Recognition (OCR) and Handwritten Text Recognition (HTR) for extraction. The text is then corrected against authoritative taxon databases and refined using a multimodal Large Language Model (LLM). Hespi accurately detects and extracts text from specimen sheets across international herbaria, and its modular design allows users to train and integrate custom models.

Motivation & Objective

  • To address the bottleneck in biodiversity data mobilization caused by slow, manual transcription of herbarium specimen labels.
  • To develop an automated pipeline that extracts and corrects textual data from digital images of herbarium specimen sheets.
  • To reduce reliance on human-mediated data entry by leveraging deep learning and multimodal LLMs for improved accuracy and scalability.
  • To provide a modular, open-source tool that can be fine-tuned for diverse herbaria and institutional label formats.
  • To enable high-throughput digitization of specimen-associated biodiversity data while maintaining data quality through automated correction.

Proposed method

  • The pipeline uses two YOLOv5-based object detection models: one to localize text-based labels and another to detect data fields on the primary institutional label.
  • It classifies text as printed, typed, handwritten, or mixed, and applies OCR (Tesseract) and HTR (TrOCR) for text recognition depending on the classification.
  • Recognized text is corrected using a reference database of authoritative taxon names to resolve common misspellings and synonyms.
  • A multimodal Large Language Model (LLM) is used to refine and correct OCR/HTR outputs by leveraging contextual understanding of biological terminology and label structure.
  • The system outputs structured data in CSV and HTML formats, with visual and textual logs showing original transcriptions, corrections, and confidence scores.
  • The pipeline is modular and supports fine-tuning with user-provided data, enabling adaptation to different herbaria and label styles.

Experimental results

Research questions

  • RQ1Can a deep learning pipeline accurately detect and extract text from diverse herbarium specimen sheet images across international collections?
  • RQ2To what extent does combining OCR, HTR, and multimodal LLMs improve the accuracy of automated transcription compared to standalone OCR or HTR?
  • RQ3How effective is reference-based correction using authoritative taxon name databases in reducing transcription errors?
  • RQ4Can the pipeline be modularly adapted to different herbaria with minimal retraining and high performance?
  • RQ5What is the impact of automated correction on downstream data quality and the need for manual review?

Key findings

  • Hespi achieved 75% of 189 test results with a close but not exact match to reference datasets, which were successfully corrected using the combination of reference matching and LLM refinement.
  • The pipeline reduced the number of required manual corrections by identifying and correcting common misspellings such as 'sertulata' for 'serrulata'.
  • All but three of the erroneous results would have also been incorrect without the correction step, indicating that the pipeline improves on baseline OCR/HTR performance.
  • The system's scoring mechanism allows users to prioritize downstream review by sorting results by match confidence, with scores of 1 indicating perfect matches and 0 indicating no close match.
  • The pipeline demonstrated robust performance across diverse herbaria datasets, including international specimens with varying label styles and handwriting.
  • The open-source, modular design enables users to retrain components with their own data, ensuring adaptability to new institutions and label formats.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.