An unmanned aerial vehicle target detection method resistant to complex background interference

By introducing a Kalman gain dual-stream noise reduction enhancement structure and a wavelet-gated fusion unit into the UAV target detection algorithm, combined with a frequency-space decoupling detection head, the problem of detecting weak targets in complex low-altitude backgrounds is solved, achieving higher detection accuracy and positioning accuracy.

CN123142091APending Publication Date: 2026-11-20CHANGCHUN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611342339.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing UAV target detection algorithms are prone to losing details of small targets in complex low-altitude backgrounds, and background interference is difficult to suppress. The interference from classification and bounding box regression task features is severe, resulting in poor detection performance.

Method used

A dual-stream noise reduction enhancement structure based on Kalman gain and a wavelet-gated fusion unit are adopted to enhance the detail information of weak targets during feature extraction and fusion. Furthermore, a frequency-space decoupling detection head is used to process bounding box regression and category recognition features separately, thereby suppressing background interference and reducing feature interference.

Benefits of technology

It improves the detection performance and positioning accuracy of small UAV targets, reduces the false detection rate, and enhances the model's detection performance in complex low-altitude backgrounds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142091A_ABST
    Figure CN123142091A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of unmanned aerial vehicle target detection method of anti complex background interference, belong to computer vision and target detection technical field.The method obtains unmanned aerial vehicle image under complex low altitude background and constructs training dataset, constructs target detection model with YOLOv11n as base network, set double-flow anti-noise reinforcement structure based on Kalman gain idea in main network and neck network, set wavelet gated fusion unit WGF in neck network, and adopt FSD-Head frequency-space decoupling detection head to process boundary box regression feature and class identification feature respectively;After training model using training dataset, the image to be detected is input into model, and the boundary box position and class confidence of unmanned aerial vehicle target are output.The present application can reduce the influence of complex background interference on weak small unmanned aerial vehicle feature, improve detection performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and intelligent airspace security technology, specifically relating to a method for detecting unmanned aerial vehicle targets that resists interference from complex backgrounds. Background Technology

[0002] With the increasing number of low-altitude application scenarios, the demand for drone detection in airspace security monitoring is growing. The potential threats posed by drones in areas such as illegal flights, voyeurism, and airspace intrusion are becoming increasingly prominent. Establishing an all-weather, high-precision low-altitude airspace security monitoring and interception system is a problem that needs to be solved in the field of intelligent security. In airspace monitoring systems, real-time detection of aerial targets based on computer vision is a key component guiding subsequent tracking and optoelectronic countermeasure operations.

[0003] Compared with conventional ground target detection, intelligent identification of aerial drone targets faces greater physical and environmental challenges: First, drones fly at high altitudes and are small in size, usually occupying only a few to tens of pixels in an image, making them "weak targets" in long-distance imaging; Second, the low-altitude background is extremely complex, with strong light reflections from urban high-altitude backgrounds, thick clouds drifting at high altitudes, and even mountains and forests easily obscuring the weak signal characteristics of the small drone itself.

[0004] Currently, while single-stage deep learning object detection algorithms, represented by the YOLO series, have made significant progress on general datasets, existing algorithm architectures still have shortcomings and technical problems when facing specific application scenarios such as detecting small drones in complex and noisy backgrounds.

[0005] First, existing target detection networks are prone to weakening or losing detailed information about small targets during feature downsampling and cross-scale fusion. For long-range UAV targets, their rotors, edges, and corners usually correspond to relatively obvious high-frequency features. After multiple convolutions, downsampling, and feature fusions, this detailed information is easily weakened, thus affecting the ability of deep features to represent small UAV targets and increasing the possibility of missed detections.

[0006] Secondly, existing convolutional feature extraction methods have limited ability to suppress complex background interference. In low-altitude scenarios, background information such as cloud bright spots, ground textures, and sensor noise may produce similar local responses to small drones, making it difficult for the model to effectively distinguish target features from background interference. When there is a lack of an adaptive feature adjustment mechanism that incorporates contextual information, some background responses are easily retained and participate in subsequent detection, thereby increasing the possibility of false detection.

