Innovative YOLOv5s-Based Algorithm for Real-Time Tunnel Fire Detection
DOI:
https://doi.org/10.62051/ijcsit.v3n2.07Keywords:
Lightweight networks, Tunnel fire detection, Yolov5, CA attention mechanismAbstract
Aiming at the special characteristics of tunnel spatial environment and the problems of confusing smoke and fire in tunnel fires with high real-time detection requirements, an improved algorithm for tunnel smoke and fire detection based on YOLOv5s is proposed. The Focus module is replaced by a convolutional layer, the number of convolutions in B_CSP is reduced, and the spatial pyramid pooling structure SPP is replaced by SPPF, which reduces the number of parameters in the network and improves the detection efficiency of the model. In order to better optimize the anchoring frame, the dynamic, non-monotonically focused Wise-IOU bounding box loss function is used to replace the GIOU, which speeds up the convergence of the network and improves the accuracy of network detection. The CA attention mechanism is incorporated at the end of the Backbone layer to dynamically adjust the importance between channels, which enables the model to better capture the flame features in the image and improve the model performance. The experiments use 2050 tunnel smoke and fire datasets as training samples, and the experimental results show that the accuracy of the improved model on the dataset is increased by 3.2 percentage points, and the network model can achieve 98.9% precision and 95.1% recall as well as 99.2% average precision by testing the network model on the dataset, and the detection speed is increased to 148 FPS. It can meet the real-time prevention and detection of tunnel fire in daytime, nighttime or poor vision, and has good accuracy and robustness.
Downloads
References
2020 statistical bulletin on the development of the Transportation industry [J]. Finance & Accounting for Transport, 2021(6): 92-97.
Khan S, Muhammad K, Hussain T, et al. Deepsmoke: Deep learning model for smoke detection and segmentation in outdoor environments [J]. Expert Systems with Applications, 2021, 182: 115125.
Tan M, Le Q. Efficientnet: Rethinking model scaling for convolutional neural networks[C]//International conference on machine learning. PMLR, 2019: 6105-6114.
Chen L C, Zhu Y, Papandreou G, et al. Encoder-decoder with atrous separable convolution for semantic image segmentation [C]//Proceedings of the European conference on computer vision (ECCV). 2018: 801-818.
Pan J, Ou X, Xu L. A collaborative region detection and grading framework for forest fire smoke using weakly supervised fine segmentation and lightweight faster-RCNN [J]. Forests, 2021, 12(6): 768.
Lin G, Zhang Y, Xu G, et al. Smoke detection on video sequences using 3D convolutional neural networks [J]. Fire Technology, 2019, 55: 1827-1847.
Ren S, He K, Girshick R, et al. Faster r-cnn: Towards real-time object detection with region proposal networks [J]. Advances in neural information processing systems, 2015, 28.
Tran D, Bourdev L, Fergus R, et al. Learning spatiotemporal features with 3d convolutional networks [C]//Proceedings of the IEEE international conference on computer vision. 2015: 4489-4497.
Park M J, Ko B C. Two-step real-time night-time fire detection in an urban environment using Static ELASTIC-YOLOv3 and Temporal Fire-Tube [J]. Sensors, 2020, 20(8): 2202.
Wang Y, Hua C, Ding W, et al. Real-time detection of flame and smoke using an improved YOLOv4 network [J]. Signal, Image and Video Processing, 2022, 16(4): 1109-1116.
Bochkovskiy A, Wang C Y, Liao H Y M. Yolov4: Optimal speed and accuracy of object detection [J]. arXiv preprint arXiv:2004.10934, 2020.
Jocher G, Chaurasia A, Stoken A, et al. ultralytics/yolov5: v6. 2-yolov5 classification models, apple m1, reproducibility, clearml and deci. ai integrations [J]. Zenodo, 2022.
Ge Z, Liu S, Wang F, et al. Yolox: Exceeding yolo series in 2021 [J]. arXiv preprint arXiv:2107.08430, 2021.
Tang H, Liang S, Yao D, et al. A visual defect detection for optics lens based on the YOLOv5-C3CA-SPPF network model [J]. Optics Express, 2023, 31(2): 2628-2643.
NIU Z Y, ZHONG G Q, YU H.Areview on the attention mechanism of deep learning [J]. Neurocomputing, 2021, 452: 48-62.
Cai M, Xu Q, Chen C, et al. Formation control with lane preference for connected and automated vehicles in multi-lane scenarios [J]. Transportation research part C: emerging technologies, 2022, 136: 103513.
Hou Q, Zhou D, Feng J. Coordinate attention for efficient mobile network design [C]//Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2021: 13713-13722.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







