基于深度学习的表面检测识别算法中,往往需要大量的样本数据。但对于一些新投产的生产线无法在短时间内收集足够多的样本。为了解决这一问题,采用了一种改进型的对抗生成网络,对其他生产线上的图像样本进行图像翻译,以获得新生产线的缺陷样本,即跨域图像转换。将热轧钢板表面缺陷样本和冷轧带钢无缺陷样本融合转换成冷轧带钢表面缺陷样本。试验将6种不同类型的热轧钢板表面缺陷进行了跨域转换,结果表明,对于背景纹理较重的图像转换结果较好,对于一些缺陷尺度较小的缺陷,如麻点,检测结果仍有改进空间。为了定量地对检测结果进行判定,引入了一个神经网络来对原始图像和翻译图像进行分类。分类结果准确率达到了96%,表明图像跨域转换效果良好,有一定应用价值。
In the surface detection recognition algorithms based on deep learning, a large amount of sample data was often required. For some newly established production lines, it was impossible to collect enough samples in a short period of time. This would result in inefficient detection which will affect efficiency in the early stage of a detecting system. In order to solve this problem, an enhanced generative adversarial network was adopted to perform image translation on image samples in other production lines to obtain the defect samples of new production lines, which was also called as cross domain image conversion. The surface defect samples of hot rolled steel sheets and the non defective samples of cold rolled steel strips were fusion converted into cold rolled strip surface defects samples. The experiment conducted cross domain conversion on the surface defects of six different types of hot rolled steel sheets. The results showed that the image conversion results with heavier background texture are better. For some defects with small defect scales, such as pitting, the detection results still have room for improvement. In order to quantitatively determine the detection result, a neural network was introduced to classify the original image and the translated image. The accuracy of classification results reached 96%, indicating that the image cross domain conversion effect was good and has certain application value.