[0007] Third, the focus of feature information differs between classification and bounding box regression tasks in conventional detection heads. Bounding box regression pays more attention to the spatial location and edge information of the target, while category recognition focuses more on the semantic and contextual information of the target. When the two tasks directly use the same or insufficiently distinguishable fused features, there may be some feature interference between the tasks, which may affect the classification and localization performance of weak targets.

[0008] In summary, how to reduce the loss of high-frequency details of weak targets during feature extraction and fusion, reduce the interference of complex low-altitude backgrounds on UAV target features, and reduce feature interference between classification tasks and bounding box regression tasks in the detection head, thereby improving the detection and localization performance of weak UAVs, are the technical problems that need to be solved in current low-altitude visual target detection. Summary of the Invention

[0009] (a) Technical problems to be solved

[0010] To address the issues of easily lost features of small UAV targets in complex low-altitude backgrounds, interference from background clutter, and feature interference between classification and bounding box regression tasks, this invention proposes a UAV target detection method resistant to complex background interference. By enhancing the detailed information of small targets during feature extraction and fusion, and adaptively adjusting background interference features, while processing bounding box regression and category recognition features separately, the detection and localization performance of small UAVs in complex backgrounds is improved.

[0011] (II) Technical Solution

[0012] To achieve the above objectives and solve the above technical problems, the present invention provides the following technical solution:

[0013] Step S1: Acquire and annotate aerial drone images containing complex backgrounds and different flight scales to construct a training dataset;

[0014] Step S2: Construct a target detection model based on YOLOv11n as the base network. The model includes a backbone network, a neck fusion network, and a decoupled detection head.

[0015] The backbone network and neck fusion network are equipped with a two-stream noise reduction and enhancement structure based on the Kalman gain idea. Local features and contextual features are extracted by 3×3 depthwise separable convolution and 3×3 dilated depthwise separable convolution with a dilation coefficient of 3, respectively. After concatenating the two features, the input features are weighted by channel-gated weights generated by global adaptive max pooling, convolution and Sigmoid activation, and then residual fusion is performed with the input features.

[0016] The neck fusion network is equipped with a wavelet-gated fusion unit, which performs a two-dimensional Haar wavelet transform on the shallow high-resolution features, generates four sets of gating parameters for the corresponding low-frequency subbands and three high-frequency subbands in three directions using the deep low-resolution features, and normalizes them in the wavelet subband dimension using the Softmax function. The gated low-frequency subbands are added element-wise with the deep low-resolution features mapped by 1×1 convolution. The three gated high-frequency subbands are concatenated and then fused by 1×1 convolution and residual convolution blocks to restore the channel organization form corresponding to the three high-frequency subbands. Together with the low-frequency fused features, they are subjected to a two-dimensional Haar wavelet inverse transform for feature reconstruction. The reconstructed features are then subjected to residual fusion with the shallow high-resolution features.

[0017] The decoupled detection head includes a bounding box regression branch and a category recognition branch. The bounding box regression branch uses a 5×5 depthwise separable convolution and the Mish activation function to process edge features. The category recognition branch uses a 3×3 dilated depthwise separable convolution with a dilation coefficient of 2 to extract contextual features. The classification features are adjusted by adjusting the weights through adaptive average pooling, 1×1 convolution and Sigmoid activation to generate channels.

[0018] Step S3: Train the target detection model using the training dataset and save the model weights;

[0019] Step S4: Input the image to be detected into the trained target detection model, and output the bounding box position and class confidence of the UAV target.

