YOLOv8n-CA: Improved YOLOv8n Model for Tomato Fruit Recognition at Different Stages of Ripeness

被引:4
作者
Gao, Xin [1 ]
Ding, Jieyuan [1 ]
Zhang, Ruihong [1 ]
Xi, Xiaobo [1 ]
机构
[1] Yangzhou Univ, Sch Mech Engn, Yangzhou 225127, Peoples R China
来源
AGRONOMY-BASEL | 2025年 / 15卷 / 01期
关键词
tomatoes; maturity detection; image recognition; YOLOv8;
D O I
10.3390/agronomy15010188
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
This study addresses the challenges of tomato maturity recognition in natural environments, such as occlusion caused by branches and leaves, and the difficulty in detecting stacked fruits. To overcome these issues, we propose a novel YOLOv8n-CA method for tomato maturity recognition, which defines four maturity stages: unripe, turning color, turning ripe, and fully ripe. The model is based on the YOLOv8n architecture, incorporating the coordinate attention (CA) mechanism into the backbone network to enhance the model's ability to capture and express features of the tomato fruits. Additionally, the C2f-FN structure was utilized in both the backbone and neck networks to strengthen the model's capacity to extract maturity-related features. The CARAFE up-sampling operator was integrated to expand the receptive field for improved feature fusion. Finally, the SIoU loss function was used to solve the problem of insufficient CIoU of the original loss function. Experimental results showed that the YOLOv8n-CA model had a parameter count of only 2.45 x 106, computational complexity of 6.9 GFLOPs, and a weight file size of just 4.90 MB. The model achieved a mean average precision (mAP) of 97.3%. Compared to the YOLOv8n model, it reduced the model size slightly while improving accuracy by 1.3 percentage points. When compared to seven other models-Faster R-CNN, YOLOv3s, YOLOv5s, YOLOv5m, YOLOv7, YOLOv8n, YOLOv10s, and YOLOv11n-the YOLOv8n-CA model was the smallest in size and demonstrated superior detection performance.
引用
收藏
页数:18
相关论文
共 23 条
[1]   Development of a sweet pepper harvesting robot [J].
Arad, Boaz ;
Balendonck, Jos ;
Barth, Ruud ;
Ben-Shahar, Ohad ;
Edan, Yael ;
Hellstrom, Thomas ;
Hemming, Jochen ;
Kurtser, Polina ;
Ringdahl, Ola ;
Tielen, Toon ;
van Tuijl, Bart .
JOURNAL OF FIELD ROBOTICS, 2020, 37 (06) :1027-1039
[2]   Object detection and tracking in Precision Farming: a systematic review [J].
Ariza-Sentis, Mar ;
Velez, Sergio ;
Martinez-Pena, Raquel ;
Baja, Hilmy ;
Valente, Joao .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2024, 219
[3]   Agricultural object detection with You Only Look Once (YOLO) Algorithm: A bibliometric and systematic literature review [J].
Badgujar, Chetan M. ;
Poulose, Alwin ;
Gan, Hao .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2024, 223
[4]   Maturity detection of tomatoes using transfer learning [J].
Begum, Ninja ;
Hazarika, Manuj Kumar .
MEASUREMENT: FOOD, 2022, 7
[5]   Reduction of Species Identification Errors in Surveys of Marine Wildlife Abundance Utilising Unoccupied Aerial Vehicles (UAVs) [J].
Bigal, Eyal ;
Galili, Ori ;
van Rijn, Itai ;
Rosso, Massimiliano ;
Cleguer, Christophe ;
Hodgson, Amanda ;
Scheinin, Aviad ;
Tchernov, Dan .
REMOTE SENSING, 2022, 14 (16)
[6]   Impact of environmental conditions on fruit production patterns of shea tree (Vitellaria paradoxa CFGaertn) in West Africa [J].
Bonde, Loyapin ;
Ouedraogo, Oumarou ;
Traore, Salifou ;
Thiombiano, Adjima ;
Boussim, Joseph I. .
AFRICAN JOURNAL OF ECOLOGY, 2019, 57 (03) :353-362
[7]   Detection of tomato plant phenotyping traits using YOLOv5-based single stage detectors [J].
Cardellicchio, Angelo ;
Solimani, Firozeh ;
Dimauro, Giovanni ;
Petrozza, Angelo ;
Summerer, Stephan ;
Cellini, Francesco ;
Reno, Vito .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 207
[8]   Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networks [J].
Chen, Jierun ;
Kao, Shiu-Hong ;
He, Hao ;
Zhuo, Weipeng ;
Wen, Song ;
Lee, Chul-Ho ;
Chan, S. -H. Gary .
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, :12021-12031
[9]   Machine vision system for real-time debris detection on mechanical wild blueberry harvesters [J].
Das, Anup Kumar ;
Esau, Travis J. ;
Zaman, Qamar U. ;
Farooque, Aitazaz A. ;
Schumann, Arnold W. ;
Hennessy, Patrick J. .
SMART AGRICULTURAL TECHNOLOGY, 2023, 4
[10]   Comprehensive visual information acquisition for tomato picking robot based on multitask convolutional neural network [J].
Du, Xiaoqiang ;
Meng, Zhichao ;
Ma, Zenghong ;
Zhao, Lijun ;
Lu, Wenwu ;
Cheng, Hongchao ;
Wang, Yawei .
BIOSYSTEMS ENGINEERING, 2024, 238 :51-61