Cigarette defect detection algorithm based on attention mechanism and multi-gradient feature fusion

被引:0
|
作者
Weiya Shi [1 ]
Shiqiang Zhang [2 ]
Shaowen Zhang [3 ]
机构
[1] Henan University of Technology,Key Laboratory of Grain Information Processing and Control
[2] Ministry of Education,Henan Key Laboratory of Grain Photoelectric Detection and Control
[3] Henan University of Technology,College of Artificial Intelligence and Big Data
[4] Henan University of Technology,College of Information Science and Engineering
[5] Henan University of Technology,undefined
关键词
YOLOX; Defect detection; Attention mechanism; Feature interaction;
D O I
10.1007/s00138-025-01681-0
中图分类号
学科分类号
摘要
Surface defect detection remains a persistent and challenging task. Aiming at the detection of surface defects in cigarettes, we propose an enhanced YOLOX-S model. Firstly, an improved attention mechanism named MS-GCT (Multi-Spectral Gaussian Context Transformer) is introduced into the model’s backbone to enhance the model’s ability of capturing the global context information within images and improve its comprehension of semantic feature information; secondly, we propose the DMG (Dynamic convolution and MS-GCT) module, and combined with the C2f (CSPLayer with 2 convolutions) module to construct the C2f-DMG module,which is introduced into the model to enhance feature interaction and feature extraction ability, to strengthen long-distance dependency ability of global features; finally, we replace the loss function with SIoU to enhance model performance and accelerate model convergence. To validate the effectiveness of our model, we conduct experiments on both the self-made cigarette dataset and the public dataset. The experimental results indicate that the improved model not only ensures the lightweight of the model, but also boosts the model’s mAP by 2.02, while achieving a detection speed of 73.17 frames−1. Furthermore, the proposed algorithm fulfills the real-time detection requirements for cigarette appearance defects.
引用
下载
收藏
相关论文
共 50 条
  • [41] Research on flame detection algorithm based on multi - feature fusion
    Wang, Xipeng
    Li, Yong
    Li, Zhi
    PROCEEDINGS OF 2020 IEEE 4TH INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC 2020), 2020, : 184 - 189
  • [42] Remote Sensing Object Detection Method Based on Attention Mechanism and Multi-scale Feature Fusion
    Liu, Yang
    Xiao, Yewei
    2022 41ST CHINESE CONTROL CONFERENCE (CCC), 2022, : 7155 - 7160
  • [43] Pin-missing defect recognition based on feature fusion and spatial attention mechanism
    He, Hui
    Li, Yuchen
    Yang, Jing
    Wang, Zeli
    Chen, Bo
    Jiao, Runhai
    ENERGY REPORTS, 2022, 8 : 656 - 663
  • [44] An innovative algorithm combining attention mechanism and feature fusion for circulating tumor cells detection
    Chen, Mingcan
    Li, Xiaolei
    Xu, Jingjing
    Liu, Wanyu
    2022 16TH IEEE INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING (ICSP2022), VOL 1, 2022, : 416 - 419
  • [45] Weighted feature fusion and attention mechanism for object detection
    Cheng, Yanhao
    Liu, Weibin
    Xing, Weiwei
    JOURNAL OF ELECTRONIC IMAGING, 2021, 30 (02)
  • [46] Defect detection algorithm based on gradient and multi-threshold optimization
    Gao, Yin
    Li, Jun
    2015 IEEE INTERNATIONAL CONFERENCE ON INFORMATION AND AUTOMATION, 2015, : 1393 - 1396
  • [47] UAV multi-target tracking algorithm based on attention feature fusion
    Liu F.
    Pu Z.-H.
    Zhang S.-C.
    Kongzhi yu Juece/Control and Decision, 2023, 38 (02): : 345 - 353
  • [48] Pedestrian Multi-object Tracking Algorithm Based on Attention Feature Fusion
    Zhou, Yan
    Du, Zhennan
    Wang, Dongli
    ADVANCES IN COMPUTATIONAL INTELLIGENCE, IWANN 2023, PT I, 2023, 14134 : 105 - 118
  • [49] A multi-stage feature fusion defogging network based on the attention mechanism
    Yuqin Song
    Jitao Zhao
    Chunliang Shang
    The Journal of Supercomputing, 2024, 80 (4) : 4577 - 4599
  • [50] Residual attention mechanism and weighted feature fusion for multi-scale object detection
    Zhang, Jie
    Qi, Qiye
    Zhang, Huanlong
    Du, Qifan
    Wang, Fengxian
    Shi, Xiaoping
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (26) : 40873 - 40889