[0020] Furthermore, the dual-stream noise reduction and enhancement structure based on the Kalman gain concept includes a Kalman gain-gated feature enhancement module (C3k2_KGF), which comprises several noise reduction and enhancement units. Each noise reduction and enhancement unit receives an input feature x and includes a local feature stream, a context feature stream, and a channel gating structure. The local feature stream performs channel adjustment on the input feature through a 1×1 convolution and then extracts local features F using depthwise separable convolution. local The context feature stream performs channel adjustment on the input features through a 1×1 convolution, and then extracts the context features F using a depthwise separable convolution. context ; the local feature F local With contextual features F context The fused feature F is obtained by concatenating the data along the channel dimension. cat The channel-gating structure generates channel-level adaptive gating weights through adaptive max pooling, convolution, and nonlinear activation functions, which are applied to the fused feature F. cat The weighted adjustment is performed, and the output is obtained by residual fusion with the input feature x.

[0021] Furthermore, the dilation coefficient of the depth-separable convolution in the context feature stream is 3, and the kernel size is 3×3; the channel gating structure uses a global adaptive max pooling layer with an output space size of 1×1 to extract the global maximum response statistics of each channel, and generates channel-level adaptive gating weights with values ​​ranging from 0 to 1 through convolution and the Sigmoid activation function.

[0022] Furthermore, the spatial dimensions of the deep low-resolution features match the spatial dimensions of each sub-band feature obtained by the two-dimensional Haar wavelet transform. The deep low-resolution features are convolved to generate four sets of sub-band gating parameters, which are then normalized in the wavelet sub-band dimension using the Softmax function to obtain the gating weights G corresponding to the low-frequency sub-band a and the horizontal, vertical, and diagonal high-frequency sub-bands h, v, and d, respectively. a G h G v G d The corresponding wavelet subbands are weighted element-wise using the gate weights. The weighted result of the low-frequency subbands is added element-wise to the deep low-resolution features after channel mapping by 1×1 convolution to obtain the low-frequency fusion features. The low-frequency fusion features are then combined with the three high-frequency subbands after high-frequency fusion and channel organization adjustment to perform a two-dimensional Haar wavelet inverse transform.

[0023] Furthermore, the four sets of subband gating parameters are obtained by convolutional mapping of deep low-resolution features and normalized along the wavelet subband dimension using the Softmax function; the gated low-frequency subbands are element-wise added to the deep low-resolution features after 1×1 convolutional mapping to obtain low-frequency fusion features; the three gated high-frequency subbands are spliced ​​according to their corresponding directions and fused using 1×1 convolution and residual convolution blocks to maintain the joint expression of high-frequency information in the horizontal, vertical, and diagonal directions; the high-frequency fusion features are adjusted to the channel organization form corresponding to the three high-frequency subbands and input together with the low-frequency fusion features into a two-dimensional Haar wavelet inverse transform for feature reconstruction.

[0024] Furthermore, the decoupling detection head is a frequency-space decoupling detection head (FSD-Head), comprising a bounding box regression branch and a category recognition branch. The bounding box regression branch uses a 1×1 convolution for channel adjustment and sequentially extracts edge features through a 5×5 depthwise separable convolution and a Mish activation function. The category recognition branch uses a 1×1 convolution for channel adjustment and extracts contextual features through a 3×3 dilated depthwise separable convolution with a dilation coefficient of 2. Channel statistics are obtained through adaptive average pooling, and channel adjustment weights are generated through a 1×1 convolution and a Sigmoid activation function. These weights are then used to adaptively adjust the classification features. The bounding box regression branch and the category recognition branch generate bounding box prediction results and category prediction results, respectively.

[0025] (III) Beneficial Effects

[0026] Compared with existing technologies, this invention sets up a wavelet-gated fusion unit in the neck network, obtains low-frequency subbands and high-frequency subbands in different directions through two-dimensional Haar wavelet transform, and generates gating weights for the four wavelet subbands using deep semantic features. After normalization by Softmax, the features of each subband are adjusted respectively, so that different frequency information can be adaptively allocated according to deep semantics, which helps to reduce the loss of weak target detail information in the cross-scale feature fusion process.

