{"title":"Transformer-based Encoder-Decoder Model for Surface Defect Detection","authors":"Xiaofeng Lu, Wentao Fan","doi":"10.1145/3529466.3529471","DOIUrl":null,"url":null,"abstract":"Recently, deep learning approaches have been gaining popularity in industrial quality control (e.g. surface defect detection), due to their ability for automatically extracting more representative features. In this paper, we propose a two-stage end-to-end approach through a Transformer-based encoder-decoder for surface defect detection. First, we develop a surface defect detection model to train the slicing of input raw images with the same final resolution of the input images and the output images, which better expands the perceptual field. After that, a 1×1 convolution layer is applied to its final layer, thus reducing the number of channels to obtain a single-channel output mask. Then, we combine this single-channel output mask with the output obtained from the last layer of the first stage as the input of the second stage decision layer. Considering different types of sample data, we design two different decision network strategies, namely: plain-up sampling and dynamic-up sampling. Our experimental studies on several publicly available datasets show that the proposed approach is general and effective in detecting defects, and we only need a relatively small number of samples to train the model, which has a good applicability in industrial practice where the sample size is normally limited.","PeriodicalId":375562,"journal":{"name":"Proceedings of the 2022 6th International Conference on Innovation in Artificial Intelligence","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 6th International Conference on Innovation in Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3529466.3529471","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Recently, deep learning approaches have been gaining popularity in industrial quality control (e.g. surface defect detection), due to their ability for automatically extracting more representative features. In this paper, we propose a two-stage end-to-end approach through a Transformer-based encoder-decoder for surface defect detection. First, we develop a surface defect detection model to train the slicing of input raw images with the same final resolution of the input images and the output images, which better expands the perceptual field. After that, a 1×1 convolution layer is applied to its final layer, thus reducing the number of channels to obtain a single-channel output mask. Then, we combine this single-channel output mask with the output obtained from the last layer of the first stage as the input of the second stage decision layer. Considering different types of sample data, we design two different decision network strategies, namely: plain-up sampling and dynamic-up sampling. Our experimental studies on several publicly available datasets show that the proposed approach is general and effective in detecting defects, and we only need a relatively small number of samples to train the model, which has a good applicability in industrial practice where the sample size is normally limited.