|
Research Ideas and Outcomes :
Research Article
|
|
Corresponding author: Rajapreethi Rajendran (rajapreethi.rajendran@senckenberg.de)
Academic editor: Laurence Livermore
Received: 27 May 2025 | Accepted: 30 Oct 2025 | Published: 16 Dec 2025
© 2025 Rajapreethi Rajendran, Claus Weiland, Jonas Grieb, Soulaine Theocharides, Sam Leeflang, Wouter Addink, Sharif Islam
This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Citation:
Rajendran R, Weiland C, Grieb J, Theocharides S, Leeflang S, Addink W, Islam S (2025) Quantification of plant trait data from herbarium scans in the DiSSCo Research Infrastructure. Research Ideas and Outcomes 11: e160367. https://doi.org/10.3897/rio.11.e160367
|
|
The Distributed System for Scientific Collections (DiSSCo) is a research infrastructure to integrate European natural science collections (NSCs) digitally. The aim is to facilitate and enhance the access, management and analysis of collection assets in one unified digital collection. The Machine Annotation Services (MAS) are essential components of DiSSCo’s Digital Specimen Architecture (DSArch). These services automate the annotation of digital objects to enable labelling and categorisation of NSC's digital assets.
To further advance this, a Machine Learning as a Service (MLaaS) approach was developed which provides researchers with the access to pre-trained machine-learning models for complex tasks, such as instance segmentation and morphological analysis of datasets. MLaaS enhances the DiSSCo’s scalability and flexibility and allows the integration of machine-learning tools in close alignment with the FAIR (Findable, Accessible, Interoperable, Reusable) principles.
This study employs DiSSCO's MLaaS framework for the quantitative analysis of herbarium specimens. Machine-learning models, such as Mask R-CNN and YOLO11, are comparatively applied to detect and generate the pixel-level masks of plant organs in herbarium sheets. Subsequently, these models are used to reconstruct the scale in the herbarium sheet and to calculate the surface area of identified plant organs.
The determination of quantitative characteristics of plant specimens, such as measuring leaf area or the timestamp of the floral transition, opens up herbarium data for reuse in the large prognosis platforms currently developed in the framework of the Common European Data Spaces. In this way, plant trait data mobilised from natural science collections can improve the predictive capability of the vegetation model components of climate-related data spaces.
Digital Specimen Architecture, plant organ detection, quantitative traits, deep learning, DiSSCo, image processing, instance segmentation, Mask R-CNN, YOLO11, Common European Data Spaces
The loss of biodiversity in the anthropocene, intensified by climate change, has a significant impact on human societies by reducing the benefits - designated as Ecosystem Services - that humans derive from ecosystems and environment (
To address this critical challenge, natural science collections, including in particular their enriched and annotated digital representations, have a pivotal role for assessment and analysis of the current and future biodiversity loss by providing the fundamental baseline data collection that reflects the actual and past dynamics of marine, freshwater and terrestrial biodiversity. The Distributed System of Scientific Collections (DiSSCo) is a European Research Infrastructure (RI) encompassing over 300 collecting institutions (
To achieve this machine-actionability, DiSSCo developed its core data model, the Digital Specimen, in close alignment with the approach of FAIR Digital Objects (FDOs) to represent the physical specimen also in the digital domain (
The wider objective of establishing a “Machine Learning as a Service” (MLaaS,
The paper is further organised as follows: In the next section, we outline the components developed for the MAS. Afterwards, we present the results achieved using the framework with Senckenberg – Leibniz Institution for Biodiversity and Earth System Research's herbarium collection. The final section concludes the paper detailing directions for further developments.
Building on previous research on detecting and annotating the plant organs from digitised herbarium scans (
As in the aforementioned previous studies (
Out of 652 images, 497 images were used for training and 155 images were used for testing. As shown in Table
The number of annotated bounding boxes and segmentation masks for each plant organ category is presented for both the training and testing subsets.
|
Category |
Training subset (497 images) |
Testing subset (155 images) |
Complete dataset (652 images) |
|
Leaf |
7865 |
2051 |
9916 |
|
Stem |
3315 |
961 |
4276 |
|
Flower |
3179 |
763 |
3942 |
|
Fruit |
1045 |
296 |
1341 |
|
Root |
78 |
60 |
138 |
|
Seed |
4 |
6 |
10 |
|
Total |
15486 |
4137 |
19623 |
For the instance segmentation task, the annotations from the previous study were further refined to generate detailed pixel-level masks for each plant organ using the Segment Anything Model (SAM,
The SAM model iteratively segmented the plant organs for each bounding box and the resulting segmentations were combined for each image. Next, the masks were used to prepare instance segmentation annotations by uniquely identifying and labelling each organ type across all images (Fig.
Mask generated by the SAM (Segment Anything Model) for a herbarium specimen scan of Rubus pottianus H.E. Weber. The figure shows the segmentation mask output produced by the SAM model for a digitised herbarium sheet labelled FR-0030810 (CETAF ID: https://id.senckenberg.de/object/sesam-353465) from the training dataset (
The model was further independently trained to detect the scale in the digitised herbarium sheets and to calculate the surface area of plant organs in the digital herbarium sheet. The training dataset consists of 163 annotated images. Amongst these, 32 images are sourced from the Senckenberg herbarium dataset (
The Mask R-CNN model (
The Mask R-CNN model used a ResNet-50 backbone to balance feature extraction quality and computational efficiency for the segmentation of high-resolution herbarium images. Training strategies, such as early stopping, were implemented by comparing mean Average Precision (mAP) of the current epoch and previous epoch, involving a patience threshold to avoid overfitting (
The model performance was evaluated with metrics, such as precision and recall, for object detection and segmentation. To test the model generalisation, inference was conducted on the images from the Frankfurt Senckenberg Herbarium dataset (
The YOLO 11x-seg (
The measurement of surface area of plant organs is an essential component of morphometric analysis in biodiversity studies (
The Mask R-CNN and YOLO11 models were again employed for the detection of scales in the herbarium images. The surface area of plant organs was subsequently calculated. We used 167 images, of them 124 images for training and 43 for testing.
Once the scale was detected by the model, Tesseract OCR was employed to extract the numerical values from the scale present in the images (
Tesseract (
\(\text{one cm in pixels} = \dfrac{\text{Pixel distance between digits A and B}}{\text{Difference between digit B and digit A}}\)
where
Difference Between Digit A and Digit B is the difference between the actual values of the digits.
With the pixel-to-centimetre conversion factor established, the next step is to calculate the surface area of the detected plant organs. The plant organ surface area is calculated as follows:
\(\text{Plant organ surface area } (\text{cm}^2) = \frac{\text{The sum of pixels in the segmented organs}}{(\text{Calculated pixels present in 1cm})^2}\)
where
The sum of pixels in the segmented organs refers to the total number of pixels in the segmented organ regions;
Calculated pixels present in 1 cm is the number of pixels that represent 1 cm on the image, estimated using the detected scale bar.
This additional functionality of calculating surface area supports detailed morphometric analysis of herbarium specimens.
Both models for plant organ segmentation and surface area calculation are then hosted as a single Machine Annotation Service (MAS) to streamline the process of extracting and analysing the herbarium data within the DiSSCo platform. Fig.
Schematic overview illustrating the information flow between DiSSCo core architecture and the MAS workflow deployed at Senckenberg. (i) Message Broker, which handles asynchronous communication; (ii) MLaaS (Machine Learning as a Service), API hosted via Uvicorn, serving as the inference interface; and (iii) Machine Annotation Service (MAS) modules responsible for task orchestration. The architecture diagram highlights how herbarium image data and metadata are processed, annotated and returned to the DiSSCo system in a scalable and modular fashion.
In DSArch, a service request for a MAS is requested through the user front-end DiSSCover (https://sandbox.dissco.tech) on the digital media. This request adds a message in DiSSCover’s Message Broker, which triggers scheduling of a MAS. The corresponding MLaaS APIs are hosted via Uvicorn (
Subsequently, the model performs plant organ segmentation and scale detection on the image and sends the output information comprising bounding box coordinates, class labels, confidence scores and area in pixels. Both the pixel-to-centimetre conversion ratio and an area calculation in cm² are returned to the Uvicorn API, which relays the results to the DiSSCo infrastructure. These processed data are then structured into an annotation event complying to DiSSCo's open Digital Specimen (openDS,
Fig.
Annotated herbarium specimen sheet processed through the DiSSCover platform. The figure presents an annotated herbarium image processed using the DiSSCover pipeline, which includes detection of plant organs and segmentation. The visual overlays include bounding boxes, class labels, confidence scores from the prediction model, area in pixels, pixel-to-centimetre conversions and polygon coordinates for each detected organ.
Mask R-CNN was employed on 203 herbarium images from the Senckenberg collection (
Plant organ detection and segmentation using the Mask R-CNN model:
When performing the inference on the Senckenberg images, the most recognised organs were leaves, stems and flowers. The identified regions of interest were then passed on to the segmentation process. In the segmentation process, the model generates segmentation masks for each identified organ and provides pixel-level masks as shown in Fig.
Table
Plant organ counts in the inferred images compared to detected counts by the Mask R-CNN model at a 50% confidence threshold.
|
Category |
Organ Count |
Detected Count |
|
Leaf |
3362 |
3072 |
|
Stem |
1063 |
782 |
|
Flower |
1921 |
1407 |
|
Fruit |
183 |
144 |
|
Root |
117 |
77 |
|
Seed |
47 |
5 |
|
Total |
6693 |
5487 |
Fig.
Precision–Recall (PR) curves evaluating Mask R-CNN performance at 50% confidence threshold:
Overall, the results suggest that the Mask R-CNN model moderately performs in identifying and segmenting the plant organs, achieving an average mean Average Precision (mAP) score of 0.211 for detection and 0.215 for segmentation. However, further addition of new images in the dataset could improve its performance of organ detection and segmentation.
The YOLO11 model was used with the same dataset of 203 herbarium images which was used for inference with Mask R-CNN. The model identified the distinct plant organs, such as leaves, stems, flowers, roots and seeds. In accordance with a similar study (
Plant organ detection and segmentation using the YOLO11 model:
Table
Plant organ counts of the inferred images compared to detected counts by the YOLO11 model at a 50% confidence threshold.
|
Category |
Organ Count |
Detected Count |
|
Leaf |
3362 |
3072 |
|
Stem |
1063 |
782 |
|
Flower |
1921 |
1407 |
|
Fruit |
183 |
144 |
|
Root |
117 |
77 |
|
Seed |
47 |
5 |
|
Total |
6693 |
5487 |
Fig.
Precision–Recall (PR) curves evaluating YOLO11 performance at 50% confidence threshold:
In addition to the plant organ detection, the YOLO11 model integrates a scale detection component that successfully identifies the scales in 98% of the Senckenberg images. Fig.
Scale detection and area calculation in herbarium scans:
Once the scale is detected, the model further uses the pixel-to-centimetre ratio to calculate the surface area for the plant organs in absolute values (cm²). However, variations in scale standards across different organisations necessitate further training to improve scale detection.
Fig.
Suppl. material
Table
Performance metrics for scale detection and scale text counting and in addition overall average OCR character accuracy for both Mask R-CNN and YOLOv11.
|
Metrics |
MASK R-CNN |
YOLO11 |
|
Scale Detection Counter |
203 |
202 |
|
Scale Text Counter |
196 |
195 |
|
Overall Average OCR Character Accuracy |
23.76% |
57.16% |
The output data then sent to DSArch includes the bounding box of detected organs, class, confidence score, area in pixels, pixel length of one centimetre, area in cm² and polygon data.
The plant organ segmentation MAS in the DiSSCo architecture has enriched the Digital Specimen data by providing detailed morphological information. Compared to the Mask R-CNN model with a ResNet-50 backbone, YOLO11 has shown a reliable performance in identifying plant organs with computational efficiency. While YOLO11 shows more robust overall detection performance compared to Mask R-CNN, it struggles with small object detection. This highlights the need for further enhancements to improve robustness. The performance can possibly be improved using artificially debiased training data (
The pipeline integrated with the Uvicorn API and WebSocket services provides a scalable asynchronous framework for managing high-throughput data streams in line with DiSSCo’s FAIR principles for the accessible and reusable data. This flexibility allows it to be extended for other datasets and segmentation tasks which promises broader applications in biodiversity informatics. Some challenges emerged during the implementation particularly on scale detection due to varying types of scale present in the different herbarium sheets. The scale markings are minute which causes difficulties for OCR systems to interpret the values. Additionally, the presence of various scale types further complicates the process as the OCR system is not optimised for all variations in character formats or standards. To address these issues, different scale formats need to be included in scale detection. The pipeline establishes a strong foundation for data processing to extract additional information on herbarium sheets with future directions to further enhance the scale detection and to adapt batch processing of herbarium sheets for faster real-time performance.
As part of the DiSSCo Transition Project (
To facilitate reproducibility and further research in plant organ segmentation, we published an annotated sample dataset including digitised herbarium specimens from Senckenberg's collection (
In summary, this study aims to demonstrate a potential pathway for the further societal valorisation of collection data through DiSSCo's Digital Specimen Architecture, particularly by mobilising high-quality datasets extracted from collection data for societal decision-making and action in the context of the Common European Data Spaces.
We thank Anke Penzlin, Andreas Allspach, Moritz Sonnewald, Alexander Knorrn, André Freiwald, Kristina Hopf, Stefan Dressler (†) and Marco Schmidt for the provision of data from Senckenberg's collections.
Funded by the European Union. Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Executive Agency. Neither the European Union nor the granting authority can be held responsible for them. DiSSCo Transition grant agreement ID: 101130121, https://doi.org/10.3030/101130121.
The top figure represents Galeoides decadactylus (Bloch, 1795) with Senckenberg catalogue number SMF-39828 (this specimen is currently in process of ingestion into Senckenberg's Collection Management System), the scale was detected and all digits within the scales were successfully recognised. However, no plant organ like structure was detected in the image and, consequently, no area was calculated.
The second figure represents Syngnathus acus (Linnaeus, 1758) associated with CETAF ID: https://id.senckenberg.de/object/sesam-1710769. In this case, the specimen was incorrectly identified as the stem due to its structural similarity and the scale was detected and digits '6' and '8' within the scale regions were identified through optical character recognition (OCR). Pixel-wise segmentation is performed and area measurement was successfully computed.
In the third figure, the specimen shows Pisa tetraodon (Pennant, 1777), associated with CETAF ID: https://id.senckenberg.de/object/sesam-1710770. In this case, the specimen was incorrectly identified as flower due to its structural similarity and the scale was detected. Although scale was detected, no numerical digits were recognised by OCR and, as a result, area calculation was not conducted.