[0027] This invention sets up a dual-stream noise reduction and enhancement structure based on the Kalman gain concept. It extracts information at different scales through local feature streams and contextual feature streams, and uses channel gating to adaptively adjust the fused features, thereby suppressing background interference such as clouds, ground textures and local bright areas, and reducing false detections in complex low-altitude scenes.

[0028] This invention employs a frequency-space decoupling detection head, performing feature processing on the bounding box regression branch and the category recognition branch separately. Specifically, the bounding box regression branch refines edge features, while the category recognition branch filters classification features using contextual information, thereby reducing feature interference between different detection tasks and improving the localization and recognition performance of weak UAVs. Attached Figure Description

[0029] Figure 1 This is a flowchart illustrating the overall steps of a UAV target detection method for resisting complex background interference according to the present invention.

[0030] Figure 2 This is a diagram showing the overall network structure of the deep learning target detection model for resisting complex background interference constructed in this invention.

[0031] Figure 3 This is a microstructure diagram of the WGF (wavelet-gated fusion unit) integrated in the neck fusion network of the model of this invention;

[0032] Figure 4 This is a diagram of the internal microstructure of the C3k2_KGF (Kalman gain-gated feature enhancement module) used in the model of this invention.

[0033] Figure 5 This is a schematic diagram of the FSD-Head (Frequency-Space Decoupling Detection Head); Detailed Implementation

[0034] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain and illustrate the principles of the present invention, and are not intended to limit the scope of protection of the present invention. In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features.

[0035] This embodiment provides a method for UAV target detection that resists interference from complex backgrounds, aiming to solve the technical problems of easy loss of high-frequency contours and easy false detection by high-altitude clutter for small UAVs in long-distance complex airspace. Figure 1 As shown, the method of the present invention specifically includes the following steps in its macroscopic implementation process:

[0036] Step S1: Acquire aerial drone images and perform rigorous dataset preprocessing to construct a multi-level target training dataset.

[0037] Specifically, this embodiment selects images that meet the detection scenario requirements of this invention from the publicly available DUT Anti-UAV drone dataset, and combines them with actually collected drone images with complex low-altitude backgrounds to construct a comprehensive original image library covering urban building backgrounds, mountain and forest clutter, thick high-altitude clouds, and different backlighting / frontlighting conditions. Professional annotation tools are used to label the bounding boxes and categories of aerial targets in the images, uniformly naming the category as "uav". To ensure the model's generalization ability for small targets at different flight altitudes and long distances, the dataset is divided into a training set, a validation set, and a test set in a 7:2:1 ratio. The training set includes 4585 images, the validation set includes 1310 images, and the test set includes 655 images.

[0038] Step S2, construct the network based on YOLOv11n as follows Figure 2 The illustrated target detection model is designed to withstand complex background interference. Addressing the issues of weakened detail information and strong interference from complex backgrounds during feature extraction and fusion for small UAVs, this embodiment improves the YOLOv11n network structure: a dual-stream noise reduction enhancement structure based on Kalman gain is incorporated into the backbone and neck fusion networks to extract local spatial and contextual information respectively, and the fusion features are adjusted through a gating mechanism; wavelet-gated fusion units (WGFs) are placed at the cross-scale feature fusion locations in the neck network to decompose and fuse different frequency components; and an FSD-Head frequency-space decoupling detection head is set at the detection end to process bounding box regression features and category recognition features respectively. The specific structures of each module are as follows:

[0039] (1) Construction of C3k2_KGF module based on Kalman gain idea. The C3k2_KGF module includes several noise-enhancing units ESCBlock. For input feature tensor X, any noise-enhancing unit includes a local feature stream, a context feature stream and a channel gating structure set in parallel.

[0040] The Local Feature Flow modulates the input features to C / 2 channels using a 1×1 convolution, and then extracts the local features F using a 3×3 depthwise separable convolution. local After the contextual features are processed through a 1×1 convolution with adjusted channels, the contextual features F are extracted by a 3×3 dilated depthwise convolution with a dilation coefficient d=3. context The two feature streams are concatenated along the channel dimension to obtain the fused feature F. cat As shown in equation (1), where Concat represents channel dimension splicing.

