Defect detection method based on cyclic generative adversarial network and structural similarity

A technology for structural similarity and defect detection, applied in biological neural network models, neural learning methods, neural architectures, etc., can solve the problems of large subjectivity, high detection error rate, poor detection effect, etc., and achieve fast model convergence speed , high detection accuracy, and the effect of improving efficiency

Pending Publication Date: 2022-08-02
XIAMEN UNIV TAN KAH KEE COLLEGE
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current deep learning methods for defect detection still have some shortcomings: 1. Most of them require training data with labels (image level or pixel level), and labeling a large amount of data is undoubtedly time-consuming, laborious and subjective; 2. The detection accuracy is not high Or the detection error rate is too high, it is difficult to meet the requirements of practical applications
[0003] Since industrial surface defect detection is still mainly done manually, there are problems such as high labor intensity, low efficiency, and great subjectivity, which cannot well meet the high efficiency and high precision requirements of industrial production, and most of the defects based on machine vision The detection method also has the disadvantages of requiring manual labeling of a large amount of training data, long training time, and poor detection effect on surfaces with messy textures.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Defect detection method based on cyclic generative adversarial network and structural similarity
  • Defect detection method based on cyclic generative adversarial network and structural similarity
  • Defect detection method based on cyclic generative adversarial network and structural similarity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] In this embodiment, the computer environment is as follows, CPU: Intel(R) Xeon(R) CPU E5-2620 v4@2.10GHz, GPU: GeForce GTX 1080Ti, Memory: 128G, Python: 3.6.13, Pytorch: 1.7.1 .

[0083] 1. Data set production

[0084] The dataset is derived from Class6 ( Figure 5 middle a, Figure 5 in b) and Class7 ( Figure 5 middle c. Figure 5 In d), DAGM2007 is a common data set for industrial surface defect detection. There are 10 different categories. Each category is divided into training set and test set. All images are grayscale images in png format, 512 × 512 pixels.

[0085]In this embodiment, all training pictures and test pictures are resized to a size of 256×256 before being input into the model, and data standardization is performed with 0.5 as the mean and standard deviation, so as to speed up the convergence speed of the model. In addition, the training images are randomly cropped and randomly flipped to improve the robustness of the model.

[0086] The size of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a defect detection method based on a cyclic generative adversarial network and structural similarity, and the method comprises the following steps: S1, obtaining and preprocessing defect pictures, and enabling the defect pictures to serve as a training data set; s2, constructing a CycleGAN model, and training based on the training data set to obtain a model for mapping the defect picture into a defect-free picture; s3, inputting a to-be-detected image into the trained CycleGAN model, and comparing the difference between the original image and the repaired image by using a structural similarity algorithm to obtain a difference binary image; and S4, connected domain noise reduction and morphological processing are carried out on the difference binary image, and if the original image has defects, the white area in the binary image is the extracted defect shape. The method has the advantages of being high in detection precision, high in robustness to complex texture surfaces, capable of accurately detecting small defects and the like.

Description

technical field [0001] The invention relates to the field of machine vision and the field of industrial production, in particular to a defect detection method based on cyclic generative adversarial network and structural similarity. Background technique [0002] "Object detection" is one of the core problems in the field of computer vision (CV). Its task is to locate the desired target (object) from a given image or video, identify different targets, and output the category of the target. The application scenarios of target detection are very wide, among which face detection, pedestrian detection, vehicle detection, etc. are widely studied. Defect detection is a specific application of target detection, and the target to be detected is the possible defects on the surface of the product. Industrial defect detection has long been done manually. However, relying on manual detection of surface defects is time-consuming, laborious, and has strong subjective bias, and its effici...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00G06T3/00G06T5/00G06V10/74G06N3/04G06N3/08
CPCG06T7/0004G06T7/001G06T3/0012G06T5/002G06V10/761G06N3/08G06T2207/20081G06T2207/20084G06N3/047Y02P90/30
Inventor 郭一晶钟林威邱义詹俦军温宗恒
Owner XIAMEN UNIV TAN KAH KEE COLLEGE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products