A lightweight fire detection algorithm for small targets based on YOLOv5s

被引:2
|
作者
Changzhi Lv [1 ]
Haiyong Zhou [2 ]
Yu Chen [1 ]
Di Fan [3 ]
Fangyi Di [2 ]
机构
[1] Shandong University of Science and Technology,National Experimental Teaching Demonstration Center for Electrical Engineering and Electronics, College of Electrical Engineering and Automation
[2] Shandong University of Science and Technology,College of Electrical Engineering and Automation
[3] Shandong University of Science and Technology,College of Electronic Information Engineering
关键词
D O I
10.1038/s41598-024-64934-4
中图分类号
学科分类号
摘要
In response to the current challenges fire detection algorithms encounter, including low detection accuracy and limited recognition rates for small fire targets in complex environments, we present a lightweight fire detection algorithm based on an improved YOLOv5s. The introduction of the CoT (Contextual Transformer) structure into the backbone neural network, along with the creation of the novel CSP1_CoT (Cross stage partial 1_contextual transformer) module, has effectively reduced the model’s parameter count while simultaneously enhancing the feature extraction and fusion capabilities of the backbone network; The network’s Neck architecture has been extended by introducing a dedicated detection layer tailored for small targets and incorporating the SE (Squeeze-and-Excitation) attention mechanism. This augmentation, while minimizing parameter proliferation, has significantly bolstered the interaction of multi-feature information, resulting in an enhanced small target detection capability; The substitution of the original loss function with the Focal-EIoU (Focal-Efficient IoU) loss function has yielded a further improvement in the model’s convergence speed and precision; The experimental results indicate that the modified model achieves an mAP@.5 of 96% and an accuracy of 94.8%, marking improvements of 8.8% and 8.9%, respectively, over the original model. Furthermore, the model’s parameter count has been reduced by 1.1%, resulting in a compact model size of only 14.6MB. Additionally, the detection speed has reached 85 FPS (Frames Per Second), thus satisfying real-time detection requirements. This enhancement in precision and accuracy, while simultaneously meeting real-time and lightweight constraints, effectively caters to the demands of fire detection.
引用
收藏
相关论文
共 50 条
  • [1] A lightweight fire detection algorithm for small targets based on YOLOv5s
    Lv, Changzhi
    Zhou, Haiyong
    Chen, Yu
    Fan, Di
    Di, Fangyi
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [2] A lightweight algorithm for small traffic sign detection based on improved YOLOv5s
    Cai, Kunhui
    Yang, Jingmin
    Ren, Jinghui
    Zhang, Wenjie
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (05) : 4821 - 4829
  • [3] A Lightweight Traffic Sign Detection Algorithm Based on YOLOv5s
    Sun, Jiahao
    Liu, Zhengda
    Liang, Jifeng
    2024 3RD INTERNATIONAL CONFERENCE ON ROBOTICS, ARTIFICIAL INTELLIGENCE AND INTELLIGENT CONTROL, RAIIC 2024, 2024, : 358 - 362
  • [4] Improved YOLOv5s Small Target Smoke and Fire Detection Algorithm
    Wang, Yixu
    Xiao, Xiaoling
    Wang, Pengfei
    Xiang, Jiafu
    Computer Engineering and Applications, 2023, 59 (01) : 72 - 81
  • [5] Research on Lightweight Crested Ibis Detection Algorithm Based on YOLOv5s
    Zhang F.
    Zhang P.
    Wang L.
    Cao R.
    Wang X.
    Huang J.
    Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 2023, 57 (01): : 110 - 121
  • [6] Lightweight ship target detection algorithm based on improved YOLOv5s
    Qian L.
    Zheng Y.
    Cao J.
    Ma Y.
    Zhang Y.
    Liu X.
    Journal of Real-Time Image Processing, 2024, 21 (01)
  • [7] Lightweight Surface Litter Detection Algorithm Based on Improved YOLOv5s
    Chen, Zunliang
    Huang, Chengxu
    Duan, Lucheng
    Tan, Baohua
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 76 (01): : 1085 - 1102
  • [8] A Lightweight Crop Pest Detection Algorithm Based on Improved Yolov5s
    Zhang, Jing
    Wang, Jun
    Zhao, Maocheng
    AGRONOMY-BASEL, 2023, 13 (07):
  • [9] A lightweight ship target detection model based on improved YOLOv5s algorithm
    Zheng, Yuanzhou
    Zhang, Yuanfeng
    Qian, Long
    Zhang, Xinzhu
    Diao, Shitong
    Liu, Xinyu
    Cao, Jingxin
    Huang, Haichao
    PLOS ONE, 2023, 18 (04):
  • [10] Lightweight Traffic Sign Recognition and Detection Algorithm Based on Improved YOLOv5s
    Liu, Fei
    Zhong, Yanfen
    Qiu, Jiawei
    LASER & OPTOELECTRONICS PROGRESS, 2024, 61 (24)