[0041] (1)

[0042] The channel-gated structure performs global adaptive max pooling with an output spatial size of 1×1 on the input feature X, extracts the global maximum response statistics for each channel, and generates channel-level adaptive gating weights with values ​​ranging from 0 to 1 through convolution and a sigmoid activation function. These gating weights are then used to apply the fused feature F. cat After weighted adjustment and channel mapping, residual fusion is performed with the input feature X to obtain the output feature Y. KGF As shown in equation (2). Here, ⊙ represents element-wise multiplication, and σ represents the Sigmoid activation function. Through the above gating adjustment, the response of some background interference features is reduced.

[0043] (2)

[0044] (2) Construction of wavelet-gated fusion unit (WGF). The WGF receives shallow high-resolution features X. big and deep low-resolution features X small First, regarding X big A two-dimensional Haar wavelet transform is performed to obtain the low-frequency subband 'a' and the high-frequency subbands 'h', 'v', and 'd' in the horizontal, vertical, and diagonal directions. The spatial dimensions of the subband features obtained after the two-dimensional Haar wavelet transform are compared with the deep low-resolution feature 'X'. small The spatial dimensions are matched, and the number of channels of the deep low-resolution features is adapted to the number of channels of the corresponding wavelet subbands through convolution mapping.

[0045] X small Four sets of subband gating parameters are generated through convolutional mapping, and then normalized in the subband dimension using the Softmax function to obtain the gating weights G corresponding to a, h, v, and d, respectively.a G h G v G d By using four sets of gating weights to perform element-wise weighting on the corresponding sub-bands, gating features corresponding to the low-frequency sub-bands and the high-frequency sub-bands in the horizontal, vertical and diagonal directions are obtained.

[0046] The gated low-frequency features are element-wise added to the deep low-resolution features after channel mapping via 1×1 convolution to obtain the low-frequency fusion features. The three gated high-frequency sub-bands are concatenated along the channel dimension and fused using 1×1 convolution and residual convolution blocks. The high-frequency fusion features are adjusted by channel mapping to correspond to the channel organization of the three high-frequency sub-bands and combined with the low-frequency fusion features according to the sub-band order required by the two-dimensional Haar wavelet inverse transform. Then, the spatial features are reconstructed through the two-dimensional Haar wavelet inverse transform, which reorganizes the low-frequency sub-bands and the corresponding positions of the three directional high-frequency sub-bands. The reconstructed features are then combined with the shallow high-resolution features X after adjustment via 1×1 convolution. big Residual fusion is performed to obtain the WGF output features.

[0047] (3) Construction of FSD-Head frequency-space decoupling detection head. Addressing the different focus on feature information between bounding box regression and category recognition, this embodiment designs the following... Figure 5 The FSD-Head frequency-space decoupling detection head is shown. For input feature x... i The detection head is equipped with a bounding box regression branch and a category recognition branch, and the two branches perform task-oriented processing on the input features respectively.

[0048] In the bounding box regression branch, the input features are first processed by a 1×1 convolution for channel adjustment, then by a 5×5 depthwise separable convolution to extract local edge information, and then by a Mish activation function for non-linear mapping. The resulting features are then input into the Small Target Feature Enhancement (STFE) module for further enhancement, and the bounding box prediction features are obtained by a 1×1 convolution.

[0049] In the category recognition branch, the input features are first processed by a 1×1 convolution for channel adjustment, then a 3×3 dilated depthwise separable convolution with a dilation coefficient of 2 is used to extract contextual information, and adaptive average pooling is used to obtain channel statistics. Channel adjustment weights are generated by a 1×1 convolution and a sigmoid activation function, and the classification features are adaptively adjusted using the channel adjustment weights. The obtained features are then input into the STFE module for further enhancement, and the category prediction features are obtained by a 1×1 convolution.

