Target detection system based on multi-scale fusion channel attention super-resolution reconstruction

Through a target detection system based on multi-scale fusion channel attention super-resolution reconstruction, the problem of low efficiency and accuracy in IC quality inspection is solved, efficient and accurate IC chip defect detection is achieved, and meets the needs of fast and efficient production.

CN118628356APending Publication Date: 2024-09-10BEIJING MXTRONICS CORP +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410696711.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology has problems of low efficiency and insufficient accuracy in integrated circuit (IC) quality inspection. In particular, manual inspection results in high cost and low accuracy, and cannot meet the needs of fast and efficient production.

Method used

A target detection system based on multi-scale fusion channel attention super-resolution reconstruction is adopted. Through the target image acquisition unit, super-resolution reconstruction unit and target detection unit, the convolutional neural network is used to perform super-resolution reconstruction and target detection of low-resolution images. Detection to achieve detection of high-resolution images.

Benefits of technology

It improves the detection accuracy of small targets and low-resolution targets, can effectively detect defects in IC chips, replaces manual inspection, improves efficiency and accuracy, and meets the needs of fast and efficient production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628356A
    Figure CN118628356A
Patent Text Reader

Abstract

The invention belongs to the field of image reconstruction and detection, particularly relates to a target detection system based on a multi-scale fusion channel attention super-resolution reconstruction technology, and aims to solve the problems of low detection efficiency and insufficient precision in the prior art. The system comprises a target image acquisition unit which is used for collecting an image of a to-be-detected target, carrying out the preprocessing of the image, taking the preprocessed image as a low-resolution target image, and transmitting the low-resolution target image to a super-resolution reconstruction unit; the super-resolution reconstruction unit is used for performing super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image and sending the high-resolution target image to the target detection unit; the target detection unit is used for performing target detection on the high-resolution target image through a trained super-resolution target detection model to obtain a target detection result; the super-resolution target detection model is a target detection model constructed based on a convolutional neural network. According to the invention, small targets and low-resolution targets are detected, the detection precision is high, and the efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] An integrated circuit is a miniature electronic device or component. Using a certain process, the transistors, resistors, capacitors, inductors and other components and wiring required in a circuit are interconnected and made on a small piece or several small pieces of semiconductor wafers or dielectric substrates, and then packaged in a tube shell to become a miniature structure with the required circuit function. In the process of automated IC production, due to some uncontrollable factors or environmental influences, the printed pattern on the IC surface may have certain defects. Any slight defect in the IC will affect the reliability and safety of the entire product, and even have unpredictable catastrophic consequences. Therefore, for any electronic industry, IC quality is an important reference indicator for measuring product quality. Therefore, higher requirements are also placed on the quality of IC chips, but most companies' IC quality inspections remain at the traditional manual inspection stage. Although manual inspection is more convenient and saves equipment costs, it also has many problems: manual visual inspection requires a lot of workers to carry out inspection work, which leads to the increase of various costs; operators work for a long time under auxiliary equipment such as light sources at high intensity, which can easily cause eye fatigue, resulting in misjudgment of detection and reduced accuracy of detection results; everyone's inspection standards and scales are different, which may cause different product quality judgment standards and make it difficult to ensure the stability of product quality; because the production line is running at high speed, the accuracy and speed of the human eye are limited, which makes manual inspection unable to meet the needs of fast and efficient production; it is difficult for the human eye to make accurate judgments on defect detection of complex ICs and it is difficult to meet the requirements of actual production.

[0003] Therefore, the detection technology in the prior art has the problems of low efficiency and insufficient precision. Summary of the invention

[0004] In order to solve the above problems in the prior art, that is, the detection in the prior art has the problems of low efficiency and insufficient precision, the present invention provides a target detection system based on multi-scale fusion channel attention super-resolution reconstruction, the system comprising: a target image acquisition unit, a super-resolution reconstruction unit, and a target detection unit;

[0005] The target image acquisition unit is used to collect and preprocess the image of the target to be detected, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations;

[0006] The super-resolution reconstruction unit is used to perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image, and send the high-resolution target image to the target detection unit;

[0007] The target detection unit is used to perform target detection on the high-resolution target image by using a trained super-resolution target detection model to obtain a target detection result;

[0001] The super-resolution target detection model is a target detection model built based on a convolutional neural network.

[0002] The target detection system based on multi-scale fusion channel attention super-resolution reconstruction also includes an information visualization platform;

