Performance Evaluation of YOLOv8 Model Configurations, for Instance Segmentation of Strawberry Fruit Development Stages in an Open Field Environment

Abdul-Razak Alhassan Gamani,Ibrahim Arhin,Adrena Kyeremateng Asamoah
2024-08-13
Abstract:Accurate identification of strawberries during their maturing stages is crucial for optimizing yield management, and pest control, and making informed decisions related to harvest and post-harvest logistics. This study evaluates the performance of YOLOv8 model configurations for instance segmentation of strawberries into ripe and unripe stages in an open field environment. The YOLOv8n model demonstrated superior segmentation accuracy with a mean Average Precision (mAP) of 80.9\%, outperforming other YOLOv8 configurations. In terms of inference speed, YOLOv8n processed images at 12.9 milliseconds, while YOLOv8s, the least-performing model, processed at 22.2 milliseconds. Over 86 test images with 348 ground truth labels, YOLOv8n detected 235 ripe fruit classes and 51 unripe fruit classes out of 251 ground truth ripe fruits and 97 unripe ground truth labels, respectively. In comparison, YOLOv8s detected 204 ripe fruits and 37 unripe fruits. Overall, YOLOv8n achieved the fastest inference speed of 24.2 milliseconds, outperforming YOLOv8s, YOLOv8m, YOLOv8l, and YOLOv8x, which processed images at 33.0 milliseconds, 44.3 milliseconds, 53.6 milliseconds, and 62.5 milliseconds, respectively. These results underscore the potential of advanced object segmentation algorithms to address complex visual recognition tasks in open-field agriculture effectively to address complex visual recognition tasks in open-field agriculture effectively.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The paper primarily addresses the issue of instance segmentation of strawberry ripening stages in open field environments. Specifically, the research aims to evaluate the performance of different configurations of the YOLOv8 model (including YOLOv8n, YOLOv8s, YOLOv8m, YOLOv8l, and YOLOv8x) in identifying and segmenting strawberries at various ripening stages in field conditions. The research background highlights that accurately identifying different ripening stages of strawberries is crucial for optimizing yield management, pest and disease control, as well as making decisions regarding harvest and post-harvest logistics. To achieve this goal, the authors collected a dataset containing 813 images and divided it into training, validation, and test sets to train and evaluate the different configurations of YOLOv8. The study found that the YOLOv8n model performed the best in terms of mean Average Precision (mAP), achieving 80.9%, and was also the fastest in processing speed, with a processing time of 12.9 milliseconds per image. Additionally, YOLOv8n detected a total of 286 instances in the test set (235 ripe strawberries and 51 unripe), out of a total of 348 ground truth labels. Overall, the study determined through comparative experiments that the YOLOv8n model configuration is the most suitable for the task of strawberry instance segmentation in open field environments. This finding contributes to enhancing agricultural automation, particularly in applications such as yield prediction, market strategy formulation, crop health assessment, and robotic harvesting.