• 改进RT-DETR的水上小目标检测算法

    Improved RT-DETR for detecting small target on water

    • 针对水上小目标检测场景中目标尺度受限、样本分布不均匀以及漏检率和误检率高等问题,提出一种基于实时检测Transformer(RT-DETR)的改进算法CGMS-DETR。首先,在主干网络中引入BiConv模块,采用并行卷积实现多尺度特征提取,在增强特征提取能力的同时降低模型参数量和计算复杂度;其次,构建多尺度特征增强注意力(MSFA)模块,利用卷积先验机制扩展多尺度感受野,提高模型对小目标的建模能力,并采用混合注意力降低计算开销;最后,设计上下文引导式特征融合(CGFM)模块,改进传统金字塔特征融合方式以丰富语义信息,从而提高小目标检测精度。实验结果表明:在Flow-Img数据集上,CGMS-DETR的平均精度均值(mAP@0.5)达到92.6%,较基准模型提高3.2%,参数量和计算量分别降低约18.6%和16.5%;在VisDrone2019数据集上,mAP@0.5达到48.2%,较基准模型提高1.4%。所提方法在小目标检测任务中具有较好的有效性和实时性。

       

      Abstract: To address the problems of limited target scale, uneven sample distribution, and high missed detection and false detection rates in small target detection on water, an improved algorithm based on real-time detection Transformer (RT-DETR), named CGMS-DETR, is proposed. First, a BiConv module is introduced into the backbone network, in which parallel convolution is adopted for multi-scale feature extraction, enhancing the feature extraction capability while reducing the number of model parameters and computational complexity. Second, a multi-scale feature enhanced attention (MSFA) module is constructed. By using a convolutional prior mechanism to expand the multi-scale receptive field, the modeling capability for small targets is improved, and hybrid attention is employed to reduce computational overhead. Finally, a context-guided feature fusion (CGFM) module is designed to improve the traditional pyramid feature fusion method, enrich semantic information, and thereby improve the accuracy of small target detection. Experimental results show that on the Flow-Img dataset, the mean average precision (mAP@0.5) of CGMS-DETR reaches 92.6%, which is 3.2% higher than that of the baseline model, while the number of parameters and computational cost are reduced by approximately 18.6% and 16.5%, respectively. On the VisDrone2019 dataset, the mAP@0.5 reaches 48.2%, which is 1.4% higher than that of the baseline model. The proposed method demonstrates good effectiveness and real-time performance in small target detection tasks.

       

    /

    返回文章
    返回