[0003] The information visualization platform includes an information storage module and a visualization module;

[0004] The information storage module is used to receive and store the target detection result;

[0005] The visualization module is used to display the information corresponding to the target detection result; the information corresponding to the target detection result includes the detection type, position, detection frame and confidence.

[0006] In a preferred embodiment, super-resolution reconstruction is performed on the low-resolution image to obtain a high-resolution target image, and the method is as follows:

[0007] Performing super-resolution reconstruction on the low-resolution image through a trained multi-scale fusion-based channel attention super-resolution reconstruction network to obtain a high-resolution target image;

[0008] The channel attention super-resolution reconstruction network based on multi-scale fusion includes an input module, a super-resolution reconstruction module and an output module; the super-resolution reconstruction module includes a multi-scale feature extraction and fusion module, a residual module fused with a channel attention mechanism and a sub-pixel convolution reconstruction module;

[0009] The multi-scale feature extraction and fusion module is used to perform multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fused image;

[0010] The residual module of the fusion channel attention mechanism is used to extract the deep features of the feature fusion image;

[0011] The sub-pixel convolution reconstruction module is used to perform image reconstruction on the depth feature to obtain a high-resolution target image.

[0012] In a preferred embodiment, the method of performing multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fusion image is:

[0013] Extracting features from the low-resolution image using a plurality of convolution kernels of different sizes;

[0014] Perform feature fusion on multiple extracted features:

[0015] Y C =Concat(Conv1*1(x C ),Conv3*3(x C ),Conv5*5(x C ));

[0016] Among them, x C represents a low-resolution target image, Conv1·1 represents a 1·1 convolution operation, Conv3·3 represents a 3·3 convolution operation, Conv5·5 represents a 5·5 convolution operation, Concat represents a concatenation operation in the channel dimension, and Y C represents the initial feature fusion image;

[0017] The initial feature fusion image is subjected to dimensionality reduction processing to obtain a final feature sum image.

[0018] The residual module of the fusion channel attention mechanism includes 6 residual groups and a convolution layer, and the convolution layer is used as the first convolution layer; each residual group includes 6 residual channel attention sub-modules, and long jump connections are introduced in each residual group;

[0019] The residual group after introducing long jump connection is: F DF =F 0 +W LsC H g (H g-1 (…H 1 (F 0 )…)), g=1,2,…,6;

[0020] Among them, W LSC is the weight of the tail convolutional layer of the residual module that integrates the channel attention mechanism, H g represents the g-th residual group function, H g-1 represents the g-1th residual group function, H 1 represents the first residual group function; F g-1 and F g is the input and output of the g-th residual group function, F 0 is the input of the first residual group function;

[0021] Each residual channel attention submodule introduces a short jump connection;

[0022] The residual channel attention submodule after the introduction of short jump connection is: F g =H g,b +W g Fg,B =F g-1 +W g F g,B (H g,B-1 (…H g,1 (F g-1 )…)); g=1,2,…,6,B=6;

[0023] where F g is the g-th attention block after the introduction of short-hop connections, H g,b represents the bth residual channel attention submodule function in the gth residual group, F g,B represents the output of the Bth residual channel attention submodule in the gth residual group, W g is the weight of the tail convolutional layer set in the g-th residual channel attention submodule; F g-1 is the input of the g-th residual group function; F g,b-1 and F g,b is the input and output of the bth residual channel attention submodule in the gth residual group; H g,B-1 H represents the B-1th residual channel attention submodule function in the gth residual group; g,1 Represents the first residual channel attention submodule function in the g-th residual group.

[0024] In a preferred embodiment, the method for extracting the depth feature of the feature fusion image includes:

[0025] The feature fusion image is input as an input image to the six sequentially connected residual groups and the first convolution layer, and a first feature image is output; the input image of the first residual group is the feature fusion image, the output image of the g-1th residual group is the input image of the gth residual group, and the output image of the sixth residual group is the input image of the first convolution layer; the output image of the first convolution layer is the first feature image; the first feature image and the input image of each residual group are added together to obtain the deep feature;

[0026] For each residual group, the input image of the current residual group passes through 6 sequentially connected residual channel attention submodules and the second convolutional layer to obtain the output image of the current residual group; the input image of the first residual attention submodule of the first residual group is the feature fusion image; the output image of the k-1th residual channel attention submodule is the input image of the kth residual channel attention submodule; k is a natural number, 1 <k<7;;

