An image target detection method and system based on improved DETR algorithm
By adopting an image target detection method based on the DETR improved algorithm in computer vision, multi-scale feature extraction and attention weight calculation are performed, combined with the Transformer architecture and Focal Loss loss function, to solve the problem of traditional model performance in dense crowds and multi-target detection. This reduces the problem of low detection and achieves higher detection accuracy and robustness.
Patent Information
- Application Number
- CN202311323561.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In computer vision, traditional target detection models have low detection performance when faced with dense crowds, target occlusion, target scale changes, and multi-target detection. Especially when the camera position is fixed and the crowd is flowing, it is difficult to detect accurately. Mask wearing status.
An image target detection method based on the improved DETR algorithm is adopted. Multi-scale feature extraction and attention weight calculation are performed through the feature extraction module. The encoder and decoder are combined to use the attention mechanism to extract features. The prediction module analyzes and obtains classification and regression prediction results. Use Focal Loss as the classification loss function to simplify the model structure and improve detection accuracy.
The model improves the accuracy of small target detection, enhances detection performance and robustness, simplifies the model structure, solves the problem of imbalance between positive and negative samples and difficult samples in the data set, and realizes an end-to-end target recognition system.
Smart Images

Figure CN117392505B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of target detection algorithms in computer vision, and in particular to an image target detection method and system based on an improved DETR algorithm. Background Art
[0002] In recent years, thanks to the rapid development of computer vision and deep learning algorithms, many excellent deep learning models have been used for target detection tasks and have achieved good detection results, such as the classic one-stage target detection algorithm YOLO series and the two-stage target detection algorithm Faster R-CNN. Therefore, in response to the above problems, we can first collect image data of mask wearing to make a data set, and then use a deep learning algorithm to train a mask detection model on the data set and introduce it into the camera monitoring system, so that the mask wearing of the crowd can be detected in real time in public places. However, in practical applications, since the camera position is fixed and the crowd is mobile, there are several problems that affect the detection performance of the target detection model: first, the object occlusion problem. When the crowd density is high, the face may be partially covered by other objects, resulting in the model being unable to accurately detect the target; then there is the problem of target scale change. Since the distance and angle of the target from the camera are not fixed, the traditional model cannot focus on different parts of the target and adjust the size and proportion of the object, so the detection effect of multi-scale targets is poor; finally, there is the problem of multi-target detection. There may be many target faces in the camera image, and traditional models cannot accurately extract information at different positions in the image, resulting in low detection performance.
[0003] Inspired by the fact that the human visual system can naturally and efficiently notice important areas in complex scenes, people introduce attention mechanisms into target detection systems to improve the detection accuracy of target detection systems. The introduction of attention mechanisms is of great significance in solving the performance problems of the above-mentioned target detection models, because it can help the model focus on key target areas, enabling it to more accurately distinguish targets from backgrounds, reduce interference from irrelevant information and global scanning of the entire image, thereby improving the model's ability to cope with complex scenarios such as target occlusion, target scale changes, and multi-target detection. However, there is still room for improvement in the detection accuracy and efficiency of the model. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide an image target detection method and system based on an improved DETR algorithm, which can quickly and accurately detect and mark targets in an image.
[0005] The technical solution adopted by the present invention to solve the technical problem is: to provide an image target detection method based on the improved DETR algorithm, characterized in that it includes the following steps:
[0006] Acquire the image data to be tested;
[0007] Putting the image data to be tested into the target detection model to obtain regression prediction results and classification prediction results;
[0008] Draw a detection frame in the image data to be tested according to the regression prediction result;
[0009] Classify and mark the target object contained in the detection frame according to the classification prediction result;
[0010] The target detection model is constructed based on the DETR improved algorithm, including:
[0011] A feature extraction module is used to perform multi-scale feature extraction and attention weight calculation on image data to obtain a first feature vector;
[0012] An encoder and a decoder, used to extract a second feature vector based on the first feature vector using an attention mechanism;
[0013] A prediction module is used to obtain a classification prediction result and a regression prediction result based on the second feature vector analysis.
[0014] Furthermore, the multi-scale feature extraction and attention weight calculation of the image data to obtain the first feature vector includes:
[0015] Convolve and downsample the image data to obtain vector C1, convolve and downsample vector C1 to obtain vector C2, convolve and downsample vector C2 to obtain vector C3, convolve and downsample vector C3 to obtain vector C4, and convolve and downsample vector C4 to obtain vector C5;
[0016] Adjust the channel dimension of vector C5 to the preset dimension through 1×1 convolution to obtain vector P5;
[0017] Upsampling vector P5 to obtain vector D4, upsampling vector D4 to obtain vector D3, and upsampling vector D3 to obtain vector D2;
[0018] The vector C is transformed by 1×1 convolution i The channel dimension of is adjusted to the preset dimension and the vector D i Add them together to get vector C' i = Vector C i +Vector D i , then for the vector C' i Perform 3×3 convolution to obtain vector P i , where i = 2, 3, 4;
[0019] The vector P i Perform global average pooling to obtain vector P i _s, where i = 2, 3, 4, 5;
[0020] Through the first fully connected layer, the vector P i The channel dimension of _s is compressed by a preset ratio, and then adjusted to the preset dimension through the second fully connected layer to obtain the vector Q i , where i = 2, 3, 4, 5;
[0021] The vector P i and vector Q i Perform the outer product and get the vector T i =P i ×Q i , where i = 2, 3, 4, 5;
[0022] Perform 1×1 convolution on vector T5 to obtain vector P'5;
[0023] To T i After global maximum pooling, perform 1×1 convolution to obtain vector P' i , where i = 2, 3, 4;
[0024] Get the first eigenvector P' i , where i=2, 3, 4, 5.
[0025] Furthermore, the preset dimension is 256, and the preset ratio is 1 / 16.
[0026] Furthermore, the activation function of the first fully connected layer is a ReLU function, and the activation function of the second fully connected layer is a Sigmoid function.
[0027] Furthermore, the preset dimension is 256, and the preset ratio is 1 / 16.
[0028] Furthermore, when the target detection model is trained, the step of obtaining training image data and preprocessing the training image data includes the following steps:
[0029] Performing random radial transformation on the training image data to obtain a first processed image;
[0030] Randomly changing the brightness, contrast, saturation and hue of the first processed image to obtain a second processed image;
[0031] The parameters of the prediction box in the second processed image are formatted to obtain the preprocessed training image data.
[0032] Furthermore, the encoder and decoder are implemented based on the transformer architecture.
[0033] Furthermore, the prediction layer is a feed-forward neural network.
[0034] Furthermore, the classification loss function of the target detection model is the Focal Loss function, and its formula is:
[0035]
[0036] Where FL is the classification loss, y=1 indicates that the sample is a positive sample, and y=0 indicates that the sample is a negative sample; p is the prediction probability, that is, the probability of the target object in the prediction box, and 1-p indicates the probability of predicting a negative sample; α is the positive and negative sample weight parameter applied to the positive sample, and 1-α is the positive and negative sample weight parameter applied to the negative sample; (1-p) γ is the difficult and easy sample weight parameter imposed on the positive sample, p γ It is the difficult and easy sample weight parameter imposed on negative samples.
[0037] The technical solution adopted by the present invention to solve its technical problem is: also provide an image target detection system based on the improved DETR algorithm, characterized in that it includes a data input module, a target detection module and a result output module; the data input module is used to obtain the image data to be tested; the target detection module is used to analyze the image data to be tested and then output the regression prediction result and the classification prediction result; the result output module is used to draw a detection frame in the image data to be tested according to the regression prediction result, and classify and mark the target object contained in the detection frame according to the classification prediction result;
[0038] The target detection model includes:
[0039] A feature extraction module, used to perform multi-scale feature extraction and attention weight calculation on the image data to be tested to obtain a first feature vector;
[0040] An encoder and a decoder, used to extract a second feature vector based on the first feature vector using an attention mechanism;
[0041] A prediction module is used to obtain a classification prediction result and a regression prediction result based on the second feature vector analysis.
[0042] Beneficial Effects
[0043] Due to the adoption of the above technical solution, the present invention has the following advantages and positive effects compared with the prior art:
[0044] (1) The present invention randomly translates, scales and rotates the training dataset images, and randomly changes the brightness, contrast, saturation and hue of the images, thereby enhancing the model's detection effect on small target objects and improving the model's detection accuracy;
[0045] (2) To address the problem of poor small target detection performance of the DETR model, the present invention proposes a new network structure for feature extraction. The feature extraction module constructed based on the structure is used as the backbone network of the model. On the basis of the feature extraction network, multi-scale feature extraction and attention weight calculation are integrated to obtain a feature map with richer feature information, which is then input to the encoder and decoder for further feature processing, thereby improving the detection performance and prediction accuracy of the model.
[0046] (3) The present invention adopts Focal Loss as the classification loss function of the DETR model, so that the model pays attention to samples from high to low, namely, hard-to-distinguish positive samples, hard-to-distinguish negative samples, easy-to-distinguish positive samples, and easy-to-distinguish negative samples, thereby effectively solving the problem of imbalance between positive and negative samples and imbalance between hard and easy samples in the data set, and improving the convergence speed and detection accuracy of the model;
[0047] (4) The present invention realizes a true end-to-end target recognition system by using the optimized DETR model for image target detection. It does not require manually designed components and prior knowledge such as anchor boxes and non-maximum suppression, simplifies the structure of the model, and improves the robustness of the model and the actual detection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a flow chart of the present invention;
[0049] Figure 2 is a flow chart of preprocessing an image in the first embodiment of the present invention;
[0050] Figure 3 It is a schematic diagram of the feature fusion algorithm in the first embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.
[0052] The first embodiment of the present invention relates to an image target detection method based on an improved DETR algorithm, such as Figure 1 As shown, the following steps are included:
[0053] Acquire the image data to be tested;
[0054] Put the image data to be tested into the target detection model to obtain regression prediction results and classification prediction results;
[0055] Draw a detection frame in the image data to be tested according to the regression prediction results;
[0056] In the original image, the detection box is drawn according to the regression prediction results output by the model, and the target objects contained in the detection box are classified and marked according to the classification prediction results.
[0057] Before using the target detection model for detection, the model needs to be trained and tested. In this embodiment, the Face Mask Detection dataset disclosed by kaggle is used as training data. Face Mask Detection is a dataset for mask wearing detection. The dataset contains 853 pictures, with three target categories, namely wearing a mask (with_mask), wearing an improper mask (mask_weared_incorrect), and not wearing a mask (without_mask). The dataset is divided into a training set, a validation set, and a test set according to the ratio of 80%, 10%, and 10%. By selecting the Face Mask Detection dataset, the model learns the characteristic information of mask wearing, thereby obtaining a deep learning model that can complete mask wearing detection.
[0058] The training data can be preprocessed before analysis. The specific steps include:
[0059] For the original input image, first perform a random affine transformation on it, and randomly translate, scale, and rotate the image;
[0060] Then randomly change the brightness and contrast of the image;
[0061] Finally, the brightness, contrast, saturation and hue of the image are randomly changed to obtain the image after data enhancement processing;
[0062] By setting the prediction box parameters in the image in various formats, the complete image data after final data enhancement can be obtained.
[0063] In practical applications, this implementation uses the Albumentations data enhancement library to perform data enhancement on the original image input. The Albumentations data enhancement library randomly translates, scales, and rotates the dataset image, and randomly changes the image's brightness, contrast, saturation, and hue, thereby enhancing the model's detection effect on small target objects and improving the model's detection accuracy. Figure 2 As shown, it mainly includes the following steps:
[0064] Random affine transformation, i.e. ShiftScaleRotate operation. Randomly translate, scale and rotate the image;
[0065] Random brightness and contrast changes, namely RandomBrightnessContrast operation, randomly change the brightness and contrast of the image;
[0066] ColorJitter operation randomly changes the brightness, contrast, saturation, and hue of an image.
[0067] BboxParams operation. After the data enhancement operation is completed, the prediction box parameters in the image are set in various formats through the BboxParams operation to obtain the final data-enhanced image. The Albumentations data enhancement library is used to randomly translate, scale, and rotate the dataset images, and randomly change the brightness, contrast, saturation, and hue of the images, thereby enhancing the model's detection effect on small target objects and improving the model's detection accuracy.
[0068] The target detection model of the present invention is constructed based on the DETR improved algorithm, which specifically includes:
[0069] As the feature extraction module of the backbone network, it is used to perform multi-scale feature extraction and attention weight calculation on the image data to be tested, obtain four feature maps with richer feature information as the first feature vector, and input them to the encoder and decoder for further feature processing, thereby improving the detection performance and prediction accuracy of the model;
[0070] The encoder and decoder are used to extract the second feature vector based on the first feature vector using the attention mechanism;
[0071] The prediction module is used to obtain classification prediction results and regression prediction results based on the second eigenvector analysis.
[0072] like Figure 3 As shown, the feature extraction module is mainly used to implement the following methods:
[0073] First, the input original image is feature extracted, and the input image is convolved and downsampled in five layers to obtain the feature vectors of the 2nd, 3rd, 4th and 5th layers of the output, named vectors C2, C3, C4 and C5. Then, vector C5 is convolved 1×1 to reduce the channel dimension of vector C5 to 256 dimensions, and a new vector P5 is obtained. Vector P5 is upsampled in turn to obtain vectors D4, D3 and D2. Among them, vector D4 has the same length and width dimensions as vector C4; vector D3 has the same length and width dimensions as vector C3; vector D2 has the same length and width dimensions as vector C2.
[0074] Then, vectors C2, C3, and C4 are convolved with 1×1 in turn to adjust their channel dimensions to 256 dimensions, and they are added to vectors D2, D3, and D4 in turn to obtain vectors C'2, C'3, and C'4. This step is to fuse the features containing high semantic information after upsampling with the features containing more position information without upsampling.
[0075] Next, vectors C'2, C'3, and C4 are passed through a 3×3 convolution layer to eliminate the overlapping effect caused by the upsampling step. The channel domain dimensions of the new vectors P2, P3, and P4 are all 256. Next, the channel attention weights of these feature vectors are calculated and loaded. The P2, P3, P4, and P5 feature vectors are globally average pooled to compress their spatial dimensions to 1, thereby obtaining P2_s, P3_s, P4_s, and P5_s, whose channel domain dimensions are all 256. Next, they are passed through two fully connected layers in turn. The first fully connected layer compresses the channel domain dimension of the feature vector to the original 1 / R, where R is generally 16, and uses the ReLU function to activate the vector; the second layer changes the channel domain dimension of the vector back to the original dimension and uses the Sigmoid function to activate it. After these two fully connected layers, four weight vectors of shape (batch_size, channel, 1, 1) are obtained, where channel refers to its channel domain dimension. Take the outer product of these four weight vectors with their corresponding P2, P3, P4 and P5 vectors respectively, that is, for each value of the P2, P3, P4 and P5 vectors in the channel domain dimension, multiply it by the corresponding attention weight value in the weight vector to obtain vectors T2, T3, T4, T5.
[0076] After completing the calculation and loading of the attention weights, global maximum pooling and 1×1 convolution operations are performed on T2, T3, and T4, and a 1×1 convolution operation is performed on T5 to adjust the channel domain dimension and shape of the feature map, thus obtaining the final output of the backbone network, i.e., four feature maps.
[0077] In this embodiment, the encoder and decoder are built based on the Transformer model, which is a model based on a multi-head attention mechanism that can perform feature analysis, attention weight calculation, and target prediction on feature maps. By using a large number of self-attention mechanism modules, the encoder and decoder calculate and assign attention weights to feature maps, allowing the model to pay more attention to the part containing effective target information, thereby completing a more accurate prediction process;
[0078] The vectors output by the encoder and decoder pass through the linear layer of the feedforward neural network to obtain the classification prediction results and regression prediction results of the model, and the image target is extracted based on the above prediction results.
[0079] In this implementation, Focal Loss is used as the classification loss function to evaluate the classification loss. Focal Loss is a cross entropy loss function, and its formula is:
[0080]
[0081] In the formula, y=1 indicates that the sample is a positive sample, and y=0 indicates that the sample is a negative sample; p is the prediction probability, that is, the probability of the target object in the prediction box, and 1-p indicates the probability of being predicted as the background (i.e., a negative sample); α is the positive and negative sample weight parameter applied to the positive sample, and 1-α is the positive and negative sample weight parameter applied to the negative sample; (1-p) γ is the difficult and easy sample weight parameter imposed on the positive sample, p γ It is the parameter of the difficult and easy sample weight imposed on the negative sample. As can be seen from the formula, Focal Loss assigns weight (1-p) to the positive sample on the basis of balanced cross entropy. γ , assign weight p to negative samples γ For easy-to-classify positive samples, the predicted probability p will be close to 1, so the weight (1-p) γ will be close to 0, thus attenuating the loss of easy-to-classify positive samples; for easy-to-classify negative samples, the predicted probability p will be close to 0, that is, the weight p γ will be close to 0, thus attenuating the easy-to-classify negative samples. The weights α and 1-α will attenuate the negative samples. Therefore, by using Focal Loss, the model's attention to samples is arranged from high to low, namely, hard-to-classify positive samples, hard-to-classify negative samples, easy-to-classify positive samples, and easy-to-classify negative samples. This can solve the problem of imbalance between positive and negative samples and imbalance between hard and easy samples, and improve the convergence speed and detection accuracy of the model.
[0082] A second embodiment of the present invention relates to an image object detection system, which includes a data input module, an object detection module and a result output module.
[0083] The data input module is used to obtain the image data to be tested, the target detection module is used to analyze the image data to be tested and output the regression prediction results and classification prediction results, and the result output module is used to draw the detection box in the image data to be tested according to the regression prediction results, and classify and mark the target objects contained in the detection box according to the classification prediction results.
[0084] Among them, the target detection model includes:
[0085] A feature extraction module is used to perform multi-scale feature extraction and attention weight calculation on the image data to be tested to obtain a first feature vector;
[0086] The encoder and decoder are used to extract the second feature vector based on the first feature vector using the attention mechanism; the prediction module is used to obtain the classification prediction result and the regression prediction result based on the second feature vector analysis.
Claims
1. An image target detection method based on an improved DETR algorithm, characterized in that: The following steps are involved: Acquire the image data to be tested; Putting the image data to be tested into the target detection model to obtain regression prediction results and classification prediction results; Draw a detection frame in the image data to be tested according to the regression prediction result; Classify and mark the target object contained in the detection frame according to the classification prediction result; The target detection model is constructed based on the DETR improved algorithm, including: A feature extraction module is used to perform multi-scale feature extraction and attention weight calculation on image data to obtain a first feature vector; An encoder and a decoder, used to extract a second feature vector based on the first feature vector using an attention mechanism; A prediction module, used to obtain a classification prediction result and a regression prediction result based on the second feature vector analysis; The performing multi-scale feature extraction and attention weight calculation on the image data to obtain a first feature vector includes: Convolve and downsample the image data to obtain vector C1, convolve and downsample vector C1 to obtain vector C2, convolve and downsample vector C2 to obtain vector C3, convolve and downsample vector C3 to obtain vector C4, and convolve and downsample vector C4 to obtain vector C5; Adjust the channel dimension of vector C5 to the preset dimension through 1×1 convolution to obtain vector P5; Upsampling vector P5 to obtain vector D4, upsampling vector D4 to obtain vector D3, and upsampling vector D3 to obtain vector D2; The vector C is transformed by 1×1 convolution i The channel dimension of is adjusted to the preset dimension and the vector D i Add them together to get vector C' i = Vector C i +Vector D i , then for the vector C' i Perform 3×3 convolution to obtain vector P i , where i = 2, 3, 4; The vector P i Perform global average pooling to obtain vector P i _s, where i = 2, 3, 4, 5; Through the first fully connected layer, the vector P i The channel dimension of _s is compressed by a preset ratio, and then adjusted to the preset dimension through the second fully connected layer to obtain the vector Q i , where i = 2, 3, 4, 5; The vector P i and vector Q i Perform the outer product and get the vector T i =P i ×Q i , where i = 2, 3, 4, 5; Perform 1×1 convolution on vector T5 to obtain vector P'5; To T i After global maximum pooling, perform 1×1 convolution to obtain vector P' i , where i = 2, 3, 4; Get the first eigenvector P' i , where i=2, 3, 4, 5.
2. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: The activation function of the first fully connected layer is the ReLU function, and the activation function of the second fully connected layer is the Sigmoid function.
3. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: The preset dimension is 256, and the preset ratio is 1 / 16.
4. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: When the target detection model is trained, the steps of obtaining training image data and preprocessing the training image data include: Performing random radial transformation on the training image data to obtain a first processed image; Randomly changing the brightness, contrast, saturation and hue of the first processed image to obtain a second processed image; The parameters of the prediction box in the second processed image are formatted to obtain the preprocessed training image data.
5. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: The encoder and decoder are implemented based on the transformer architecture.
6. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: The prediction layer is a feed-forward neural network.
7. The image target detection method based on the DETR improved algorithm according to claim 1, characterized in that: The classification loss function of the target detection model is the Focal Loss function, and its formula is: Where FL is the classification loss, y=1 indicates that the sample is a positive sample, and y=0 indicates that the sample is a negative sample; p is the prediction probability, that is, the probability of the target object in the prediction box, and 1-p indicates the probability of predicting a negative sample; α is the positive and negative sample weight parameter applied to the positive sample, and 1-a is the positive and negative sample weight parameter applied to the negative sample; (1-p) γ is the difficult and easy sample weight parameter imposed on the positive sample, p γ It is the difficult and easy sample weight parameter imposed on negative samples.
8. An image target detection system based on the improved DETR algorithm, characterized in that: It includes a data input module, a target detection module and a result output module; the data input module is used to obtain the image data to be tested; the target detection module is used to analyze the image data to be tested and then output the regression prediction result and the classification prediction result; the result output module is used to draw a detection frame in the image data to be tested according to the regression prediction result, and classify and mark the target object contained in the detection frame according to the classification prediction result; The target detection model is built based on the DETR improved algorithm, including: A feature extraction module, used to perform multi-scale feature extraction and attention weight calculation on the image data to be tested to obtain a first feature vector; An encoder and a decoder, used to extract a second feature vector based on the first feature vector using an attention mechanism; A prediction module, used to obtain a classification prediction result and a regression prediction result based on the second feature vector analysis; The performing multi-scale feature extraction and attention weight calculation on the image data to obtain a first feature vector includes: performing convolution and downsampling on the image data to obtain a vector C1, performing convolution and downsampling on the vector C1 to obtain a vector C2, performing convolution and downsampling on the vector C2 to obtain a vector C3, performing convolution and downsampling on the vector C3 to obtain a vector C4, and performing convolution and downsampling on the vector C4 to obtain a vector C5; Adjust the channel dimension of vector C5 to the preset dimension through 1×1 convolution to obtain vector P5; Upsampling vector P5 to obtain vector D4, upsampling vector D4 to obtain vector D3, and upsampling vector D3 to obtain vector D2; The vector C is transformed by 1×1 convolution i The channel dimension of is adjusted to the preset dimension and the vector D i Add them together to get vector C' i = Vector C i +Vector D i , then for the vector C' i Perform 3×3 convolution to obtain vector P i , where i = 2, 3, 4; vector P i Perform global average pooling to obtain vector P i _s, where i = 2, 3, 4, 5; Through the first fully connected layer, the vector P i The channel dimension of _s is compressed by a preset ratio, and then adjusted to the preset dimension through the second fully connected layer to obtain the vector Q i , where i = 2, 3, 4, 5; The vector P i and vector Q i Perform the outer product and get the vector T i =P i ×Q i , where i = 2, 3, 4, 5; Perform 1×1 convolution on vector T5 to obtain vector P'5; To T i After global maximum pooling, perform 1×1 convolution to obtain vector P' i , where i = 2, 3, 4; Get the first eigenvector P' i , where i=2, 3, 4, 5.
Citation Information
Patent Citations
Universal image target detection method and device based on self-attention mechanism
CN113902926A
Small target detection method based on attention mechanism
CN114202672A
Low-illumination small sample target detection method based on Darkdet-Net
CN114821318A
Pedestrian detection method and system based on multi-modal image
CN116386081A
Pedestrian detection method and system, electronic equipment and readable medium
CN116453154A
