Surface defect detection method based on positive case training

A defect detection and positive example technology, applied in image analysis, image enhancement, instruments, etc., can solve the problems of complex production environment changes, difficult to obtain defect samples and manual annotation, etc., to achieve low labor cost, easy implementation, and good interference. Effect

Active Publication Date: 2018-12-07
NANJING UNIV +2
View PDF3 Cites 54 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The problem to be solved by the present invention is: in the actual survival process of surface defect detection, it will encounter the problem that the production environment changes complex, and the large number of defect samples and manual labels required by the supervised deep learning method are not easy to obtain.

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
  • Surface defect detection method based on positive case training
  • Surface defect detection method based on positive case training
  • Surface defect detection method based on positive case training

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] In order to solve the problems of poor robustness of traditional vision algorithms, difficult acquisition of defect samples of supervised learning algorithms and high labor cost, the present invention proposes a surface defect detection method based on positive example training, the main steps of which can be found in figure 1 , G in the figure is the self-encoder, EN and DE refer to the encoding and reconstruction of the self-encoder, and D is the discriminator of the generated confrontation network GAN. The specific implementation is described in the following description:

[0048] Image reconstruction:

[0049] 1) Adding random artificial defects and noises to the positive image does not need to know the specific shape of the real defect. The self-encoder in the present invention only needs to restore the original image to the closest positive sample. Therefore, artificial enough random defects are pasted on the positive samples during training, and the network can ...

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 surface defect detection method based on positive case training. The method comprises two steps of image reconstruction and defect detection, image reconstruction is to reconstruct an inputted original image into an image without defects, reconstruction steps are as follows, artificial defects and noise are added to the positive case image during training, a self-encoderis utilized for reconstruction, the L1 distance between the reconstruction result and the noise-free original image is calculated, the distance is minimized as a reconstruction target, in cooperationwith the generative adversarial network, the reconstruction image effect is optimized; defect detection is performed after image reconstruction, LBP features of the reconstructed image and the original image are calculated, after difference between the two feature images is made, the two images are binarized based on the fixed threshold, so the defects are found. The method is advantaged in thatthe depth learning method is utilized, the method can be sufficiently robust to be less susceptible to environmental changes when positive samples are enough, moreover, based on regular training, themethod does not rely on a large number of negative samples and manual annotation, the method is suitable for being used in real-world scenarios, and the surface defects can be better detected.

Description

technical field [0001] The invention belongs to the technical field of machine vision, relates to product surface defect detection, and is a surface defect detection method based on positive example training. Background technique [0002] In industrial production, defect detection is a very important part, which has a significant impact on the quality of the final product and the reputation of the product in the market. In traditional industrial production, human eyes are often used to detect defects, which will cause the following disadvantages: the subjective influence is large, and human eyes are prone to missed and wrong detections in a large number of repetitive tasks, and human resources Costs are expensive. Therefore, machine vision instead of human eye defect detection can not only reduce the cost but also improve the accuracy. [0003] Machine vision algorithms will encounter many problems and challenges in the actual industrial defect detection environment. The a...

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/00G06T7/10G06N3/04
CPCG06T7/0004G06T7/10G06T2207/20081G06T2207/20084G06T2207/10004G06T2207/30108G06N3/045Y02T10/40
Inventor 李勃赵之轩赵鹏董蓉
Owner NANJING UNIV
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