Surface defect detection method based on multi-scale convolution and trilinear global attention

A defect detection and attention technology, applied in neural learning methods, character and pattern recognition, details involving image stitching, etc., can solve problems such as inability to meet needs, large differences in defect size, industrial environment background, etc. Strong response, enhanced effect of difference

Pending Publication Date: 2021-03-09
TIANJIN UNIV
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, most existing deep learning methods have certain limitations: First, most deep learning methods are data-driven techniques that often require a large amount of labeled sample data to play a role
Third, in the existing defect detection, only the deepest features are used for prediction, and shallow features are not fused; fourth, the existing defect detection is often experimented on cloth images with high repeatability of the texture background, Experiments were not carried out in actual industrial images, thus ignoring the problems of large defect size differences in industrial images and complex industrial environment background with small defects. Therefore, in industrial applications, it is often unable to meet the needs of practical applications.

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 multi-scale convolution and trilinear global attention
  • Surface defect detection method based on multi-scale convolution and trilinear global attention
  • Surface defect detection method based on multi-scale convolution and trilinear global attention

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] The embodiment of the present invention describes a surface defect detection method based on multi-scale convolution and trilinear global attention, such as figure 1 shown.

[0036] The whole network consists of four parts: feature fusion network module, codec network module, trilinear global attention module and finally decision module. Among them, the first feature fusion network module fuses shallow and deep features to provide multi-level semantic information for the codec module, which has a strong ability to capture local fine-grained features; the second codec network module multiplexes convolution After the features of the corresponding scale realize the recovery of semantic information; the third trilinear global attention module obtains the importance of each feature channel through the adaptive learning method, learns the correlation between features, and improves useful features according to the importance And suppress features that are not very useful for ...

Embodiment 2

[0058] The scheme in embodiment 1 is verified below in conjunction with concrete experiment, see description below for details:

[0059] 1. Experimental settings

[0060] Datasets and evaluation metrics:

[0061] (1) Kolektor SDD dataset

[0062] The KolektorSDD surface defect dataset used for this training and evaluation is the surface crack image of the electronic steering gear provided and annotated by the Kolektor Group (http: / / www.vicos.si / Downloads / KolektorSDD), and the dataset was collected in an industrial environment , with a resolution of 1408*512 pixels, such as Figure 5 shown. More specifically, the dataset consists of 50 samples of defective electronic diverters, each with up to 8 surfaces. This results in a total of 399 images, of which 52 are clearly visible defects and are presented as Positive samples, the remaining 347 pictures are non-defective negative samples, the number of positive samples in the training set is 26, and the number of negative samples...

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 discloses a surface defect detection method based on multi-scale convolution and trilinear global attention, and the method comprises the steps: carrying out the convolution and poolingof trunk features in an encoding module, and extracting shallow feature maps of an image under different scales; obtaining a deep feature map through up-sampling and convolution operations in a decoding module; fusing the shallow feature maps and the deep feature map together through four times of splicing operation in the middle; converting the shallow feature map into a shallow attention map bya first branch of the trilinear global attention module through linear operation, activating the deep feature map by a second branch through compression to obtain a deep feature weight of the deep feature map, and then weighting the deep feature weight to the shallow feature map; in a decision-making network module, processing an output feature map of the decoding module by using global average pooling and global maximum pooling, outputting the probability that a surface defect image has defects through an activation function, and outputting a grey-scale map of a potential position of the defect through 1*1 convolution operation for visually explaining a neural network.

Description

technical field [0001] The present invention relates to the field of industrial defect detection, in particular to a surface defect detection method based on multi-scale convolution and trilinear global attention, which can significantly reduce the cost of sample labeling without reducing the performance of the model, and is committed to eliminating weak The effective position information and shape information of defective objects are obtained in the supervised learning label. Background technique [0002] In the process of industrialization, due to irresistible factors, defects may appear on the surface of industrial devices. Therefore, surface defect detection is a basic task to ensure production quality. Usually, manual screening is required, and workers need to spend a lot of time on training. However, this method is inefficient, highly subjective, and limits the production efficiency of products. Usually, the traditional defect detection method follows the same process...

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/40G06K9/62G06N3/04G06N3/08
CPCG06T7/0002G06T3/4038G06N3/08G06T2200/32G06T2207/10004G06T2207/20081G06T2207/20084G06T2207/30164G06N3/048G06N3/045G06F18/213G06F18/253G06F18/214
Inventor 孙美君吕超章王征
Owner TIANJIN 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