Deep learning is now the gold standard in computer vision-based quality inspection systems. In order to detect defects, supervised learning is often utilized, but necessitates a large amount of annotated images, which can be costly: collecting, cleaning, and annotating the data is tedious and limits the speed at which a system can be deployed as everything the system must detect needs to be observed first. This can impede the inspection of rare defects, since very few samples can be collected by the manufacturer. In this work, we focus on simulations to solve this issue. We first present a generic simulation pipeline to render images of defective or healthy (non defective) parts. As metallic parts can be highly textured with small defects like holes, we design a texture scanning and generation method. We assess the quality of the generated images by training deep learning networks and by testing them on real data from a manufacturer. We demonstrate that we can achieve encouraging results on real defect detection using purely simulated data. Additionally, we are able to improve global performances by concatenating simulated and real data, showing that simulations can complement real images to boost performances. Lastly, using domain adaptation techniques helps improving slightly our final results.
翻译:深度学习是计算机基于视觉质量检查系统中的金标准。 为了发现缺陷,常常使用监督学习,但需要大量附加说明的图像,成本可能很高:收集、清理和说明数据是乏味的,并限制一个系统能够部署的速度,因为系统必须首先观测到的一切都需要先观察。这可能会妨碍对稀有缺陷的检查,因为制造商可以收集的样本极少,因为制造商可以收集到的样本很少。在这项工作中,我们侧重于模拟来解决这个问题。我们首先展示了一个通用模拟管道,以生成缺陷或健康(非缺陷)部分的图像。由于金属部分可以高质质地显示像孔这样的小缺陷,我们设计了一个质谱扫描和生成方法。我们通过培训深层学习网络和通过对制造商真实数据进行测试来评估生成图像的质量。我们证明我们能够通过纯模拟数据在真正的缺陷检测上取得令人鼓舞的结果。此外,我们可以通过配置模拟和真实数据来改进全球绩效,表明模拟可以补充真实图像来提升性能。最后,我们使用域改造技术来帮助改进我们的最后结果。