首页|期刊导航|燕山大学学报|基于改进YOLOv8的城市火灾检测算法

基于改进YOLOv8的城市火灾检测算法OA

City fire detection algorithm based on improved YOLOv8

中文摘要英文摘要

针对传统火灾检测算法在面对城市复杂背景时存在检测精度低、误检率高等问题,本文提出了一种基于改进 YOLOv8 的城市火灾检测算法.首先,以 YOLOv8 目标检测模型为基础,在颈部网络中引入双向特征金字塔网络结构替换原有的路径聚合网络-特征金字塔网络特征融合层,融合多尺度特征信息,增强模型特征学习能力;其次,在双向特征金字塔网络中融入高效多尺度注意力机制,提升网络特征提取能力,进一步提高模型烟火检测精度;最后,在主干网络中引入部分卷积模块,将主干网络中的 C2f 模块替换为 C2f-Faster 模块,提升模型的检测效率,减少模型冗余计算.在自建的烟火数据集上对改进算法进行实验,实验结果表明,改进后的模型相较于原模型 mAP@50 达到了 73.6%,参数量减少了 8.99%,模型的计算量降低至 7.7 GFLOPs,在提升检测精度的同时,实现了模型轻量化,能够满足城市复杂背景下的烟火检测需求.

In view of the fact that the traditional fire detection algorithm has low detection accuracy and high false detection rate in complex urban backgrounds,a city fire detection algorithm based on improved YOLOv8 is proposed.Firstly,based on the YOLOv8 object detection model,within the neck network,the Bi-directional Feature Pyramid Network structure is introduced to replace the Path Aggregation Network-Feature Pyramid Network feature fusion layer,fusing multi-scale feature information and enhancing the model's feature learning ability.Secondly,the Efficient Multi Scale Attention mechanism is integrated into the BiFPN to improve the network's feature extraction capability and further enhance the accuracy of smoke and fire detection.Finally,the partial convolution module is introduced into the backbone network to replace the C2f module with the C2f-Faster module,improving the detection efficiency of the model and reducing redundant calculations.The improved algorithm is applied to a self-compiled dataset of smoke and fire for experimentation.The result demonstrates that the improved model achieved a mAP@50 of 73.6%compared to the original model,reduced the number of parameters by 8.99%,and reduced the computational complexity to 7.7 GFLOPs.While enhancing the detection accuracy,the model has been lightweight.The improved model can meet the requirements of smoke and fire detection in complex urban backgrounds.

苏连成;贾潇彬;丁伟利

燕山大学 电气工程学院,河北 秦皇岛 066004燕山大学 电气工程学院,河北 秦皇岛 066004燕山大学 电气工程学院,河北 秦皇岛 066004

信息技术与安全科学

烟火检测YOLOv8多尺度融合EMA轻量化

fire detectionYOLOv8multi-scale fusionEMAlightweight

《燕山大学学报》 2026 (2)

112-120,9

河北省自然科学基金资助项目(F2024203051)广西科技重大专项项目(桂科AA22067064)

10.3969/j.issn.1007-791X.2026.02.002

评论