主管:中华人民共和国应急管理部
主办:应急管理部天津消防研究所
ISSN 1009-0029  CN 12-1311/TU

Fire Science and Technology ›› 2023, Vol. 42 ›› Issue (2): 253-257.

Previous Articles     Next Articles

Research on fire recognition technology of tunnel video based on self-attention

Shen Hongxiang1, Ni Shuangjing2   

  1. (1. Hangzhou Urban Construction Fire Protection Center (Hangzhou Urban Construction Information Center), Zhejiang Hangzhou 310000, China; 2. Zhejiang Institute of Mechanical & Electrical Engineering, Zhejiang Hangzhou 310051, China)
  • Online:2023-02-15 Published:2023-02-17

Abstract: In view of the problem that the sample size of highway tunnel fire is small and the deep learning effect is not ideal, a small sample learning technology is studied to improve the full utilization of tunnel fire samples, and on this basis, a fire recognition technology of tunnel video based on self attention is proposed by using mature machine learning methods. The technology uses self-attention mechanism combined with SVM classifier to build a flame recognition model. According to the importance of each feature to flame recognition, the model assigns different attention weights to form the attention matrix, and weights the weight matrix with the value of the feature vector.Hinge Loss of SVM is used for linear support vector machine classification, so as to identify and warn highway tunnel fire.In the process of fire recognition training, through testing the flame suspected area, and use the data to enhance technology to achieve the purpose of the sample amplification, then the multi-modal fusion way of feature extraction was used to construct characteristic vector and input to the self-attention flame recognition model. Through the gradient descent optimizer, small batch model training is conducted, to reduce the number of iterations, Finally, the optimal feature weight parameters and the best recognition model are obtained. The experimental results show that the method converges faster during model training, and in flame identification, compared with the traditional SVM algorithm without small sample learning, the proposed method improves the accuracy by 5% in flame recognition, and can effectively improve the accuracy of fire recognition in a small sample environment.

Key words: tunnel video, video flame identification, small sample learning, self-attention mechanism, the SVM algorithm