A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention
Agronomy · 09.07.2023 · 13 (7) · 1824
DOI: 10.3390/agronomy13071824 ↗Kurz gefasst
Fachartikel in der Zeitschrift Agronomy, online erschienen am 09.07.2023. Verfasst von Guoliang Yang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 316-mal zitiert (Crossref) und nennt 32 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Science and Technology Project of the Education Department of Jiangxi Province, Science and Technology Program of Jiangxi Provincial Education Department.
Abstract (Originalsprache)
A tomato automatic detection method based on an improved YOLOv8s model is proposed to address the low automation level in tomato harvesting in agriculture. The proposed method provides technical support for the automatic harvesting and classification of tomatoes in agricultural production activities. The proposed method has three key components. Firstly, the depthwise separable convolution (DSConv) technique replaces the ordinary convolution, which reduces the computational complexity by generating a large number of feature maps with a small amount of calculation. Secondly, the dual-path attention gate module (DPAG) is designed to improve the model’s detection precision in complex environments by enhancing the network’s ability to distinguish between tomatoes and the background. Thirdly, the feature enhancement module (FEM) is added to highlight the target details, prevent the loss of effective features, and improve detection precision. We built, trained, and tested the tomato dataset, which included 3098 images and 3 classes. The proposed algorithm’s performance was evaluated by comparison with the SSD, faster R-CNN, YOLOv4, YOLOv5, and YOLOv7 algorithms. Precision, recall rate, and mAP (mean average precision) were used for evaluation. The test results show that the improved YOLOv8s network has a lower loss and 93.4% mAP on this dataset. This improvement is a 1.5% increase compared to before the improvement. The precision increased by 2%, and the recall rate increased by 0.8%. Moreover, the proposed algorithm significantly reduced the model size from 22 M to 16 M, while achieving a detection speed of 138.8 FPS, which satisfies the real-time detection requirement. The proposed method strikes a balance between model size and detection precision, enabling it to meet agriculture’s tomato detection requirements. The research model in this paper will provide technical support for a tomato picking robot to ensure the fast and accurate operation of the picking robot.
Förderung
- Science and Technology Project of the Education Department of Jiangxi Province
- Science and Technology Program of Jiangxi Provincial Education Department
Zitieren
APA
Yang, G., Wang, J., Nie, Z., Yang, H., & Yu, S. (2023). A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention. Agronomy, 13(7), 1824. https://doi.org/10.3390/agronomy13071824
Vancouver
Yang G, Wang J, Nie Z, Yang H, Yu S. A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention. Agronomy. 2023;13(7):1824. doi:10.3390/agronomy13071824
BibTeX
@article{Yang2023,
author = {Yang, Guoliang and Wang, Jixiang and Nie, Ziling and Yang, Hao and Yu, Shuaiying},
title = {A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention},
journal = {Agronomy},
year = {2023},
volume = {13},
number = {7},
pages = {1824},
doi = {10.3390/agronomy13071824}
}
EUVIMED