{"title":"Computer vision defect detection on unseen backgrounds for manufacturing inspection","authors":"Ahmad Mohamad Mezher , Andrew E. Marble","doi":"10.1016/j.eswa.2023.122749","DOIUrl":null,"url":null,"abstract":"<div><p>Visual defect detection<span><span> is an important aspect of quality inspection. High performance manufacturing can benefit from automating defect detection, and deep learning techniques are the current state of the art for this </span>computer vision<span><span> task. The premise of deep learning is that an over parameterized model learns to generalize in performing a task such as classification or object detection by exposure to a wide variety of training examples. In the canonical example, a classifier that has seen thousands of pictures of dogs and cats in different situations and backgrounds will be able to generalize to tell one animal from the other in a newly obtained photo. The assumption that the training data contains great variety is not met in typical manufacturing data sets. Data is highly repetitive and mostly represents defect-free products, meaning there are few images of defects or deviations to learn from. In this training regime, deep learning models are easily over-fit to the training data and can fail to detect defects in the face of variations such as position, lighting, or data drift. In this work, we explore training defect detection models with images of defects on different backgrounds and in different locations, in order to approximate the exposure to highly diverse data sets that is an assumption of a well-trained deep learning model. We demonstrate how models trained on diverse images containing a common defect type can pick defects out in new circumstances. Such generic models could be more robust to new defects not found in data collected for training, and can reduce data collection impediments to implementing visual inspection on production lines. Additionally, we demonstrate that object detection models trained to predict a label and </span>bounding box outperform classifiers that predict a label only on held out test data typical of manufacturing inspection tasks. Finally, we studied the factors that affect generalization in order to train models that work under a wider range of conditions.</span></span></p></div>","PeriodicalId":7,"journal":{"name":"ACS Applied Polymer Materials","volume":null,"pages":null},"PeriodicalIF":4.4000,"publicationDate":"2023-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACS Applied Polymer Materials","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417423032517","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Visual defect detection is an important aspect of quality inspection. High performance manufacturing can benefit from automating defect detection, and deep learning techniques are the current state of the art for this computer vision task. The premise of deep learning is that an over parameterized model learns to generalize in performing a task such as classification or object detection by exposure to a wide variety of training examples. In the canonical example, a classifier that has seen thousands of pictures of dogs and cats in different situations and backgrounds will be able to generalize to tell one animal from the other in a newly obtained photo. The assumption that the training data contains great variety is not met in typical manufacturing data sets. Data is highly repetitive and mostly represents defect-free products, meaning there are few images of defects or deviations to learn from. In this training regime, deep learning models are easily over-fit to the training data and can fail to detect defects in the face of variations such as position, lighting, or data drift. In this work, we explore training defect detection models with images of defects on different backgrounds and in different locations, in order to approximate the exposure to highly diverse data sets that is an assumption of a well-trained deep learning model. We demonstrate how models trained on diverse images containing a common defect type can pick defects out in new circumstances. Such generic models could be more robust to new defects not found in data collected for training, and can reduce data collection impediments to implementing visual inspection on production lines. Additionally, we demonstrate that object detection models trained to predict a label and bounding box outperform classifiers that predict a label only on held out test data typical of manufacturing inspection tasks. Finally, we studied the factors that affect generalization in order to train models that work under a wider range of conditions.
期刊介绍:
ACS Applied Polymer Materials is an interdisciplinary journal publishing original research covering all aspects of engineering, chemistry, physics, and biology relevant to applications of polymers.
The journal is devoted to reports of new and original experimental and theoretical research of an applied nature that integrates fundamental knowledge in the areas of materials, engineering, physics, bioscience, polymer science and chemistry into important polymer applications. The journal is specifically interested in work that addresses relationships among structure, processing, morphology, chemistry, properties, and function as well as work that provide insights into mechanisms critical to the performance of the polymer for applications.