Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants

Abstract Identification and precise classification of plants are crucial in improving plant quality and economic viability, particularly in an industrial setting. In a faster-growing world, there is a growing demand for fully automated tomato detection and grading systems. Within the past few years,...

Full description

Saved in:
Bibliographic Details
Main Authors: Sarah M. Ayyad, Nada M. Sallam, Samah A. Gamel, Zainab H. Ali
Format: Article
Language:English
Published: SpringerOpen 2025-06-01
Series:Journal of Big Data
Subjects:
Online Access:https://doi.org/10.1186/s40537-025-01206-6
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850113039602286592
author Sarah M. Ayyad
Nada M. Sallam
Samah A. Gamel
Zainab H. Ali
author_facet Sarah M. Ayyad
Nada M. Sallam
Samah A. Gamel
Zainab H. Ali
author_sort Sarah M. Ayyad
collection DOAJ
description Abstract Identification and precise classification of plants are crucial in improving plant quality and economic viability, particularly in an industrial setting. In a faster-growing world, there is a growing demand for fully automated tomato detection and grading systems. Within the past few years, applying deep learning in detecting and classifying tomatoes into different classes has gained popularity. This study aims to build a new framework for the efficient automated harvesting of tomato plants based on deep learning. The new model integrates the capabilities of Particle Swarm Optimization (PSO) and the You Only Look Once version-8 (YOLOv8) architecture for better hyperparameter optimization and improved performance results. For the first time, it classifies and detects ripe, semi-ripe, and unripe tomatoes, in addition to diseased and rotten tomatoes. To validate the efficacy of the proposed YOLO-v8 network’s performance, three experiments were conducted employing a unique dataset, collected from different sources. Firstly, two experiments were conducted to formally confirm whether or not the utilized data augmentation technique significantly improved, one with data augmentation and another one with the end-to-end framework without data augmentation. Secondly, the proposed YOLOv8 was compared with other YOLO versions, e.g., YOLOv3, YOLOv5, S-YOLOv5, YOLOv7, and YOLOv8. Thirdly, the proposed framework was compared with many cutting-edge object detection architectures for tomato harvesting, e.g., Convolutional neural network (CNN), Mask R-CNN and color analysis, and other models based on handcrafted features. The enhancements made to the original YOLO-v8 network have attained promising results. The experiments on the collection of different datasets reveal that the proposed model performs with the highest precision, recall, F1-score, and mean average precision (mAP) of 0.89, 0.9, 0.89, and 0.89 (mAP@0.5:0.95), respectively, exceeding other models. This framework offers a viable and useful solution for class detection and location identification of tomato plants.
format Article
id doaj-art-c1d6769ee03d414b8cd974fbc18a4434
institution OA Journals
issn 2196-1115
language English
publishDate 2025-06-01
publisher SpringerOpen
record_format Article
series Journal of Big Data
spelling doaj-art-c1d6769ee03d414b8cd974fbc18a44342025-08-20T02:37:14ZengSpringerOpenJournal of Big Data2196-11152025-06-0112113010.1186/s40537-025-01206-6Particle swarm optimization with YOLOv8 for improved detection performance of tomato plantsSarah M. Ayyad0Nada M. Sallam1Samah A. Gamel2Zainab H. Ali3Computers and Systems Department, Faculty of Engineering, Mansoura UniversityFaculty of Computer Studies, Arab Open UniversityFaculty of Engineering, Horus UniversityDepartment of Embedded Network Systems and Technology, Faculty of Artificial Intelligence, Kafrelsheikh UniversityAbstract Identification and precise classification of plants are crucial in improving plant quality and economic viability, particularly in an industrial setting. In a faster-growing world, there is a growing demand for fully automated tomato detection and grading systems. Within the past few years, applying deep learning in detecting and classifying tomatoes into different classes has gained popularity. This study aims to build a new framework for the efficient automated harvesting of tomato plants based on deep learning. The new model integrates the capabilities of Particle Swarm Optimization (PSO) and the You Only Look Once version-8 (YOLOv8) architecture for better hyperparameter optimization and improved performance results. For the first time, it classifies and detects ripe, semi-ripe, and unripe tomatoes, in addition to diseased and rotten tomatoes. To validate the efficacy of the proposed YOLO-v8 network’s performance, three experiments were conducted employing a unique dataset, collected from different sources. Firstly, two experiments were conducted to formally confirm whether or not the utilized data augmentation technique significantly improved, one with data augmentation and another one with the end-to-end framework without data augmentation. Secondly, the proposed YOLOv8 was compared with other YOLO versions, e.g., YOLOv3, YOLOv5, S-YOLOv5, YOLOv7, and YOLOv8. Thirdly, the proposed framework was compared with many cutting-edge object detection architectures for tomato harvesting, e.g., Convolutional neural network (CNN), Mask R-CNN and color analysis, and other models based on handcrafted features. The enhancements made to the original YOLO-v8 network have attained promising results. The experiments on the collection of different datasets reveal that the proposed model performs with the highest precision, recall, F1-score, and mean average precision (mAP) of 0.89, 0.9, 0.89, and 0.89 (mAP@0.5:0.95), respectively, exceeding other models. This framework offers a viable and useful solution for class detection and location identification of tomato plants.https://doi.org/10.1186/s40537-025-01206-6Deep learning (DL)Tomato maturity detectionAutomated harvestingYOLOv8Particle swarm optimization (PSO)Tomato diseases
spellingShingle Sarah M. Ayyad
Nada M. Sallam
Samah A. Gamel
Zainab H. Ali
Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
Journal of Big Data
Deep learning (DL)
Tomato maturity detection
Automated harvesting
YOLOv8
Particle swarm optimization (PSO)
Tomato diseases
title Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
title_full Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
title_fullStr Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
title_full_unstemmed Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
title_short Particle swarm optimization with YOLOv8 for improved detection performance of tomato plants
title_sort particle swarm optimization with yolov8 for improved detection performance of tomato plants
topic Deep learning (DL)
Tomato maturity detection
Automated harvesting
YOLOv8
Particle swarm optimization (PSO)
Tomato diseases
url https://doi.org/10.1186/s40537-025-01206-6
work_keys_str_mv AT sarahmayyad particleswarmoptimizationwithyolov8forimproveddetectionperformanceoftomatoplants
AT nadamsallam particleswarmoptimizationwithyolov8forimproveddetectionperformanceoftomatoplants
AT samahagamel particleswarmoptimizationwithyolov8forimproveddetectionperformanceoftomatoplants
AT zainabhali particleswarmoptimizationwithyolov8forimproveddetectionperformanceoftomatoplants