[0027] Each residual channel attention submodule includes a third convolutional layer, an activation layer, a fourth convolutional layer and a channel attention module; for each residual channel attention submodule, the input image of the current residual channel attention submodule is processed by the third convolutional layer, the activation layer, and the fourth convolutional layer connected in sequence to obtain the output image of the current fourth convolutional layer, and the output image of the current third convolutional layer is passed through the current channel attention module to obtain the output image of the current channel attention module; the output image of the current channel attention module is weighted multiplied with the output image of the current fourth convolutional layer to obtain a weighted multiplication result, and the weighted multiplication result is added to the input image of the current residual channel attention submodule to obtain the output image of the current residual channel attention submodule.

[0028] In a preferred embodiment, the method for the current channel attention module to process the output image of the current fourth convolutional layer is:

[0029] S C =f(w u δ(w D (H GP (x Cd ))))

[0030] Among them, x Cd Represents the output image of the current fourth convolutional layer, H GP represents the global pooling function, w D is the weight set of the convolutional layer, δ represents the activation layer, and w u is the weight set of the convolutional layer, f represents the Sigmoid function, S C Represents the output image of the current channel attention module.

[0031] In a preferred embodiment, the sub-pixel convolution reconstruction module includes a three-layer convolutional neural network; the first layer of convolution expands the number of channels of the deep feature fusion image through a convolution kernel to obtain a first convolution image, the second layer of convolutional neural network is used to extract and transform the periodic arrangement of features of the first convolution image to obtain a second convolution image, and the third layer of convolutional neural network reconstructs the second convolution image through a convolution kernel to obtain a high-resolution target image.

[0032] In a preferred embodiment, the super-resolution target detection model includes an image input layer and a target detection network layer;

[0033] The high-resolution target image is subjected to target detection by using the trained super-resolution target detection model to obtain a target detection result, and the method is as follows:

[0034] Adjusting the high-resolution target image to a fixed size and performing a normalization operation to obtain a normalized image;

[0035] Using CSPDarknet as the backbone network, using the fifth convolutional layer in CSPDarknet to extract high-level features of the normalized image, performing convolution pooling operations on the high-level features of the normalized image to obtain normalized image features at different scales, and using FPN technology to fuse the normalized image features at different scales to obtain an FPN feature map;

[0036] The bounding box, category and confidence score of the FPN feature map are predicted through the sixth convolutional layer, and the optimal target detection box, that is, the target detection result, of the FPN feature map is obtained by using a non-maximum suppression algorithm.

[0037] In a second aspect of the present invention, a target detection method based on multi-scale fusion channel attention super-resolution reconstruction is proposed, the method comprising:

[0038] Acquire an image of the target to be detected and perform preprocessing, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations;

[0039] Perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image

[0040] The high-resolution target image is subjected to target detection by the trained super-resolution target detection model to obtain a target detection result. The super-resolution target detection model is a target detection model built based on a convolutional neural network.

[0041] According to a third aspect of the present invention, an electronic device is provided, comprising:

[0042] at least one processor; and

[0043] a memory communicatively connected to at least one of the processors; wherein,

[0044] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned target detection method based on multi-scale fusion channel attention super-resolution reconstruction.

[0045] In a fourth aspect of the present invention, a computer-readable storage medium is proposed, which stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned target detection method based on multi-scale fusion channel attention super-resolution reconstruction.

[0046] Beneficial effects of the present invention:

[0047] (1) The present application can detect small targets and low-resolution targets with high detection accuracy, and can effectively detect defects in integrated circuit chips in particular;

[0048] (2) This application can replace manual inspection with machine vision to improve efficiency and accuracy;

[0049] (3) The present application can meet the needs of fast and efficient production; it can also make accurate judgments on defect detection of complex ICs and meet the requirements of actual production. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0051] Figure 1 A schematic diagram of a target detection system based on multi-scale fusion channel attention super-resolution reconstruction technology according to an embodiment of the present invention;

[0052] Figure 2 is a schematic diagram of a target image acquisition unit of a target detection system based on a multi-scale fusion channel attention super-resolution reconstruction technology according to an embodiment of the present invention;

[0053] Figure 3 It is a schematic diagram of a method for extracting the depth features of the feature fusion image in a target detection system based on a multi-scale fusion channel attention super-resolution reconstruction technology according to an embodiment of the present invention;

[0054] Figure 4 It is a target detection method based on multi-scale fusion channel attention super-resolution reconstruction in an embodiment of the present invention;

