基于改进YOLOv5s的森林烟火检测算法
Forest Smoke and Fire Detection Algorithm Based on Improved YOLOv5s
摘要: 为了解决传统火焰烟雾检测算法在光照条件恶劣和山林云雾影响的条件下存在漏检误检、准确性下降的缺陷,提出了一种基于YOLOv5s目标检测框架的森林烟火检测算法。首先,针对火焰烟雾目标特征复杂的问题,在C3模块中融合Res2Net,增强了网络在不同尺度下的特征表示能力。然后,在主干检测网络加入SE注意力模块,达到抑制干扰信息,提升模型表征能力的效果。最后,通过集成GIOU优化损失函数,进一步提高了检测精度。改进后的的算法相比于传统算法,mAP50值提高了1.8%,P值提高了0.9%,R值提高了0.6%。
Abstract: In order to solve the defects of traditional flame smoke detection algorithms in terms of leakage and misdetection and accuracy degradation under the conditions of poor lighting conditions and the influence of clouds and fog in mountain forests, a forest smoke and fire detection algorithm based on the YOLOv5 target detection framework is proposed. Firstly, to address the problem of complex features of flame smoke targets, Res2Net is fused in the C3 module, which enhances the feature representation ability of the network at different scales. Then, the SE attention module is added to the backbone detection network to achieve the effect of suppressing the interference information and enhancing the model representation ability. Finally, the detection accuracy is further improved by integrating GIOU to optimize the loss function. The improved algorithm continues to improve the mAP50 value by 1.8%, the P value by 0.9%, and the R value by 0.6% compared with the traditional algorithm.
文章引用:冯艳玲, 韩毓莹, 余智美, 朱珉慧, 朱雨荷, 孙庆华. 基于改进YOLOv5s的森林烟火检测算法[J]. 计算机科学与应用, 2024, 14(4): 290-297. https://doi.org/10.12677/csa.2024.144098

参考文献

[1] 许嘉庆. 基于智慧林业的森林防火方案研究[J]. 林业勘查设计, 2021, 50(6): 39-41.
[2] Zheng, X., et al. (2022) Real-Time Detection of Full-Scale Forest Fire Smoke Based on Deep Convolution Neural Network. Remote Sensing, 14, Article 536. [Google Scholar] [CrossRef
[3] Ren, S.Q., et al. (2015) Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In: Cortes, C., Lawrence, N., Lee, D., Sugiyama, M. and Garnett, R., Eds., Advances in Neural Information Processing Systems 28, 7-12 December 2015, Montreal.
[4] Tan, M.X., Pang, R.M. and Le, Q.V. (2020) Efficientdet: Scalable and Efficient Object Detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, 13-19 June 2020, 10778-10787. [Google Scholar] [CrossRef
[5] Redmon, J. and Ali, F. (2018) Yolov3: An Incremental Improvement. arXiv preprint arXiv:1804.02767.
[6] Liu, W., et al. (2016) SSD: Single Shot Multibox Detector. In: Leibe, B., Matas, J., Sebe, N. and Welling, M., Eds., European Conference on Computer Vision, Springer, Cham, 21-37. [Google Scholar] [CrossRef
[7] 谢书翰, 张文柱, 程鹏, 等. 嵌入通道注意力的YOLOv4火灾烟雾检测模型[J]. 液晶与显示, 2021, 36(10): 1445-1453.
[8] Treneska, S. and Risteska Stojkoska, B. (2021) Wildfire Detection from UAV Collected Images Using Transfer Learning. 18th International Conference on Informatics and Information Technologies, Skopje, North Macedonia.
[9] Jiao, Z., et al. (2019) A Deep Learning Based Forest Fire Detection Approach Using UAV and YOLOv3. 2019 1st International Conference on Industrial Artificial Intelligence (IAI), Shenyang, 23-27 July 2019, 1-5. [Google Scholar] [CrossRef
[10] Gao, S.H., Cheng, M.-M., Zhao, K., et al. (2019) Res2Net: A New Multi-Scale Backbone Architecture. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43, 652-662.
[11] Hu, J., Shen, L. and Sun, G. (2017) Squeeze-and-Excitation Networks. arXiv preprint, arXiv:1709.01507.
[12] 武慧, 杨玉竹, 卜显峰, 等. 基于改进YOLOv5的城市火灾检测算法研究[J/OL]. 无线电工程: 1-10
http://kns.cnki.net/kcms/detail/13.1097.TN.20240111.1703.006.html, 2024-03-20.
[13] 肖蕾, 蓝宗苗. 基于注意力机制的污水微型动物识别方法[J]. 激光与光电子学进展, 2023, 60(2): 249-256.
[14] 陈富荣, 刘俊, 潘德伟. 基于改进YOLOv5s的造船起重机壁面缺陷检测算法[J]. 上海电机学院学报, 2023, 26(6): 344-349.
[15] Philharmy-Wang (2024) M4SFWD. GitHub.
https://github.com/Philharmy-Wang/M4SFWD/
[16] Woo, S., Park, J., Lee, J.-Y. and Kweon, I.S. (2018). CBAM: Convolutional Block Attention Module. Proceedings of the European Conference on Computer Vision (ECCV), Tel Aviv, 23-27 October 2022, 3-19.[CrossRef
[17] Liu, B., Jiang, Z., He, R. and Sun, Z. (2021) Coordinate Attention for Efficient Mobile Network Design. arXivpreprintarXiv:2106.03186.
[18] Zhang, Q., Wu, Y., Xie, L. and Lin, L. (2021) Efficient Multi-Scale Attention Module with Cross-Spatial Learning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, 18-24 June 2022, 8977-8986.