华南农业大学学报2026,Vol.47Issue(4):661-673,13.DOI:10.7671/j.issn.1001-411X.202507036
基于改进YOLOv8n的设施环境下成熟番茄检测方法
Detection method for mature tomatoes in facility environments based on improved YOLOv8n
摘要
Abstract
[Objective]To address the challenges of varying illumination,occlusion by foliage and branches,fruit overlapping,and multi-distance object recognition in mature tomato detection within facility environments.[Method]This study designed a mature tomato fruit detection model,YOLOv8n-SPMF,to solve the aforementioned problems.Firstly,the Conv module in the YOLOv8n backbone network was replaced with SPDConv to improve the detection accuracy of small tomatoes.Secondly,a PSCEA attention mechanism was added to the backbone network to extract local details and edge information of tomatoes,thereby enhancing the model's feature extraction capability.Then,the SPPF module in the backbone was replaced with a mixed pooling SPPF(MixSPPF)module to strengthen the information fusion among different level features.Finally,a Focaler-MPDIoU loss function was adopted to improve the bounding box regression performance in complex scenarios.[Result]Experimental results showed that the YOLOv8n-SPMF model achieved an mAP50 of 96.24%on the test set,with an mAP50-95 of 81.36%,a recall of 90.33%,a model parameter count of 4.13 M,and an inference time of 11.70 ms per image.Compared with YOLOv3-tiny,YOLOv5n,YOLOv6n,YOLOv7-tiny,Faster-RCNN,YOLOv8n,YOLOv9t,YOLOv10n,YOLOv11n and YOLOv12n,the mAP50 of YOLOv8n-SPMF model improved by 3.57,0.78,1.40,0.05,2.64,0.74,0.66,0.72,0.50 and 1.26 percentage points,respectively,and the precision increased by 0.48,0.95,0.69,0.38,4.90,0.11,0.63,1.90,0.43 and 0.61 percentage points,respectively.[Conclusion]The YOLOv8n-SPMF model proposed in this paper exhibits high accuracy for mature tomato fruit detection in facility environments and can provide effective technical support for intelligent tomato harvesting.关键词
番茄/设施环境/目标检测/深度学习/YOLOv8nKey words
Tomato/Facility environment/Object detection/Deep learning/YOLOv8n分类
信息技术与安全科学引用本文复制引用
赵玉清,何茂昌,胡惠永,李嘉舜,邓航宇,张悦..基于改进YOLOv8n的设施环境下成熟番茄检测方法[J].华南农业大学学报,2026,47(4):661-673,13.基金项目
云南省科技厅重大科技专项计划(202302AE0900200105) (202302AE0900200105)
云南省科技厅科技计划农业联合专项(202301BD070001-105) (202301BD070001-105)