军事知识服务平台
改进RT-DETR的近岸船舶目标检测
Inshore ship target detection based on improved RT-DETR
摘要 对基于摄像头的近岸船舶目标检测任务中存在目标尺度大小不一、目标重叠、复杂背景干扰以及极端天气因素扰动等问题,提出一种改进的实时检测Transformer(RT-DETR)检测算法——RT-DETR-TSF.首先,使用TransNeXt网络替换主干网络,通过嵌入聚合像素注意力机制与卷积门控单元,实现对全局特征的粗粒度和局部特征的细粒度感知,从而优化模型的特征提取能力,解决了目标间的重叠问题;其次,提出一种可实现特征选择的重参数泛化特征金字塔,改善了模型的多尺度特征信息聚合能力;最后,引入Focaler-IoU损失函数,解决了数据集中、小尺度目标样本与大尺度样本间的差异性分布对边界框回归精度影响的问题.实验环节,通过对部分数据集进行加雾、加雨等数据加噪处理,模拟了模型在天气因素扰动下的检测环境.实验结果表明,RT-DETR-TSF相较于基线模型,其参数量与浮点运算量分别下降了35.3%,40.7%;mAP50,mAP50-95 分别提高了3.6%,10.2%,达到了99.2%,83.3%.
Abstract:
To address the problems of varying target scales,target overlap,complex background interference and extreme weather disturbances in the inshore ship target detection task based on camera,an improved real-time detection Transformer(RT-DETR)detection algorithm,named RT-DETR-TSF,is proposed.Firstly,the backbone network is replaced by the TransNeXt network,and the coarse-grained perception of global features and the fine-grained perception of local features are realized by embedding the aggregated pixel-focused attention mechanism and the convolutional gated unit,so as to optimize the feature extraction ability of the model and solve the problem of overlap between targets.Secondly,a feature-selective reparameterized generalized feature pyramid is proposed to improve the multi-scale feature information aggregation ability of the model.Finally,the Focaler-IoU loss function is introduced to address the influence of the differential distribution between medium-and small-scale target samples and large-scale samples in the dataset on bounding box regression accuracy.In the experimental stage,partial datasets are subjected to data noise processing such as fog and rain to simulate the detection environment of the model under the disturbance of weather factors.Experimental results show that compared with the baseline model,the number of parameters and floating-point operations of RT-DETR-TSF are reduced by 35.3%and 40.7%,respectively,and the mAP50 and mAP50-95 are increased by 3.6%and 10.2%,respectively,reaching 99.2%and 83.3%.
刊 名 传感器与微系统 ISTICPKU
年,卷(期): 2026, 45(10)
分类号: TP391
机标分类号: TP391 TP183 TN911.73
在线出版日期: 2026年10月20日
基金项目: 2024NSCQ—LZX0103:重庆市自然科学基金创新发展联合基金资助项目KJZD—K202300711:重庆市教委科学技术研究项目CSTCCCXLJRC201920:重庆市科技创新领军人才支持计划项目CXQT20019:重庆市高校创新研究群体项目,