基于改进YOLOv8的轻量化火灾检测算法
Lightweight Fire Detection Algorithm Based on an Improved YOLOv8
DOI: 10.12677/csa.2024.149186, PDF,  被引量    科研立项经费支持
作者: 殷 波:贵州交通职业大学机械电子工程系,贵州 贵阳
关键词: 火灾检测YOLOv8轻量化共享卷积Fire Detection YOLOv8 Lightweight Shared Convolution
摘要: 本文提出了一种基于改进YOLOv8的轻量化火灾检测算法,旨在优化传统目标检测模型在火灾场景中的实时性和准确性,以满足复杂环境下的高效监测需求。针对YOLOv8算法在资源受限设备上的部署挑战,主要进行了以下两方面的创新工作:(1) 设计了FasterC2f模块,作为YOLOv8算法中C2f模块的有效替代。该模块通过创新的降维策略,对输入特征图进行高效处理,显著降低了模型的参数总量与计算复杂度。(2) 提出了一种轻量化的检测头架构——Lightweight Shared Convolutional Detection (LSCD),进一步提升模型的检测效率和精度。LSCD通过引入共享卷积机制,有效减少了检测头的参数量,同时增强了特征图之间的全局信息融合能力,确保了即使在复杂多变的火灾场景中也能维持较高的检测精度。实验结果表明,本文提出的算法在火灾检测任务上取得了优异的表现,不仅在模型体积和计算量上实现了显著轻量化,而且保持了与原版YOLOv8相当的甚至更高的检测精度。
Abstract: This paper presents a lightweight fire detection algorithm based on improved YOLOv8, aiming to optimize the real-time and accuracy of traditional target detection models in fire scenarios to meet the requirements of efficient monitoring performance in complex environments. In view of the deployment challenges of the YOLOv8 algorithm on resource-constrained devices, the following two innovative works are mainly carried out: (1) the FasterC2f module is designed as an effective alternative to the C2f module in the YOLOv8 algorithm. Through the innovative dimension reduction strategy, this module efficiently processes the input feature graph, which significantly reduces the total amount of parameters and the computational complexity of the model. (2) A lightweight detection head architecture called Lightweight Shared Convolutional Detection (LSCD) is proposed to further improve the detection efficiency and accuracy of the model. By introducing the shared convolution mechanism, LSCD effectively reduces the number of detection heads and enhances the global information fusion ability between feature graphs, ensuring that high detection accuracy can be maintained even in complex and variable fire scenarios. The experimental results show that the proposed algorithm achieves excellent performance in the fire detection task, not only achieving significant lightweight in model volume and computational quantity, but also maintaining even higher detection accuracy comparable to the original YOLOv8.
文章引用:殷波. 基于改进YOLOv8的轻量化火灾检测算法[J]. 计算机科学与应用, 2024, 14(9): 47-55. https://doi.org/10.12677/csa.2024.149186

参考文献

[1] 张思祥, 甘凯, 周围. 提高火灾烟雾传感器检测精度的方法[J]. 传感器与微系统, 2021, 40(1): 151-153.
[2] 程文彬, 杜磊, 刘依依. 无线多传感器数据融合的家庭火灾检测系统设计[J]. 电信科学, 2017, 33(9): 174-181.
[3] 袁斌. 基于图像处理技术的火灾识别方法的应用与研究[J]. 现代电子技术, 2018, 41(13): 43-46.
[4] 李先锋, 徐森, 花义明. 基于OpenCV计算机视觉的海事视频船舶火灾烟雾检测技术[J]. 舰船科学技术, 2021, 43(22): 202-204.
[5] 王一旭, 肖小玲, 王鹏飞, 等. 改进YOLOv5s的小目标烟雾火焰检测算法[J]. 计算机工程与应用, 2023, 59(1): 72-81.
[6] 蔡静, 张讚, 冉光金, 等. 基于改进YOLOv5s的火灾烟雾检测算法研究[J]. 智能计算机与应用, 2023, 13(5): 75-81.
[7] Bo, Y. (2023) A Fire Detection Algorithm Based on Improved YOLOv5. Fourth International Conference on Mechanical Engineering, Intelligent Manufacturing, and Automation Technology, Guilin, 20-22 October 2023, 130820R. [Google Scholar] [CrossRef
[8] Redmon, J., Divvala, S., Girshick, R. and Farhadi, A. (2016) You Only Look Once: Unified, Real-Time Object Detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 779-788. [Google Scholar] [CrossRef
[9] Yang, G., Wang, J., Nie, Z., Yang, H. and Yu, S. (2023) A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention. Agronomy, 13, Article 1824. [Google Scholar] [CrossRef
[10] Guo, A., Sun, K. and Zhang, Z. (2024) A Lightweight YOLOv8 Integrating Faster Net for Real-Time Underwater Object Detection. Journal of Real-Time Image Processing, 21, Article No. 49. [Google Scholar] [CrossRef
[11] Deng, L., Tan, Y., Zhou, J., Wu, S.-Q. and Liu, Q.-Y. (2024) YOLOv8-EMSC: A Lightweight Fire Recognition Algorithm for Large Spaces. Journal of Safety Science and Resilience, In Press. [Google Scholar] [CrossRef
[12] 马超伟, 张浩, 马新明, 等. 基于改进YOLOv8的轻量化小麦病害检测方法[J]. 农业工程学报, 2024, 40(5): 187-195.
[13] Chen, J., Kao, S., He, H., Zhuo, W., Wen, S., Lee, C., et al. (2023) Run, Don’t Walk: Chasing Higher FLOPS for Faster Neural Networks. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, 17-24 June 2023, 12021-12031. [Google Scholar] [CrossRef
[14] Wu, Y. and He, K. (2019) Group Normalization. International Journal of Computer Vision, 128, 742-755. [Google Scholar] [CrossRef
[15] Tian, Z., Shen, C., Chen, H. and He, T. (2020) FCOS: A Simple and Strong Anchor-Free Object Detector. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44, 1922-1933. [Google Scholar] [CrossRef] [PubMed]