An efficient model for real-time wildfire detection in complex scenarios based on multi-head attention mechanism

Xiaotian Wang,Zhongjie Pan,Hang Gao,Ningxin He,Tiegang Gao
DOI: https://doi.org/10.1007/s11554-023-01321-8
IF: 2.293
2023-06-04
Journal of Real-Time Image Processing
Abstract:Wildfire is a common natural disaster that destroys the ecological environment and endangers the lives and property of people. The average precision and speed of wildfire detection algorithms are critical in complex wildfire detection scenarios. However, the complex wildfire scenarios and multi-scale flaming objects decrease the detection accuracy of the model. How to design an accurate and fast wildfire detection model is a challenging study. To improve the average detection precision of the model while reducing its computational cost as much as possible, we propose an efficient model for real-time wildfire detection in complex scenarios called FireDetn. First, we use four different detection heads to help FireDetn detect different size flame objects. Then, we integrate Transformer Encoder blocks with multi-head attention in FireDetn to enhance its ability to capture global feature information and contextual information, thus improving its average precision in complex scenarios. Finally, we fuse the spatial pyramid pooling fast structure, which benefits in detecting multi-scale flame objects at a lower computational cost. Our experimental results show that the FireDetn can detect about 112 frames per second, meeting the requirement of real-time detection. We also compare FireDetn with other algorithms, demonstrating that FireDetn obtains satisfactory results in average precision and speed.
computer science, artificial intelligence,engineering, electrical & electronic,imaging science & photographic technology
What problem does this paper attempt to address?