[0050] The bounding box regression branch obtains bounding box prediction features through 1×1 convolution, and the class recognition branch obtains class prediction features through 1×1 convolution. The two types of prediction features are combined according to the output format of the detection head. The bounding box prediction features are processed by the DFL decoder (Distribution Focal Loss Decoder) to obtain the target bounding box information, and the class prediction features are processed by the Sigmoid function to obtain the class confidence. Finally, the bounding box position and class confidence of the UAV target are output.

[0051] Step S3: Train the improved model established in Step S2 using the training set constructed in Step S1. The SGD optimizer is used during training, with an initial learning rate of 0.01, momentum parameter of 0.937, weight decay coefficient of 0.0005, input image size of 640×640, and batch size of 16. Training lasts for 200 epochs. After each training epoch, Precision, Recall, and mAP are calculated using the validation set to observe the model training progress. After 200 training epochs, the trained floating-point model weight file is saved.

[0052] Step S4: Input the image of the UAV to be detected into the trained target detection model. The backbone network performs feature extraction, the neck fusion network performs cross-scale feature fusion, and the FSD-Head performs detection result prediction, outputting the bounding box position and category confidence of the UAV target.

[0053] In one specific implementation, to verify the feasibility of deploying the model of the present invention on the edge, the trained floating-point model is converted and deployed to a Rockchip RK3588 terminal equipped with an NPU. Post-training quantization (PTQ) is performed using RKNN-Toolkit2, and quantization parameters are determined using a calibration dataset composed of typical UAV detection scene images. The FP32 model is converted into an INT8 quantized model to reduce model storage and computational overhead.

[0054] (3)

[0055] Where R is the floating-point feature value, S is the quantization scaling factor, Z is the fixed-point zero offset, round represents the rounding operation, and clip represents limiting the quantization result to the range of integer values ​​corresponding to INT8. Q is the quantized INT8 integer value. After the model conversion is completed, an RK3588-supported .rknn model file is generated and loaded into the terminal for UAV target detection inference.

[0056] Performance verification and experimental evaluation: The video stream of the aerial drone to be detected is input into the algorithm test platform equipped with GPU, and the model weights trained in step S3 are loaded for inference test to verify the target detection performance of the model of the present invention in complex low-altitude background.

[0057] To evaluate the detection performance of the model of this invention, this embodiment uses six key indicators for evaluation: precision, recall, mean precision (mAP@0.5), number of model parameters, computational complexity (GFLOPs), and frame rate (FPS). The specific formula for measuring precision is as follows:

[0058] (4)

[0059] (5)

[0060] (6)

[0061] (7)

[0062] Where TP is the number of predicted target instances that successfully match the real target; FP is the number of incorrectly predicted instances that do not successfully match the real target; FN is the number of real target instances that were not successfully detected by the model; and N is the number of target categories.

[0063] The experimental environment and parameter settings for this invention are as follows: The experimental platform uses the Ubuntu 22.04.3 LTS operating system, with an Intel Xeon Gold 6248 processor and an NVIDIA RTX 3080 Ti 12 GB graphics card. The software environment is Python 3.10.12 and PyTorch 2.0.1. Model training uses the SGD optimizer, with an input image size of 640×640, an initial learning rate of 0.01, a momentum parameter of 0.937, a weight decay coefficient of 0.0005, a batch size of 16, and a total training duration of 200 epochs. The experimental data consists of publicly available UAV datasets and images of complex low-altitude scenes collected in practice, divided into training, validation, and test sets in a 7:2:1 ratio. To ensure the comparability of the ablation experiments, each group of models uses the same dataset partitioning, training parameters, and testing conditions, adjusting only the corresponding network modules. Table 1 shows the ablation experiment results for each group of models. The FPS in Table 1 are the model inference frame rates measured on the NVIDIA RTX 3080 Ti GPU test platform mentioned above.

[0064] Table 1 Evaluation Table of Ablation Experiments of the Invention