[0055] Figure 5 It is a visualization diagram of the chip bump damage target detection result detected by the system or method of the present invention in an embodiment of the present invention;

[0056] Figure 6 It is a visualization diagram of the chip foreign body target detection result detected by the system or method of the present invention in an embodiment of the present invention;

[0057] Figure 7 It is a structural diagram of a computer system of a server for implementing the method, system, and device embodiments of the present application. DETAILED DESCRIPTION

[0058] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0059] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0060] The present invention provides a target detection system based on multi-scale fusion channel attention super-resolution reconstruction technology, the target detection system comprising: a target image acquisition unit, a super-resolution reconstruction unit, and a target detection unit;

[0061] The target image acquisition unit is used to collect and preprocess the image of the target to be detected, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations;

[0062] The super-resolution reconstruction unit is used to perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image, and send the high-resolution target image to the target detection unit;

[0063] The target detection unit is used to perform target detection on the high-resolution target image by using a trained super-resolution target detection model to obtain a target detection result;

[0064] The super-resolution target detection model is a target detection model built based on a convolutional neural network.

[0065] In order to more clearly illustrate the target detection system based on multi-scale fusion channel attention super-resolution reconstruction of the present invention, the following is combined with Figure 1 Each module in the embodiment of the present invention is described in detail.

[0066] The target detection system based on multi-scale fusion channel attention super-resolution reconstruction of the first embodiment of the present invention is as follows Figure 1 As shown, each module is described in detail as follows:

[0067] The target image acquisition unit is used to collect and preprocess the image of the target to be detected, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations;

[0068] like Figure 2As shown, the target image acquisition unit includes a visual acquisition device, an electric control module and an image preprocessing module; the visual acquisition device includes a receiving module, a camera module, a three-dimensional motion stage and an image data storage module, the receiving module is used to receive an external target image through an image transmission interface, the camera module is used to perform image acquisition according to the control instructions of the electric control module, the three-dimensional motion stage is used to move in three directions of X, Y and Z axes according to the control instructions of the electric control module, and cooperate with the camera module to acquire a relatively clear and comprehensive target image, the image data storage module is used to classify and store the received target image and the acquired image; the electric control module includes a light sensor, an electronic relay and a drive motor, the light sensor is used to detect ambient light information, the electronic relay is used to control the working switch of the camera module, and the drive motor is used to drive the three-dimensional motion stage.

[0069] The image preprocessing module includes a test image processing module, which is used to perform size standardization, filtering and smoothing operations on the image to be detected; further, the image preprocessing module also includes a training data processing module, which divides the collected 5,000 low-resolution images into five groups, each group containing 1,000 images, divides the data set into a training set, a verification set and a test set at a ratio of 8:1:1, and performs random angle rotation and mirroring on the training set, and then downsamples all the images in the training set to one-fourth of the original image, and restores the downsampled images to the original image size through an interpolation algorithm, so that low-definition versions of all the original images in the training set can be obtained. After the preprocessed training data, each image has two images, a low-definition image and an original image, and the image is annotated to mark the category and coordinates of the target object in the image;

[0070] The super-resolution reconstruction unit is used to perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image, and send the high-resolution target image to the target detection unit;

[0071] The method of super-reconstructing the low-resolution image by using a trained multi-scale fusion-based channel attention super-resolution reconstruction network to obtain a high-resolution target image; and reconstructing the deep features to obtain a high-resolution target image includes:

[0072] The channel attention super-resolution reconstruction network based on multi-scale fusion includes an input module, a super-resolution reconstruction module and an output module; the super-resolution reconstruction module includes a multi-scale feature extraction and fusion module, a residual module of the fusion channel attention mechanism and a sub-pixel convolution reconstruction module; the multi-scale feature extraction and fusion module is used to perform multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fusion image; the residual module of the fusion channel attention mechanism is used to extract the deep features of the feature fusion image; the sub-pixel convolution reconstruction module is used to reconstruct the deep features to obtain a high-resolution target image. The multi-scale feature extraction and fusion module extracts the overall information of the image through a 3*3 convolution kernel, extracts the edge and texture information of the image through 5*5 and 7*7 convolution kernels, uses the Concat method to perform feature fusion, and then adds a 1*1 convolution kernel to reduce the feature dimension. The residual module of the fusion channel attention mechanism uses a skip connection method to extract deep features in the image.

