DBF-RTDETR:基于DETR的工业产品表面缺陷检测
DBF-RTDETR: Industrial Product Surface Defect Detection Based on DETR
摘要: 工业产品表面缺陷检测作为智能制造的关键环节,亟需解决复杂纹理干扰、多尺度缺陷共存及实时性要求高等问题。基于此,本文提出一种基于双卷积–双向特征金字塔结构RTDETR (DBF-RTDETR)模型的表面缺陷检测的方法,旨在针对工业表面缺陷检测场景进行性能优化。首先,为增强模型对微小缺陷的特征捕获能力,设计了双卷积模块,其采用双分支并行结构,在降低计算量的同时增强了微小缺陷的特征表达能力;其次,构建了双向特征金字塔结构网络,通过双向跨层连接与多尺度特征融合,有效抑制了光照不均与背景纹理干扰;此外,通过引入多样分支块模块,有效提升了推理速度。最后,在工业产品数据集上进行了实验,验证了本文方法具有更好的表面缺陷检测效果,在提取精度、完整性、准确性等方面均有显著提升。
Abstract: Surface defect detection of industrial products, as a key link in intelligent manufacturing, urgently needs to address challenges such as complex texture interference, coexistence of multi-scale defects, and high real-time requirements. To tackle these issues, this paper proposes a surface defect detection method based on a Dual Convolution-Bidirectional Feature Pyramid RT-DETR model (DBF-RTDETR), aiming to optimize performance for industrial surface defect detection scenarios. First, to enhance the model’s feature capture capability for micro-defects, a dual convolution module is designed. This module adopts a dual-branch parallel structure, which reduces computational complexity while strengthening the feature representation ability for tiny defects. Second, a bidirectional feature pyramid network is constructed, which suppresses uneven lighting and background texture interference through bidirectional cross-layer connections and multi-scale feature fusion. Additionally, by introducing the Diverse Branch Block (DBB) module, the inference speed is significantly improved. Finally, experiments on industrial product datasets demonstrate that the proposed method achieves superior surface defect detection performance, with significant improvements in detection precision, integrity, and accuracy.
文章引用:李建华, 段勇. DBF-RTDETR:基于DETR的工业产品表面缺陷检测[J]. 图像与信号处理, 2026, 15(1): 64-74. https://doi.org/10.12677/jisp.2026.151006

参考文献

[1] 邵延华, 张铎, 楚红雨, 等. 基于深度学习的YOLO目标检测综述[J]. 电子与信息学报, 2022, 44(10): 3697-3708.
[2] 宋智伟, 黄新波, 纪超, 等. 基于Flexible YOLOv7的输电线路绝缘子缺陷检测和故障预警方法[J]. 高电压技术, 2023, 49(12): 5084-5094.
[3] 李松, 史涛, 井方科. 改进YOLOv8的道路损伤检测算法[J]. 计算机工程与应用, 2023, 59(23): 165-174.
[4] Wang, H., Zhang, Y. and Wu, W. (2025) OHEH-RTDETR: An Improved RT-DETR Detection Model Based on Frequency Layered Processing and Advanced Feature Selection. Measurement Science and Technology, 36, Article 046211. [Google Scholar] [CrossRef
[5] 吴斌斌, 张礼华, 刘军伟, 等. 基于改进的EP-RTDETR小目标PCB表面缺陷检测[J]. 制造技术与机床, 2025(3): 139-148.
[6] Wang, S., Jiang, H., Li, Z., Yang, J., Ma, X., Chen, J., et al. (2024) PHSI-RTDETR: A Lightweight Infrared Small Target Detection Algorithm Based on UAV Aerial Photography. Drones, 8, Article 240. [Google Scholar] [CrossRef
[7] Bai, J., Jiang, T., Zou, Z., Wang, Y. and Xue, T. (2025) Detecting Object in Remote Sensing Image Based on Improved RT-DETR. International Journal of Pattern Recognition and Artificial Intelligence, 39, Article 2555011. [Google Scholar] [CrossRef
[8] 程哲宇. 基于改进RTDETR的FPC缺陷检测[D]: [硕士学位论文]. 南昌: 南昌工程学院, 2024.
[9] 周文骏, 黄硕, 张宁, 等. 基于MA-DETR的SAR图像飞机目标检测[J]. 光学精密工程, 2024, 32(18): 2814-2822.
[10] Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., et al. (2024) DETRS Beat Yolos on Real-Time Object Detection. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, 16-22 June 2024, 16965-16974. [Google Scholar] [CrossRef
[11] 韩慧健, 邢怀宇, 张云峰, 等. 基于Transformer多元注意力的钢材表面缺陷视觉检测[J]. 郑州大学学报(工学版), 2025, 46(5): 69-76.
[12] 秦伦明, 梅温泉, 崔昊杨, 等. 改进YOLOv8s的遥感图像目标检测算法[J]. 激光与光电子学进展, 2025, 62(10): 317-325.
[13] 雷志鹏, 彭川, 许子涵, 等. 基于改进Deformable DETR模型的多源局部放电识别方法及其应用[J]. 中国电机工程学报, 2024, 44(15): 6248-6261.
[14] Wang, S., Liu, M., Dong, S. and Chen, S. (2025) ERL‐RTDETR: A Lightweight Transformer‐Based Framework for High‐Accuracy Apple Disease Detection in Precision Agriculture. Concurrency and Computation: Practice and Experience, 37, e70276. [Google Scholar] [CrossRef
[15] Tian, F., Song, C. and Liu, X. (2025) Small Target Detection in Coal Mine Underground Based on Improved RTDETR Algorithm. Scientific Reports, 15, Article No. 12006. [Google Scholar] [CrossRef] [PubMed]
[16] Xie, Z. and Zou, X. (2024) MFAD-RTDETR: A Multi-Frequency Aggregate Diffusion Feature Flow Composite Model for Printed Circuit Board Defect Detection. Electronics, 13, 3557. [Google Scholar] [CrossRef
[17] Wang, Y., Wu, B., Zhang, L., Wang, Z., Liu, J., Dong, J., et al. (2025) Enhanced PCB Defect Detection via HSA-RTDETR on RT-DETR. Scientific Reports, 15, Article No. 31783. [Google Scholar] [CrossRef
[18] Li, B., Fang, J. and Zhao, Y. (2025) RTDETR-REFA: A Real-Time Detection Method for Multi-Breed Classification of Cattle. Journal of Real-Time Image Processing, 22, Article No. 38. [Google Scholar] [CrossRef
[19] Maulana, A.W., Wibowo, S.A., Sunarya, U., Rahmania, R. and Insani, A. (2024) Performance Improvement of YOLOV8-Rtdetr Method Based Retail Product Detection. Journal of Image and Graphics, 12, 292-301. [Google Scholar] [CrossRef
[20] 李宗刚, 宋秋凡, 杜亚江, 等. 基于改进DETR的机器人铆接缺陷检测方法研究[J]. 铁道科学与工程学报, 2024, 21(4): 1690-1700.