Abstract

In industrial production, product quality has always been the key to production. As an important raw material in China, the surface quality of steel directly affects the final product quality. Initially, manual detection was the main method for steel surface defect detection, which not only required high human resources, but also was difficult to meet the needs. Later, traditional defect detection methods were mainly aimed at specific materials and could not fully meet defect detection tasks. With the rise of deep learning, deep learning-based detection algorithms have high accuracy and can meet real-time detection speed, and have been widely used in industrial scenarios. However, there are still problems such as poor detection effects due to complex industrial scenarios, which pose great challenges to the application of target detection algorithms in industrial defect detection. In this paper, based on the YOLOv7-tiny target detection algorithm, we conducted corresponding research on steel surface defect detection tasks. The main work of this paper is as follows: (1) For the problem that the size, scale, and type of targets in steel defect detection lead to inaccurate classification and inaccurate positioning, we studied the BiFPN structure in Efficientdet and designed a module based on weighted multi-scale feature fusion: Bicat module. This module adds different weight values to the feature maps of different scales, making them most suitable for predicting different targets. On this basis, we also used shallower modules for weighted multi-scale fusion, so that the network can learn more accurate location information. (2) In response to the problem of unreasonable allocation of computing resources in the network model, this paper studied the SENet, CBAM, and CA attention mechanisms, and improved the YOLOv7 network model based on this. This strengthens the extraction of target audio information and location information in steel surface defects, and allocates more network model computing resources to defect targets. (3) In response to the limited hardware resources and real-time detection requirements in the current actual industrial production scenarios, this paper compresses the improved model through model quantization and knowledge distillation, achieving a reduction in model size and an improvement in model inference speed while ensuring a certain detection accuracy. To meet the requirements of industrial detection, a model simulation system was designed to achieve the purpose of steel surface defect detection.

Keywords: steel surface defect detection; multi-scale fusion; attention mechanism; YOLOv7-tiny; model compression.


原文地址: https://www.cveoy.top/t/topic/bvQ5 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录