Fires constitute a significant risk to public safety and property, making early and accurate detection essential for an effective response and damage mitigation. Traditional fire detection methods have limitations in terms of accuracy and adaptability, particularly in complex environments in which various fire stages (such as smoke and active flames) need to be distinguished. This study addresses the critical need for a comprehensive fire detection system capable of multistage classification, differentiating between non-fire, smoke, apartment fires, and forest fires. We propose a deep learning-based model using a customized DenseNet201 architecture that integrates various preprocessing steps and explainable AI techniques, such as Grad-CAM++ and SmoothGrad, to enhance transparency and interpretability. Our model was trained and tested on a diverse, multisource dataset, achieving an accuracy of 97%, along with high precision and recall. The comparative results demonstrate the superiority of the proposed model over other baseline models for handling multistage fire detection. This research provides a significant advancement toward more reliable, interpretable, and effective fire detection systems capable of adapting to different environments and fire types, opening new possibilities for environmentally friendly fire type detection, ultimately enhancing public safety and enabling faster, targeted emergency responses.
Read full abstract