基于LVT-YOLOv8的草莓品质检测方法OA
Strawberry Quality Detection Method Based on LVT-YOLOv8
针对传统基于视觉的草莓品质检测方法效率低、提取特征单一等问题,提出一种改进YOLOv8s的网络模型用于草莓外观品质检测.以YOLOv8s为基准网络,提出LVT-YOLOv8改进模型.首先,将骨干网络优化为轻量级Vision Trans-former模型RepViT m1,从而更好地捕捉图像中的空间信息;其次,在颈部网络通过集成StarNet构建C2f-Star模块,可显著精简Neck网络的架构复杂度,不仅减少了模型的计算负荷与参数,还通过扩展特征空间的维度,增强特征融合的性能表现;再次,提出轻量化共享卷积BN(Batch Normalization)检测头,保持对多尺度特征信息敏感的检测能力;最后,采用改进的Inner-WIoU损失函数,改善边界框回归损失.改进模型参数量和模型大小分别降低了6.4%、4.7%,计算量仅上升了6.0%,检测速度FPS达到163.9 fps,精确率、召回率和平均精度均值比原模型分别提升2.2百分点、2百分点和1.6百分点,达到了98.6%、98%和95.3%.综上所述,改进的LVT-YOLOv8模型能够满足草莓产业的自动化生产需求,可为草莓自动化分拣提供技术支撑.
To address the issues of low efficiency and limited feature extraction in traditional visual strawberry quality detection methods,this paper proposes an improved YOLOv8s network model for strawberry appearance quality detection.Based on the YOLOv8s baseline network,we introduce the LVT-YOLOv8 enhanced model with the following improvements.Firstly,the back-bone network is optimized into a lightweight Vision Transformer model,RepViT m1,to better capture the spatial information in images.Secondly,by integrating StarNet in the neck network to construct the C2f-Star module,the architectural complexity of the Neck network can be significantly simplified.This not only reduces the computational load and parameters of the model but also enhances the performance of feature fusion by expanding the dimension of the feature space.Thirdly,a lightweight shared convolutional BN(Batch Normalization)detection head is proposed to maintain the detection capability that is sensitive to multi-scale feature information.Finally,an improved Inner-WIoU loss function is adopted to enhance the regression loss of bounding boxes.The improvement in parameters and size reduced by 6.4%and 4.7%respectively,while the computational load only in-creased by 6.0%.The detection speed FPS reached 163.9 fps,and the precision,recall rate and mean average precision are re-spectively increased by 2.2 percentage points,2 percentage points and 1.6 percentage points compared to the original model,reaching 98.6%,98%and 95.3%.In conclusion,the improved LVT-YOLOv8 model can meet the algorithm requirements for automated production in the strawberry industry and can provide technical support for strawberry automated sorting.
安晓东;李阳;钟佳;韦志轩
郑州航空工业管理学院机械工程学院,河南 郑州 450046郑州航空工业管理学院机械工程学院,河南 郑州 450046郑州航空工业管理学院机械工程学院,河南 郑州 450046郑州航空工业管理学院机械工程学院,河南 郑州 450046
信息技术与安全科学
YOLOv8s草莓品质检测RepViTStarNetLSCBDHInner-WIoU
YOLOv8sstrawberry quality detectionRepViTStarNetLSCBDHInner-WIoU
《计算机与现代化》 2026 (4)
54-63,80,11
河南省科技攻关项目(222102210273,242102210048)河南省自然科学基金资助项目(252300420067)
评论