Lu Jianbo, Zhu Mingrui, Qin Kaixian, Ma Xiaoya
Guangxi Key Lab of Human-Machine Interaction and Intelligent Decision, Nanning Normal University, Nanning 530001, China.
Guangxi Zhuang Autonomous Region Forestry Survey and Design Institute, Nanning 530011, China.
Biomimetics (Basel). 2024 Oct 8;9(10):607. doi: 10.3390/biomimetics9100607.
Strip steel surface defect recognition research has important research significance in industrial production. Aiming at the problems of defect feature extraction, slow detection speed, and insufficient datasets, YOLOv5 is improved on the basis of YOLOv5, and the YOLO-LFPD (lightweight fine particle detection) model is proposed. By introducing the RepVGG (Re-param VGG) module, the robustness of the model is enhanced, and the expressive ability of the model is improved. FasterNet is used to replace the backbone network, which ensures accuracy and accelerates the inference speed, making the model more suitable for real-time monitoring. The use of pruning, a GA genetic algorithm with OTA loss function, further reduces the model size while better learning the strip steel defect feature information, thus improving the generalisation ability and accuracy of the model. The experimental results show that the introduction of the RepVGG module and the use of FasterNet can well improve the model performance, with a reduction of 48% in the number of parameters, a reduction of 13% in the number of GFLOPs, an inference time of 77% of the original, and an optimal accuracy compared with the network models in recent years. The experimental results on the NEU-DET dataset show that the accuracy of YOLO-LFPD is improved by 3% to 81.2%, which is better than other models, and provides new ideas and references for the lightweight strip steel surface defect detection scenarios and application deployment.
带钢表面缺陷识别研究在工业生产中具有重要的研究意义。针对缺陷特征提取、检测速度慢和数据集不足等问题,在YOLOv5的基础上进行改进,提出了YOLO-LFPD(轻量级细粒度检测)模型。通过引入RepVGG(重参数化VGG)模块,增强了模型的鲁棒性,提高了模型的表达能力。使用FasterNet替换主干网络,在保证精度的同时加快了推理速度,使模型更适合实时监测。采用剪枝、带有OTA损失函数的GA遗传算法,在更好地学习带钢缺陷特征信息的同时进一步减小了模型尺寸,从而提高了模型的泛化能力和精度。实验结果表明,引入RepVGG模块和使用FasterNet能够很好地提升模型性能,参数数量减少48%,GFLOPs数量减少13%,推理时间为原来的77%,与近年来的网络模型相比具有最优的精度。在NEU-DET数据集上的实验结果表明,YOLO-LFPD的准确率提高了3%,达到81.2%,优于其他模型,为轻量级带钢表面缺陷检测场景和应用部署提供了新的思路和参考。