[0065] Model P / % R / % mAP@0.5 / % <![CDATA[Parameters / 10 6 ]]> GFLOPs FPS YOLOv11n 81.4 61.0 52.6 2.6 6.3 214 YOLOv11n+WGF 82.9 63.8 54.3 4.2 9.3 176 YOLOv11n+WGF+C3k2_KGF 83.5 64.5 55.1 3.8 8.8 189 YOLOv11n+WGF+C3k2_KGF+FSD-Head 83.8 64.6 55.2 3.5 7.6 195

[0066] As shown in Table 1, the experimental results indicate that after adding WGF to the YOLOv11n baseline model, P, R, and mAP@0.5 increased from 81.4%, 61.0%, and 52.6% to 82.9%, 63.8%, and 54.3%, respectively; further adding C3k2_KGF increased mAP@0.5 to 55.1%. Adding FSD-Head resulted in P, R, and mAP@0.5 reaching 83.8%, 64.6%, and 55.2%, respectively, while the number of parameters decreased from 3.8 M to 3.5 M, the computational cost decreased from 8.8 GFLOPs to 7.6 GFLOPs, and FPS increased from 189 to 195. Compared to the YOLOv11n baseline model, the final model showed improvements of 2.4, 3.6, and 2.6 percentage points in P, R, and mAP@0.5, respectively. Experimental results show that the introduction of WGF and C3k2_KGF can gradually improve the detection index of the model; on this basis, the addition of FSD-Head further reduces the number of model parameters and computational cost, while maintaining detection accuracy and improving inference frame rate.

[0067] In summary, the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention. Equivalent substitutions or modifications made by those skilled in the art to the number of network layers, number of channels, convolutional kernel size, and module connection methods without departing from the concept of the present invention should all fall within the scope of protection of the claims of the present invention.

Claims

1. A method for detecting unmanned aerial vehicle (UAV) targets that resists interference from complex backgrounds, characterized in that, The method includes the following steps: Step S1: Acquire and annotate aerial drone images containing complex backgrounds and different flight scales to construct a training dataset; Step S2: Construct a target detection model based on YOLOv11n as the base network. The model includes a backbone network, a neck fusion network, and a decoupled detection head. The backbone network and neck fusion network are equipped with a two-stream noise reduction and enhancement structure based on the Kalman gain idea. Local features and contextual features are extracted by 3×3 depthwise separable convolution and 3×3 dilated depthwise separable convolution with a dilation coefficient of 3, respectively. After concatenating the two features, the input features are weighted by channel-gated weights generated by global adaptive max pooling, convolution and Sigmoid activation, and then residual fusion is performed with the input features. The neck fusion network is equipped with a wavelet-gated fusion unit, which performs a two-dimensional Haar wavelet transform on the shallow high-resolution features, generates four sets of gating parameters for the corresponding low-frequency subbands and three high-frequency subbands in three directions using the deep low-resolution features, and normalizes them in the wavelet subband dimension using the Softmax function. The gated low-frequency subbands are added element-wise with the deep low-resolution features mapped by 1×1 convolution. The three gated high-frequency subbands are concatenated and then fused by 1×1 convolution and residual convolution blocks to restore the channel organization form corresponding to the three high-frequency subbands. Together with the low-frequency fused features, they are subjected to a two-dimensional Haar wavelet inverse transform for feature reconstruction. The reconstructed features are then subjected to residual fusion with the shallow high-resolution features. The decoupled detection head includes a bounding box regression branch and a category recognition branch. The bounding box regression branch uses a 5×5 depthwise separable convolution and the Mish activation function to process edge features. The category recognition branch uses a 3×3 dilated depthwise separable convolution with a dilation coefficient of 2 to extract contextual features. The classification features are adjusted by adjusting the weights through adaptive average pooling, 1×1 convolution and Sigmoid activation to generate channels. Step S3: Train the target detection model using the training dataset and save the model weights; Step S4: Input the image to be detected into the trained target detection model, and output the bounding box position and class confidence of the UAV target.

