###
计算机系统应用英文版:2022,31(4):143-153
本文二维码信息
码上扫一扫!
改进YOLOv3的火灾检测
(西安理工大学 自动化与信息工程学院, 西安 710048)
Fire Detection Based on Improve YOLOv3
(School of Automation and Information Engineering, Xi’an University of Technology, Xi’an 710048, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 728次   下载 1382
Received:June 22, 2021    Revised:July 14, 2021
中文摘要: 针对火灾检测中小目标检测率低、复杂场景下检测精度低和检测不及时等问题, 提出了一种改进YOLOv3的火灾检测算法. 首先, 通过改进的K-means聚类算法重新获取更符合火焰和烟雾尺寸的anchor; 其次在Darknet-53后添加空间金字塔池化, 提升了网络的感受野进而增强了网络对小尺度目标的检测能力; 然后通过CIoU改进损失函数, 在计算坐标误差时考虑中心和宽高坐标两者的相关性, 加快了损失函数的收敛; 最后使用mosaic数据增强丰富了待检测物体的背景. 在自制的数据集上训练并测试, 实验结果表明: 改进后的算法比YOLOv3火焰的AP从94%提升至98%, 烟雾的AP从82%提升至94%, 平均检测速度从31 fps提升至43 fps, 相比Faster R-CNN、SDD等算法也有更高的mAP和更快的检测速度. 因此, 改进后的算法能够更有效地进行火灾预警.
Abstract:Given the low detection rates of small targets, low detection accuracy in complex scenes, and delayed detection in fire detection, an improved You Look Only Once v3 (YOLOv3)-based fire detection algorithm is proposed. Firstly, an improved K-means clustering algorithm is used to retrieve anchors that are more in line with the sizes of the flames and smoke. Secondly, spatial pyramid pooling is added after the Darknet-53, which improves the network receptive field and enhances the detection ability of the network on small-scale targets. Thirdly, the loss function is improved through complete intersection over union (CIoU), and the convergence of the loss function is sped up by taking into consideration the correlations of the center with the width and height coordinates when calculating the coordinate error. Finally, mosaic data enhancement is employed to enrich the background of the object to be detected, and the improved algorithm is trained and tested on a self-made data set. The experimental results show that compared with the YOLOv3 algorithm, the improved algorithm improves the flame AP from 94% to 98%, increases the smoke AP from 82% to 94%, and promotes the average detection speed from 31 fps to 43 fps. Compared with the Faster R-CNN, SDD , and other algorithms, it also has a higher mAP and a faster detection speed. Therefore, the improved algorithm is more effective in fire warning.
文章编号:     中图分类号:    文献标志码:
基金项目:陕西省科技计划重点项目(2017ZDCXL-GY-05-03)
引用文本:
王林,赵红.改进YOLOv3的火灾检测.计算机系统应用,2022,31(4):143-153
WANG Lin,ZHAO Hong.Fire Detection Based on Improve YOLOv3.COMPUTER SYSTEMS APPLICATIONS,2022,31(4):143-153