[0073] The method of performing multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fusion image is as follows: performing feature extraction on the low-resolution image respectively through a plurality of convolution kernels of different scales;

[0074] Y C =Concat(Conv1·1(x C ),Conv3·3(x C ),Conv5*5(x C ));

[0075] Among them, x C represents a low-resolution target image, Conv1*1 represents a 1*1 convolution operation, Conv3·3 represents a 3·3 convolution operation, Conv5*5 represents a 5·5 convolution operation, Concat represents a concatenation operation in the channel dimension, and Y C Represents the initial feature fusion image.

[0076] The residual module of the fusion channel attention mechanism includes 6 residual groups and a convolution layer, and the convolution layer is used as the first convolution layer; each residual group includes 6 residual channel attention sub-modules, and long jump connections are introduced in each residual group;

[0077] The residual group after introducing long jump connection is:

[0078] F DF =F 0 +W LSC H g (H g-1 (…H 1 (F 0)…)), g=1,2,…,6;

[0079] Among them, W LSC is the weight of the tail convolutional layer of the residual module that integrates the channel attention mechanism, H G represents the g-th residual group function, H G-1 represents the g-1th residual group function, H 1 represents the first residual group function; F g-1 and F g is the input and output of the g-th residual group function, F 0 is the input of the first residual group function;

[0080] Each residual channel attention submodule introduces a short jump connection;

[0081] The residual channel attention submodule after the introduction of short jump connection is: F g =H g,b +W g F g,B =F g-1 +W g F g,B (H g,B-1 (…H g,1 (F g-1 )…)); g=1,2,…,6,B=6;

[0082] where F g is the g-th attention block after the introduction of short-hop connections, H g,b represents the bth residual channel attention submodule function in the gth residual group, F g,B represents the output of the Bth residual channel attention submodule in the gth residual group, W g is the weight of the tail convolutional layer set in the g-th residual channel attention submodule; F g-1 is the input of the g-th residual group function; F g,b-1 and F g,b is the input and output of the bth residual channel attention submodule in the gth residual group; H g,B-1 H represents the B-1th residual channel attention submodule function in the gth residual group; g,1 Represents the first residual channel attention submodule function in the g-th residual group.

[0083] like Figure 3 As shown, the method for extracting the depth feature of the feature fusion image includes:

[0084] The feature fusion image is input as an input image to 6 sequentially connected residual groups and the first convolution layer, and a first feature image is output; the input image of the first residual group is the feature fusion image, the output image of the g-1th residual group is the input image of the gth residual group, g=1,2,…,6, and the output image of the sixth residual group is the input image of the first convolution layer; the output image of the first convolution layer is the first feature image; the first feature image and the input image of each residual group are added together to obtain the deep feature;

[0085] For each residual group, the input image of the current residual group passes through 6 sequentially connected residual channel attention submodules and the second convolutional layer to obtain the output image of the current residual group; the input image of the first residual attention submodule of the first residual group is the feature fusion image; the output image of the k-1th residual channel attention submodule is the input image of the kth residual channel attention submodule; k is a natural number, 1 <k<7;

[0086] Each residual channel attention submodule includes a third convolution layer, an activation layer, a fourth convolution layer, and a channel attention module; the first layer of the channel attention module uses global pooling, the second layer uses a 1*1 convolution kernel to reduce the dimension of the feature map, the third layer uses an activation layer, the fourth layer uses a 1*1 convolution kernel to increase the dimension of the feature map, and the fifth layer uses a Sigmoid function.

[0087] For each residual channel attention sub-module, the input image of the current residual channel attention sub-module is processed by the third convolutional layer, the activation layer, and the fourth convolutional layer connected in sequence to obtain the output image of the current fourth convolutional layer, and the output image of the current third convolutional layer is passed through the current channel attention module to obtain the output image of the current channel attention module; the output image of the current channel attention module is weighted multiplied with the output image of the current fourth convolutional layer to obtain a weighted multiplication result, and the weighted multiplication result is added to the input image of the current residual channel attention sub-module to obtain the output image of the current residual channel attention sub-module.

[0088] The method of reconstructing the depth feature to obtain a high-resolution target image includes:

[0089] The sub-pixel convolution reconstruction module includes a three-layer convolutional neural network. The first layer of convolution expands the number of channels of the depth feature through the convolution kernel to obtain a first convolution image. The second layer of convolutional neural network is used to extract and transform the periodic arrangement of features of the first convolution image to obtain a second convolution image. The third layer of convolutional neural network reconstructs the second convolution image through the convolution kernel to obtain a high-resolution target image.

