Rivets are often used to connect different metal parts or structures in the industrial field, and some serious safety problems may occur once assembly errors or missing installation occur. In order to solve the above problems, a LRD-DETR (Limited Ranged-Deformable-DETR) model for detecting rivet is proposed. After feature extraction in the feature extraction network, a multi-scale fusion module DSPANet is added to enhance the semantic information of feature maps. A range-limiting deformable attention mechanism is designed in the encoder, which limits the sampling range of each reference point. The DAB-DETR is used in the decoder; and based on it, a new MLP module is designed to update the 4D anchor frame information every time. The experimental results showed that the model in the self-built rivet dataset achieved a satisfactory result of 59.2% mAP value, which was better than prevailing target detection algorithms.
WANG Weizhi
,
HU Haiyang
,
GU Pan
,
CUI Gaobin
,
LI Zhenghua
,
LI Yuan
. A rivet detection method combining multi-scale information with limited range deformable attentions[J]. Journal of Hangzhou Dianzi University, 2025
, 45(4)
: 42
-50
.
DOI: 10.13954/j.cnki.hdu.2025.04.005
[1]刘颖,刘红燕,范九伦,等. 基于深度学习的小目标检测研究与应用综述[J].电子学报, 2020, 48 (3):590-601.
[2]ALPAYDIN E, KAYNAK C. Cascading classifiers[J]. Kybernetika, 1998, 34(4): 369-374.
[3]DALAL N, TRIGGS B. Histograms of oriented gradients for human detection[C]//2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05). June 20-25, 2005, San Diego, CA, USA. IEEE, 2005: 886-893.
[4]LOWE D G .Distinctive Image Features from Scale-Invariant Keypoints[J].International Journal of Computer Vision, 2004, 60(2):91-110.
[5]GIRSHICK R, DONAHUE J, DARRELL T, et al. Rich feature hierarchies for accurate object detection and semantic segmentation[C]//2014 IEEE Conference on Computer Vision and Pattern Recognition. June 23-28, 2014, Columbus, OH, USA. IEEE, 2014: 580-587.
[6]GIRSHICK R. Fast R-CNN[C]//2015 IEEE International Conference on Computer Vision (ICCV). December 7-13, 2015, Santiago, Chile. IEEE, 2015: 1440-1448.
[7]REN S Q, HE K U, GIRSHICK R, et al. Faster R-CNN: Towards real-time object detection with region proposal networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39(6): 1137-1149.
[8]REDMON J, DIVVALA S, GIRSHICK R, et al. You only look once: unified, real-time object detection[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). June 27-30, 2016, Las Vegas, NV, USA. IEEE, 2016: 779-788.
[9]LIU W, ANGUELOV D, ERHAN D, et al. SSD: single shot MultiBox detector[C]//Computer Vision-ECCV 2016. Cham: Springer International Publishing, 2016: 21-37.
[10]LAW H, DENG J. Cornernet: Detecting objects as paired keypoints[C]//Proceedings of the European conference on computer vision (ECCV). Cham: Springer, 2018: 765-781.
[11]VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[EB/OL]. (2023-08-02)[2025-03-04]. https://arxiv.org/abs/1706.03762.
[12]LIU Z, LIN Y T, CAO Y, et al. Swin transformer: hierarchical vision transformer using shifted windows[C]//2021 IEEE/CVF International Conference on Computer Vision (ICCV). October 10-17, 2021, Montreal, QC, Canada. IEEE, 2021: 9992-10002.
[13]CARION N, MASSA F, SYNNAEVE G, et al. End-to-end object detection with transformers[C]//Computer Vision-ECCV 2020. Cham: Springer International Publishing, 2020: 213-229.
[14]ZHU X, SU W, LU L, et al. Deformable DETR: Deformable Transformers for End-to-End Object Detection[EB/OL]. (2021-03-18)[2025-03-04]. https://arxiv.org/abs/2010.04159.
[15]LIU S, LI F, ZHANG H, et al. DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR[EB/OL]. (2022-03-30)[2025-03-04]. https://arxiv.org/abs/2201.12329.
[16]ZHAO Y, LV W, XU S, et al. DETRs Beat YOLOs on Real-time Object Detection[EB/OL]. (2024-04-03)[2025-03-04]. https://arxiv.org/abs/2304.08069.
[17]HE K M, ZHANG X Y, REN S Q, et al. Deep residual learning for image recognition[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). June 27-30, 2016, Las Vegas, NV, USA. IEEE, 2016: 770-778.
[18]LIU S, QI L, QIN H F, et al. Path aggregation network for instance segmentation[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. June 18-23, 2018, Salt Lake City, UT, USA. IEEE, 2018: 8759-8768.
[19]MENG D P, CHEN X K, FAN Z J, et al. Conditional DETR for fast training convergence[C]//2021 IEEE/CVF International Conference on Computer Vision (ICCV). October 10-17, 2021, Montreal, QC, Canada. IEEE, 2021: 3631-3640.
[20]BA J L, KIROS J R, HINTON G E. Layer normalization[EB/OL].(2016-07-21)[2025-03-04]. https://arxiv.org/abs/1607.06450.
[21]XU J, LI Z, DU B, et al. Reluplex made more practical: Leaky ReLU[C]//2020 IEEE Symposium on computers and communications (ISCC). IEEE, 2020: 1-7.