Small sample industrial product defect classification method based on two-stage transfer learning

A technology for classification of industrial products and defects, applied in the field of visual inspection, can solve the problems of small number of defect samples, poor adaptability, and difficulty in collection, so as to improve the classification accuracy, improve the representation ability, and improve the efficiency of use.

Active Publication Date: 2020-11-17
深圳市烨嘉为技术有限公司
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional image processing algorithms use the method of feature engineering to achieve classification by calculating artificially designed image features, but this method relies heavily on people, difficult to debug, and poor adaptability
With the development of deep learning technology, the application of defect detection technology based on deep learning model is becoming more and more widespread. However, the number of defect samples in the production process of industrial products is small, the collection is difficult, and the labeling process is time-consuming and labor-intensive. There are few defective samples for training, but the number of normal samples is large. Therefore, the number of defective samples and normal samples is unbalanced. The deep learning model trained on this unbalanced data set will cause the model to be biased towards A large number of normal samples leads to a decrease in the detection accuracy of defective samples, making it difficult to guarantee the pass rate of the final product

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
  • Small sample industrial product defect classification method based on two-stage transfer learning
  • Small sample industrial product defect classification method based on two-stage transfer learning
  • Small sample industrial product defect classification method based on two-stage transfer learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0024] combine figure 1 As shown, the two-stage migration learning model training strategy of the present invention is as follows: first, the negative samples in the original data set with positive and negative sample balance caused by fewer negative samples are expanded by 2-3 times through image data enhancement, and then the large number Randomly select a number of positive samples equivalen...

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

A small sample industrial product defect classification method based on two-stage transfer learning comprises the following steps: S1, collecting positive and negative samples to form a data set; S21,expanding the number of the negative samples in the data set by 2-3 times by using an image data enhancement means, randomly selecting positive samples of which the number is equivalent to the numberof the expanded negative samples, and forming a data subset of which the number is balanced; S22, forming another data set subset by using the remaining positive samples; S31, selecting a CNN detection model, and carrying out first-stage training; S32, carrying out training in the second stage on the data set subset containing the remaining positive samples and the expanded negative samples; andS4, after the model training in the step S32 is converged, testing the classification performance of the model on the test set, if the requirements are met, performing online test, otherwise, repeatedly dividing the data subsets and the model training process, and repeating the steps S21 to S32 until the requirements are met. The method has the following beneficial effects: 1, the method has defect image high-dimensional features with better performance; 2, the representation capability of the model on an industrial product image is improved; and 3, the model training strategy has good universality.

Description

technical field [0001] The invention belongs to the technical field of visual inspection, and in particular relates to a small-sample industrial product defect classification method based on two-stage transfer learning. Background technique [0002] With the development of intelligent manufacturing, the demand for production automation of industrial products is becoming more and more urgent, and the requirements for product quality are also getting higher and higher. In the current industrial production practice, most of the production technology process has been automated. However, it is still difficult to automate the product appearance quality inspection and inspection process, which requires a lot of manual inspection, which affects production efficiency and product quality. Therefore, the research on the appearance defect detection technology and system of industrial products is very important. [0003] The basic process of product appearance inspection is to first obt...

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): G06K9/62G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06F18/24
Inventor 刘家欢刁思勉张云李娜刘文锋陈艳平李锡康
Owner 深圳市烨嘉为技术有限公司
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