[0090] The target detection unit is used to perform target detection on the high-resolution target image by using a trained super-resolution target detection model to obtain a target detection result;

[0091] Using CSPDarknet as the backbone network, using the fifth convolutional layer in CSPDarknet to extract high-level features of the normalized image, performing convolution pooling operations on the high-level features of the normalized image to obtain normalized image features at different scales, and using FPN technology to fuse the normalized image features at different scales to obtain an FPN feature map;

[0092] The bounding box, category and confidence score of the FPN feature map are predicted through the sixth convolutional layer, and the optimal target detection box, that is, the target detection result, of the FPN feature map is obtained by using a non-maximum suppression algorithm.

[0093] The target detection system based on multi-scale fusion channel attention super-resolution reconstruction also includes an information visualization platform;

[0094] The information visualization platform includes an information storage module and a visualization module;

[0095] The information storage module is used to receive and store the target detection result;

[0096] The visualization module is used to display the information corresponding to the target detection result; the information corresponding to the target detection result includes the detection type, position, detection frame and confidence.

[0097] This solution also includes: training and optimizing the super-resolution reconstruction unit through a first loss function and the training set, wherein the first loss function is a mean square error function Among them, N represents the number of pixels, a i represents the i-th pixel of the predicted high-resolution image, b i Represents the i-th pixel of the original high-resolution image;

[0098] Furthermore, the super-resolution target detection model includes an image input layer and a target detection network layer. The super-resolution reconstruction unit outputs the reconstructed image and inputs it into the image input layer, so that the image is transmitted at ultra-high speed and losslessly. The target detection network layer receives the image from the image input layer, pre-processes it to adjust it to a fixed size and performs normalization operations. CSPDarknet is used as the backbone network to combine multiple convolutional layers and residual blocks, and multiple convolutional layers are used to extract higher-level abstract features. The introduction of residual blocks is used to solve the problems of gradient disappearance and gradient explosion in deep neural networks, thereby training a deeper network structure and capturing image feature information. After feature extraction, a series of convolution and pooling layers are applied to further process the features, and FPN technology is used to fuse feature maps of different scales to extract target information at different scales. Several convolutional layers are used to predict the target's bounding box, category and confidence score. Finally, a non-maximum suppression algorithm is used to obtain the best target detection box, calculate the positioning loss between the target detection box and the original annotation box, and use an optimizer to minimize the positioning loss to update network parameters, while calculating the confidence loss and classification loss.

[0099] Furthermore, the target detection network is trained and optimized by a combination of three loss functions and the training set, wherein the three loss functions include confidence loss, positioning loss and classification loss, wherein the confidence loss uses a binary cross entropy loss to measure the error between the predicted target score and the true target score, the positioning loss uses a mean square error or a smoothed L1 loss to measure the difference between the predicted bounding box coordinates and the true bounding box coordinates, and the classification loss uses a classification cross entropy loss to measure the difference between the predicted category probability and the true category label;

[0100] Although the various steps in the above embodiment are described in the above-mentioned order, those skilled in the art can understand that in order to achieve the effect of this embodiment, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in a reverse order. These simple changes are within the scope of protection of the present invention.

[0101] It should be noted that the target detection system based on multi-scale fusion channel attention super-resolution reconstruction provided by the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be decomposed or combined. For example, the modules in the above embodiments can be combined into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps and are not regarded as improper limitations of the present invention.

[0102] like Figure 4 As shown, the target detection method based on multi-scale fusion channel attention super-resolution reconstruction of the second embodiment of the present invention is characterized in that the method includes:

[0103] Acquire an image of the target to be detected and perform preprocessing, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations;

[0104] Perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image

[0105] The high-resolution target image is subjected to target detection using a trained super-resolution target detection model to obtain a target detection result.

[0106] like Figure 5 As shown in FIG. 1 , a visualization diagram of the chip bump damage target detection result detected by the system or method of the present invention is shown; Figure 6 The above is a visualization diagram of the chip foreign body target detection result detected by the system or method of the present invention;

[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0108] An electronic device according to a third embodiment of the present invention includes:

[0109] at least one processor; and

[0110] a memory communicatively connected to at least one of the processors; wherein,

[0111] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned target detection method based on multi-scale fusion channel attention super-resolution reconstruction.

