Hostname: page-component-76d6cb85b7-hqrjx Total loading time: 0 Render date: 2026-07-23T19:24:40.283Z Has data issue: false hasContentIssue false

Impact of purple nutsedge (Cyperus rotundus) density on detection accuracy of a YOLOv8 model

Published online by Cambridge University Press:  04 February 2026

Alex G. Rodriguez
Affiliation:
University of Florida, Gulf Coast Research and Education Center, Wimauma, FL, USA
Renato H. Furlanetto
Affiliation:
University of Florida, Gulf Coast Research and Education Center, Wimauma, FL, USA
Julio B. Peres
Affiliation:
University of Florida, Gulf Coast Research and Education Center, Wimauma, FL, USA
Arnold W. Schumann
Affiliation:
University of Florida, Citrus Research and Education Center, Lake Alfred, FL, USA
Nathan S. Boyd*
Affiliation:
University of Florida, Gulf Coast Research and Education Center, Wimauma, FL, USA
*
Corresponding author: Nathan S. Boyd; Email: nsboyd@ufl.edu
Rights & Permissions [Opens in a new window]

Abstract

Object detection models, such as those in the YOLO family, are generally effective at identifying individual weeds, but their performance can be limited by occlusion of target structures in high-density scenes. These models are typically trained on images with low weed densities, where individual plants are clearly visible and easy to annotate, yet they are used in field conditions where areas of high density and dense vegetation may occur. Greenhouse experiments were conducted at the University of Florida, Wimauma, FL, to evaluate how purple nutsedge (Cyperus rotundus L.) density impacts the performance of a YOLOv8 model. A greenhouse density test dataset was developed by collecting 480 images of 12 densities ranging from 7 to 331 plants m−2, at transplant and at 3, 6, 10, and 17 d after transplanting. An independent dataset of 2,221 field and greenhouse images was used for the training of a YOLOv8 extra-large model to detect C. rotundus. A logistic sigmoidal model was fit to evaluate the F1 score as a function of increasing C. rotundus density at each data-collection time point. The F1 score showed sigmoidal relationships with density at all time points, exceeding 0.9 at low densities but dropping sharply to near 0 at the highest density and later time points. Performance decline was primarily driven by increased false negatives as density and occlusion increased, with minimal contribution from false positives, except at the highest densities. Density thresholds for optimal performance (F1 ≥ 0.90) decreased from 157 to 86 plants m−2 as canopy coverage increased, while marginal performance (F1 = 0.50) dropped from 322 to 140 plants m−2. Our findings suggest that object detection models for C. rotundus are strongly influenced by increased occlusion and morphological changes resulting from greater plant proximity and canopy coverage in high-density scenes.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (https://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided that no alterations are made and the original article is properly cited. The written permission of Cambridge University Press or the rights holder(s) must be obtained prior to any commercial use and/or adaptation of the article.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Weed Science Society of America
Figure 0

Figure 1. Cyperus rotundus density levels and corresponding distance between plants (DP).

Figure 1

Figure 2. (A) Camera setting for image collection for the density test dataset. (B) Cyperus rotundus annotation with bounding boxes, focusing on basal rosette.

Figure 2

Figure 3. Canopy coverage of Cyperus rotundus across densities at transplant and at 3, 6, 10, and 17 d after transplanting (DATr) for each iteration.

Figure 3

Table 1. Summary of the image subsets used for YOLOv8 model training and validation for Cyperus rotundus detection.

Figure 4

Figure 4. Distribution of annotated Cyperus rotundus instances per image in the training and validation dataset (n = 2,221).

Figure 5

Figure 5. F1 score vs. confidence level curve for Cyperus rotundus classification.

Figure 6

Table 2. Estimated parameters for the four-parameter logistic sigmoid model characterizing the impact of Cyperus rotundus density on the F1 score of a YOLOv8x detection model across combined density test dataset experimental iterationsa.

Figure 7

Figure 6. Influence of Cyperus rotundus density on detection model F1 score at each time point, combined for both experimental iterations. The dotted horizontal lines indicate F1 score thresholds of the optimal model performance (black, 0.9 F1 score) and marginal model performance (gray, 0.5 F1 score).

Figure 8

Figure 7. Comparison of the model performance in detecting Cyperus rotundus at different densities at transplant and 6 and 17 d after transplanting (DATr). Red bounding boxes indicate predictions made by the model. The yellow circles highlight plants where the model resulted in false negatives.

Figure 9

Figure 8. Red bounding boxes indicate predictions made by the model. (A) Yellow arrow shows a model failure to detect the basal leaf rosette of Cyperus rotundus despite clear visibility. (B) Yellow arrows highlight false positives due to overlap between leaves.

Figure 10

Figure 9. Precision and recall metrics at transplant and 6 and 17 d after transplanting (DATr), evaluated across varying Cyperus rotundus densities.