EfficientNet-based nut surface defect classification method

A technology of defect classification and nuts, which is applied in image analysis, image data processing, instruments, etc., can solve problems such as low accuracy, low efficiency, and poor generalization ability, and achieve the effect of avoiding time-consuming, avoiding impact, and enhancing adaptability
CN113052809AActive Publication Date: 2021-06-29中科海拓(无锡)科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
中科海拓(无锡)科技有限公司
Publication Date
2021-06-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a EfficientNet-based nut surface defect classification method, and the method comprises the steps: 1, collecting a training sample, and making a data set; training an EfficientNet model through the data set, and carrying out nut surface classification after model training convergence; self-adjusting the model scale by using the EfficientNet, so that the problems that time is wasted by manual adjustment and an optimal solution is difficult to obtain are avoided; 2, collecting a target image, and cutting the target image; step 3, modifying a loss function into focal loss, adjusting positive and negative sample weights, and improving model precision; avoiding the influence of imbalance of positive and negative samples on the model; step 4, image preprocessing: making a template image to perform rotation correction on the input image, performing subtraction to obtain a difference image, and fusing the three images into a three-channel image as a model input image; step 5, performing model reasoning: performing reasoning on an input image by using an EfficientNet model, and performing prediction on the input image by using the EfficientNet model, so as to enhance the adaptability of the model to a production environment and improve the generalization ability of the model; and step 6, outputting the reasoning image to an upper computer for display.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of nut surface defect classification, in particular to a nut surface defect classification method based on EfficientNet. Background technique

[0002] With the development of science and technology, the automation level of industrial production is also increasing. In nut production, while improving production efficiency, how to improve detection efficiency has become an urgent problem to be solved; currently, most factories use manual inspection for quality inspection, which is affected by factors such as staff experience and working status Influenced by the lack of objectivity and heavy workload, the detection efficiency is low; traditional visual inspection methods used in nut defect detection algorithms usually have low accuracy, poor generalization ability and difficult to adapt to the factory environment. Therefore, the nut defect classification technology based on EfficientNet has important practical ...

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