[0112] A computer-readable storage medium according to a fourth embodiment of the present invention stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned target detection method based on multi-scale fusion channel attention super-resolution reconstruction.

[0113] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the storage device and processing device described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0114] Those skilled in the art should be able to appreciate that the modules and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two, and the programs corresponding to the software modules and method steps can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0115] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system of a server for implementing the method, system, and device embodiments of the present application. Figure 7 The server shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0116] like Figure 7 As shown, the computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. Various programs and data required for system operation are also stored in the RAM 603. The CPU 601, ROM 602 and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0117] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0118] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0119] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The terms "first", "second", etc. are used to distinguish similar objects rather than to describe or indicate a particular order or sequence.

[0122] The term "comprise" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus / device that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus / device.

[0123] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A target detection system based on multi-scale fusion channel attention super-resolution reconstruction, characterized in that: The target detection system comprises: a target image acquisition unit, a super-resolution reconstruction unit, and a target detection unit; The target image acquisition unit is used to collect and preprocess the image of the target to be detected, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations; The super-resolution reconstruction unit is used to perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image, and send the high-resolution target image to the target detection unit; The target detection unit is used to perform target detection on the high-resolution target image through a trained super-resolution target detection model to obtain a target detection result; the super-resolution target detection model is a target detection model constructed based on a convolutional neural network.

2. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 1 is characterized in that: The target detection system based on multi-scale fusion channel attention super-resolution reconstruction also includes an information visualization platform; The information visualization platform includes an information storage module and a visualization module; The information storage module is used to receive and store the target detection result; The visualization module is used to display information corresponding to the target detection result; The information corresponding to the target detection result includes the detection type, location, detection box and confidence level.

3. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 1 is characterized in that: The low-resolution image is subjected to super-resolution reconstruction to obtain a high-resolution target image, and the method is as follows: Performing super-resolution reconstruction on the low-resolution image through a trained multi-scale fusion-based channel attention super-resolution reconstruction network to obtain a high-resolution target image; The channel attention super-resolution reconstruction network based on multi-scale fusion includes an input module, a super-resolution reconstruction module and an output module; the super-resolution reconstruction module includes a multi-scale feature extraction and fusion module, a residual module fused with a channel attention mechanism and a sub-pixel convolution reconstruction module; The multi-scale feature extraction and fusion module is used to perform multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fused image; The residual module of the fusion channel attention mechanism is used to extract the deep features of the feature fusion image; The sub-pixel convolution reconstruction module is used to perform image reconstruction on the depth feature to obtain a high-resolution target image.

4. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 3 is characterized in that: The method for performing multi-scale feature extraction and feature fusion on the low-resolution image to obtain a feature fusion image is: Extracting features from the low-resolution image using a plurality of convolution kernels of different sizes; Perform feature fusion on multiple extracted features: Y C =Concat(Conv1*1(x C ),Conv3*3(x C ),Conv5*5(x C )); Among them, x C represents a low-resolution target image, Conv1*1 represents a 1*1 convolution operation, Conv3*3 represents a 3*3 convolution operation, Conv5*5 represents a 5*5 convolution operation, Concat represents a concatenation operation in the channel dimension, and Y C Represents the initial feature fusion image.

5. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 4 is characterized in that: The residual module of the fusion channel attention mechanism includes 6 residual groups and a convolution layer, and the convolution layer is used as the first convolution layer; each residual group includes 6 residual channel attention sub-modules, and long jump connections are introduced in each residual group; The residual group after introducing long jump connection is: F DF =F0+W LSC H g (H g-1 (…H1(F0)…)), g=1, 2,…, 6; Among them, W LSC is the weight of the tail convolutional layer of the residual module that integrates the channel attention mechanism, H g represents the g-th residual group function, H g-1 represents the g-1th residual group function, H1 represents the first residual group function; F g-1 and F g is the input and output of the gth residual group function, and F0 is the input of the first residual group function; Each residual channel attention submodule introduces a short jump connection; The residual channel attention submodule after the introduction of short jump connection is: F g =H g,b +W g F g,B =F g-1 +W g F g,B (H g,B-1 (…H g,1 (Fg-1)…)); g=1, 2,...,6, B=6; Among them, F g is the g-th attention block after the introduction of short-hop connections, H g,b represents the bth residual channel attention submodule function in the gth residual group, F g,B represents the output of the Bth residual channel attention submodule in the gth residual group, W g is the weight of the tail convolutional layer set in the g-th residual channel attention submodule; F g-1 is the input of the g-th residual group function; F g,b-1 and F g,b is the input and output of the bth residual channel attention submodule in the gth residual group; H g,B-1 H represents the B-1th residual channel attention submodule function in the gth residual group; g,1 Represents the first residual channel attention submodule function in the g-th residual group.

6. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 5 is characterized in that: The method for extracting the depth feature of the feature fusion image includes: The feature fusion image is input as an input image to 6 sequentially connected residual groups and the first convolution layer, and a first feature image is output; the input image of the first residual group is the feature fusion image, the output image of the g-1th residual group is the input image of the gth residual group, g=1,2,…,6, and the output image of the sixth residual group is the input image of the first convolution layer; the output image of the first convolution layer is the first feature image; the first feature image and the input image of each residual group are added together to obtain the deep feature; For each residual group, the input image of the current residual group passes through 6 sequentially connected residual channel attention submodules and the second convolutional layer to obtain the output image of the current residual group; the input image of the first residual attention submodule of the first residual group is the feature fusion image; the output image of the k-1th residual channel attention submodule is the input image of the kth residual channel attention submodule; k is a natural number, 1 <k<7; Each residual channel attention submodule includes a third convolutional layer, an activation layer, a fourth convolutional layer and a channel attention module; for each residual channel attention submodule, the input image of the current residual channel attention submodule is processed by the third convolutional layer, the activation layer, and the fourth convolutional layer connected in sequence to obtain the output image of the current fourth convolutional layer, and the output image of the current third convolutional layer is passed through the current channel attention module to obtain the output image of the current channel attention module; the output image of the current channel attention module is weighted multiplied with the output image of the current fourth convolutional layer to obtain a weighted multiplication result, and the weighted multiplication result is added to the input image of the current residual channel attention submodule to obtain the output image of the current residual channel attention submodule.

7. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 6 is characterized in that: The method for the current channel attention module to process the output image of the current fourth convolutional layer is: S C =f(w u δ(w D (H GP (x Cd )))) Among them, x Cd Represents the output image of the current fourth convolutional layer, H GP represents the global pooling function, w D is the weight set of the convolutional layer, δ represents the activation layer, and w u is the weight set of the convolutional layer, f represents the Sigmoid function, S C Represents the output image of the current channel attention module.

8. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 7 is characterized in that: The method of reconstructing the depth feature to obtain a high-resolution target image includes: The sub-pixel convolution reconstruction module includes a three-layer convolutional neural network; the first layer of convolution expands the number of channels of the deep feature fusion image through the convolution kernel to obtain a first convolution image, the second layer of convolutional neural network is used to extract and transform the periodic arrangement of features of the first convolution image to obtain a second convolution image, and the third layer of convolutional neural network reconstructs the second convolution image through the convolution kernel to obtain a high-resolution target image.

9. The target detection system based on multi-scale fusion channel attention super-resolution reconstruction according to claim 8 is characterized in that: The super-resolution target detection model includes an image input layer and a target detection network layer; The high-resolution target image is subjected to target detection by using the trained super-resolution target detection model to obtain a target detection result, and the method is as follows: Adjusting the high-resolution target image to a fixed size and performing a normalization operation to obtain a normalized image; Using CSPDarknet as the backbone network, using the fifth convolutional layer in CSPDarknet to extract high-level features of the normalized image, performing convolution pooling operations on the high-level features of the normalized image to obtain normalized image features at different scales, and using FPN technology to fuse the normalized image features at different scales to obtain an FPN feature map; The bounding box, category and confidence score of the FPN feature map are predicted through the sixth convolutional layer, and the optimal target detection box, that is, the target detection result, of the FPN feature map is obtained by using a non-maximum suppression algorithm.

10. A target detection method based on multi-scale fusion channel attention super-resolution reconstruction, characterized in that: The method comprises: Acquire an image of the target to be detected and perform preprocessing, use the preprocessed image as a low-resolution target image, and send it to the super-resolution reconstruction unit; the preprocessing includes size standardization, filtering and smoothing operations; Perform super-resolution reconstruction on the low-resolution image to obtain a high-resolution target image The high-resolution target image is subjected to target detection using a trained super-resolution target detection model to obtain a target detection result.

Citation Information

Cited By

  • Image analysis method and system applied to target detection and electronic equipment

    CN119888300A

  • Power transmission line inspection image super-resolution reconstruction method and system

    CN119941515A