计算技术与自动化2024,Vol.43Issue(3) :43-49.DOI:10.16339/j.cnki.jsjsyzdh.202403008

基于机器视觉的轻量化钢材表面缺陷检测模型

Lightweight Steel Surface Defect Detection Model Based on Machine Vision

刘文钊 张丹
计算技术与自动化2024,Vol.43Issue(3) :43-49.DOI:10.16339/j.cnki.jsjsyzdh.202403008

基于机器视觉的轻量化钢材表面缺陷检测模型

Lightweight Steel Surface Defect Detection Model Based on Machine Vision

刘文钊 1张丹1
扫码查看

作者信息

  • 1. 南京林业大学信息科学技术学院,江苏南京 210037
  • 折叠

摘要

针对当前主流缺陷检测模型参数量大、计算复杂度高,难以在计算资源有限的嵌入式设备上部署的问题,提出了 一种轻量化钢材表面缺陷检测模型YOLO-LSNet.首先,为了降低模型的参数量和计算复杂度,提出了 一种轻量化卷积模块MSConv.其次,提出M-BiFPN网络用于深浅层特征信息的融合.最后,用SIoU损失函数替换CIoU损失函数,加快网络的收敛速度.实验结果表明,YOLO-LSNet模型在NEU-DET数据集上相较于基线网络YOLOv5,mAP提升了 1.8%,模型参数下降了 43.4%,计算量降低了36.1%.完成模型轻量化设计的同时,保证了模型的检测精度,具有良好的应用前景.

Abstract

Aiming at the problems of large number of parameters and high computational complexity of current main-stream defect detection models,it is difficult to deploy on embedded devices with limited computing resources.A lightweight steel surface defect detection model YOLO-LSNet is proposed.Firstly,in order to reduce the parameter number and compu-tational complexity of the model,a lightweight convolution module MSConv is proposed.Secondly,M-BiFPN network is proposed for deep and shallow layer feature information fusion.Finally,CIoU loss function is replaced by SIoU loss function to speed up the convergence of the network.The experimental results show that compared with the baseline network YOLOv5 in NEU-DET data set,the mAP of YOLO-LSNet model increases by 1.8%,model parameters decreases by 43.4%,and computation cost decreases by 36.1%.At the same time,the lightweight design of the model is completed,the detection accuracy of the model is guaranteed,and it has a good application prospect.

关键词

缺陷检测/深度可分离卷积/多尺度特征融合/轻量化/注意力机制

Key words

defect detection/depthwise separable convolution/multi-scale feature fusion/lightweight/attention mecha-nism

引用本文复制引用

基金项目

江苏省农业科技创新基金资助项目(CX213187)

出版年

2024
计算技术与自动化
湖南大学

计算技术与自动化

CSTPCD
影响因子:0.295
ISSN:1003-6199
段落导航相关论文