2. The UAV target detection method against complex background interference according to claim 1, characterized in that, The dual-stream noise reduction and enhancement structure based on the Kalman gain concept includes a Kalman gain-gated feature enhancement module (C3k2_KGF), which includes several noise reduction and enhancement units. Each noise reduction and enhancement unit receives an input feature x and includes a local feature stream, a context feature stream, and a channel gating structure. The local feature stream performs channel adjustment on the input features through a 1×1 convolution and then extracts local features F using depthwise separable convolution. local The context feature stream performs channel adjustment on the input features through a 1×1 convolution, and then extracts the context features F using a depthwise separable convolution. context ; the local feature F local With contextual features F context The fused feature F is obtained by concatenating the data along the channel dimension. cat The channel-gating structure generates channel-level adaptive gating weights through adaptive max pooling, convolution, and nonlinear activation functions, which are applied to the fused feature F. cat The weighted adjustment is performed, and the output is obtained by residual fusion with the input feature x.

3. The UAV target detection method against complex background interference according to claim 2, characterized in that, The dilation depth separable convolution in the context feature stream has a dilation coefficient of 3 and a kernel size of 3×3. The channel gating structure uses a global adaptive max pooling layer with an output space size of 1×1 to extract the global maximum response statistics of each channel, and generates channel-level adaptive gating weights with values ​​ranging from 0 to 1 through convolution and the Sigmoid activation function.

4. The UAV target detection method against complex background interference according to claim 1, characterized in that, The spatial dimensions of the deep low-resolution features match the spatial dimensions of the sub-band features obtained from the two-dimensional Haar wavelet transform. The deep low-resolution features are convolved to generate four sets of sub-band gating parameters, which are then normalized in the wavelet sub-band dimension using the Softmax function to obtain the gating weights G corresponding to the low-frequency sub-band a and the horizontal, vertical, and diagonal high-frequency sub-bands h, v, and d, respectively. a G h G v G d The corresponding wavelet subbands are weighted element-wise using the gate weights. The weighted result of the low-frequency subbands is added element-wise to the deep low-resolution features after channel mapping by 1×1 convolution to obtain the low-frequency fusion features. The low-frequency fusion features, together with the three high-frequency subbands after high-frequency fusion and channel organization adjustment, undergo a two-dimensional Haar wavelet inverse transform.

5. The UAV target detection method against complex background interference according to claim 4, characterized in that, The four sets of subband gating parameters are obtained by convolution mapping of deep low-resolution features and normalized along the wavelet subband dimension by the Softmax function; the gated low-frequency subband is added element-wise to the deep low-resolution features after 1×1 convolution mapping to obtain the low-frequency fusion features. The three gated high-frequency subbands are spliced ​​together in the corresponding directions and then fused using 1×1 convolution and residual convolution blocks to maintain the joint expression of high-frequency information in the horizontal, vertical and diagonal directions. The high-frequency fusion features are adjusted to the channel organization form corresponding to the three high-frequency subbands and input together with the low-frequency fusion features into the two-dimensional Haar wavelet inverse transform for feature reconstruction.

6. The UAV target detection method against complex background interference according to claim 1, characterized in that, The decoupled detection head is a frequency-space decoupled detection head FSD-Head, which includes a bounding box regression branch and a category recognition branch. The bounding box regression branch uses 1×1 convolution for channel adjustment and sequentially extracts edge features through 5×5 depthwise separable convolution and Mish activation function. The category recognition branch uses 1×1 convolution for channel adjustment and extracts contextual features through 3×3 dilated depth-separable convolution with a dilation coefficient of 2. Channel statistics are obtained through adaptive average pooling, and channel adjustment weights are generated through 1×1 convolution and Sigmoid activation. The weights are then used to adaptively adjust the classification features. The bounding box regression branch and the category recognition branch generate bounding box prediction results and category prediction results, respectively.