Improved Yolov7-tiny Algorithm for Steel Surface Defect Detection

被引:9
作者
Qi, Xiangming [1 ]
Dong, Xu [1 ]
机构
[1] School of Software, Liaoning University of Technology, Liaoning, Huludao
关键词
BiFPN; CARAFE; defect detection; MHSA; SiLU; SPD; steel surface; Yolov7-tiny;
D O I
10.3778/j.issn.1002-8331.2302-0191
中图分类号
学科分类号
摘要
In order to improve the efficiency of small target detection of steel surface defects, an improved Yolov7-tiny steel surface defect detection algorithm is proposed. The activation function of the feature extraction network is changed to SiLU to improve the feature extraction capability. The tensor splicing operation of the feature fusion network is combined with the weighted bidirectional feature pyramid BiFPN, and the nearest interpolation of the upper sampling part is replaced with the lightweight operator CARAFE to improve the feature fusion ability. Finally, the multi-head self-attention mechanism MHSA and SPD convolution building blocks are introduced at the output end to improve the detection performance of the output end for small targets of steel surface defects. The ablation and contrast experiments are carried out on the NEU-DET dataset. Compared with the original Yolov7-tiny algorithm, the improved algorithm has increased the mAP by 11.7 percentage points, the precision by 3.3 percentage points, and the FPS value reaches 192. The results show that the improved algorithm can effectively improve the detection efficiency of small targets of steel surface defects. Comparative experiments on the VOC2012 dataset show that the improved algorithm is universal. © 2023 Journal of Computer Engineering and Applications Beijing Co., Ltd.; Science Press. All rights reserved.
引用
收藏
页码:176 / 183
页数:7
相关论文
共 21 条
[1]  
WANG Y, LIAN X F, LU Y., Product defects detection based on features fusion and the multi-scale sliding window[C], 2017 13th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery(ICNCFSKD), pp. 2948-2952, (2017)
[2]  
CHU M X, LIU X P, GONG R F, Et al., Multi-class classification method using twin support vector machines with multi-information for steel surface defects[J], Chemometrics and Intelligent Laboratory Systems, 176, pp. 108-118, (2018)
[3]  
LIU K, LIU T X, CHEN H Y, Et al., Strip steel surface defect detection based on adaptive sort fusion attention network, Proceedings of China Automation Conference, pp. 724-729, (2021)
[4]  
FANG J T, TAN X Y., Defect detection of metal surface based on attention cascade R-CNN, Journal of Frontiers of Computer Science and Technology, 15, 7, pp. 1245-1254, (2021)
[5]  
MA Y C, FU H L, WU P, Et al., Research on the Mask R- CNN model of deep network adaptive optimization in the detection of casting surface defects, Modern Manufacturing Engineering, 2022, 4, pp. 112-118
[6]  
REDMON J, DIVVALA S, GIRSHICK R, Et al., You only look once:unified, real-time object detection[C], Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 779-788, (2016)
[7]  
REDMON J, FARHADI A., Yolov3:an incremental improvement, (2018)
[8]  
BOCHKOVSKIY A, WANG C Y, LIAO H Y M., Yolov4:optimal speed and accuracy of object detection, (2020)
[9]  
CHENG J Y, DUAN X H, ZHU W., Research on metal surface defect detection by improved YOLOv3, Computer Engineering and Applications, 57, 19, pp. 252-258, (2021)
[10]  
LIAN J, HE J, NIU Y, Et al., Fast and accurate detection of surface defect based on improved YOLOv4, Assembly Automation, (2021)