首页|基于改进YOLOv8的轻量化带钢缺陷检测算法

基于改进YOLOv8的轻量化带钢缺陷检测算法

扫码查看
为提升带钢缺陷检测的精准度,并实现模型在移动端的便捷高效部署,提出一种基于改进 YOLOv8n 的轻量化带钢缺陷检测方法.首先,引入 GhostNet 来替代网络中的传统卷积层,显著减轻了网络的计算负担,通过加入CA(坐标注意力)关注机制,有效增强了网络的特征提取能力并增强了模型的感受野.其次,在特征融合部分,选用轻量级的CARAFE(基于内容的特征重组)上采样模块,进一步提升了模型对特征的提取效果.最后,为了优化网络边界框回归的性能,采用 Wise-IoU 边界损失函数来替代原有的损失函数,用改进后的带钢表面缺陷检测方法在NEU-DET数据集上进行实验.结果表明,改进后的方法参数量和计算量分别为 9.5M和 6.4 GFLOPs,相较于原始网络提升了 15%和 21%,同时mAP(平均准确率均值)为 81.5%,提升 3.2%,优于其他对比目标检测算法,可为移动端检测装备的部署和应用提供参考.
Lightweight Steel Strip Defect Detection Algorithm Based on Improved YOLOv8
In order to improve the accuracy of steel strip defect detection and realize the convenient and efficient deployment of the model on the mobile terminal,a lightweight steel strip defect detection method is proposed based on improved YOLOv8n.Firstly,GhostNet is introduced to replace the traditional convolutional layers in the network,significantly reducing the computational burden of the network,by adding the CA(coordinate attention)attention mechanism,the feature extraction ability of the network is effectively enhanced and the receptive field of the model is enhanced.Secondly,in the feature fusion part,the lightweight upsampling module CARAFE(content-aware reassembly of features)is selected to further improve the feature extraction effect of the model.Finally,in order to optimize the performance of network bounding box regression,the Wise-IoU boundary loss function is used to replace the original loss function.The improved strip surface defect detection method is used to conduct experiments on NEU-DET data set.The results show that the parameter number and calculation amount of the improved method are 9.5 M and 6.4 GFLOPs,respectively,which are 15%and 21%higher than those of the original network,and the mAP is 81.5%,which is 3.2%higher.It is superior to other compared target detection algorithms,which can provide reference for the deployment and application of mobile terminal detection equipment.

surface defect detectionYOLOv8lightweightobject detection

谢章浩、于瓅

展开 >

安徽理工大学计算机科学与工程学院,安徽 淮南 232001

表面缺陷检测 YOLOv8 轻量化 目标检测

安徽省重点研究与开发计划

202104d07020010

2024

科技和产业
中国技术经济学会

科技和产业

影响因子:0.361
ISSN:1671-1807
年,卷(期):2024.24(15)