Open Access iconOpen Access

ARTICLE

crossmark

Fire Detection Algorithm Based on an Improved Strategy of YOLOv5 and Flame Threshold Segmentation

Yuchen Zhao, Shulei Wu*, Yaoru Wang, Huandong Chen*, Xianyao Zhang, Hongwei Zhao

School of Information Science and Technology, Hainan Normal University, Haikou, 571158, China

* Corresponding Author: Shulei Wu. Email: email; Wang Yaoru. Email:

Computers, Materials & Continua 2023, 75(3), 5639-5657. https://doi.org/10.32604/cmc.2023.037829

Abstract

Due to the rapid growth and spread of fire, it poses a major threat to human life and property. Timely use of fire detection technology can reduce disaster losses. The traditional threshold segmentation method is unstable, and the flame recognition methods of deep learning require a large amount of labeled data for training. In order to solve these problems, this paper proposes a new method combining You Only Look Once version 5 (YOLOv5) network model and improved flame segmentation algorithm. On the basis of the traditional color space threshold segmentation method, the original segmentation threshold is replaced by the proportion threshold, and the characteristic information of the flame is maximally retained. In the YOLOv5 network model, the training module is set by combining the ideas of Bootstrapping and cross validation, and the data distribution of YOLOv5 network training is adjusted. At the same time, the feature information after segmentation is added to the data set. Different from the training method that uses large-scale data sets for model training, the proposed method trains the model on the basis of a small data set, and achieves better model detection results, and the detection accuracy of the model in the validation set reaches 0.96. Experimental results show that the proposed method can detect flame features with faster speed and higher accuracy compared with the original method.

Keywords


Cite This Article

APA Style
Zhao, Y., Wu, S., Wang, Y., Chen, H., Zhang, X. et al. (2023). Fire detection algorithm based on an improved strategy of yolov5 and flame threshold segmentation. Computers, Materials & Continua, 75(3), 5639-5657. https://doi.org/10.32604/cmc.2023.037829
Vancouver Style
Zhao Y, Wu S, Wang Y, Chen H, Zhang X, Zhao H. Fire detection algorithm based on an improved strategy of yolov5 and flame threshold segmentation. Comput Mater Contin. 2023;75(3):5639-5657 https://doi.org/10.32604/cmc.2023.037829
IEEE Style
Y. Zhao, S. Wu, Y. Wang, H. Chen, X. Zhang, and H. Zhao, “Fire Detection Algorithm Based on an Improved Strategy of YOLOv5 and Flame Threshold Segmentation,” Comput. Mater. Contin., vol. 75, no. 3, pp. 5639-5657, 2023. https://doi.org/10.32604/cmc.2023.037829



cc Copyright © 2023 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1161

    View

  • 852

    Download

  • 0

    Like

Share Link