Modern Manufacturing Engineering ›› 2024, Vol. 526 ›› Issue (7): 117-125.doi: 10.16731/j.cnki.1671-3133.2024.07.015

Previous Articles     Next Articles

The end face of steel coil defect detection based on improved YOLOv7

SUN Tieqiang, QIN Yuanwei, SONG Chao, XIAO Pengcheng   

  1. College of Artificial Intelligence,North China University of Science and Technology,Tangshan 063210,China
  • Received:2023-08-07 Online:2024-07-18 Published:2024-07-30

Abstract: An improved YOLOv7 object detection algorithm was proposed to address the issues of complex texture and small defects on the end face of steel coils,as well as slow recognition speed and low detection rate of small targets using YOLOv7 algorithm. The ELAN structure in the YOLOv7 algorithm backbone network was improved by adding a PConv convolutional layer to design a new structure to reduce the model complexity and improve the model detection speed. Due to the tendency to miss detection in small object detection,a new attention mechanism CSCA was designed to improve the network′s sensitivity to small-scale objects. On this basis,WIoUv2 loss function was used to replace the CIoU loss function in the original YOLOv7 algorithm network to optimize the loss function and improve the robustness of the network.Experiments were conducted on a self-made dataset of steel coil end face defects,and the results showed that the improved YOLOv7 algorithm improved mAP@0.5 by 4.1 % and FPS by 10.84 f/s,with better detection performance than the original algorithm.

Key words: the end face of steel coil defect detection, YOLOv7 algorithm, attention mechanism, loss function

CLC Number: 

Copyright © Modern Manufacturing Engineering, All Rights Reserved.
Tel: 010-67126028 E-mail: 2645173083@qq.com
Powered by Beijing Magtech Co. Ltd