Fire Detection Using Deep Convolution Neural Netwo
Fire Detection Using Deep Convolution Neural Netwo
1. Introduction
A variety of sensors has been developed for various applications, like diagnosis of
diseases, navigation monitoring, abnormality detection, suspicious behavior detection,
fire detection [1] and so on.Using smart video surveillance systems, a variety of
abnormalities [2] like fire, smoke, fog can be easily detected. In recent days, the
Amazon Forest fire has damaged the great diversity of our lives. In order to deal with
these disasters, these abnormalities should be dealt with in earlier stages and detected
to avoid dangers. Abnormality detection [3,4] has now become a great challenge.
In earlier days, Fire [6] could be detected in two ways: using traditional alarm
systems and sensor assisted systems. The traditional security [7] devices rely on
thermal and visual detectors. The traditional alarm system needs a human interface to
check if the fire is present and needs close monitoring. To address the limitations of
traditional systems, the sensor-based system has been developed in order for faster
response. The sensor-based systems, however, don’t need human interface and they
provide additional details about the location and severity of fire. But it failed in the
case of poor lighting and low-quality frames.
1
P.M.Ashokkumar, Department of Computer Science and Engineering, Koneru Lakashmaiah Education
Foundation, Vaddeswaram, India. Email: [email protected]
P.M. Ashok Kumar et al. / Fire Detection Using Deep Convolution Neural Network 395
2. Related Works
3. Proposed Work
Earlier approaches of fire detection systems such as the YUV model based on spatial
and temporal wavelet transform for categorization into fire and non-fire. These color
models were only used for static fires. In subsequent phases, multi-wavelet analysis
was used to improve the threshold in the RGB color model, lowering the false alarm
rates. The SVM classifier predicts fire video streams at the expense of increased
computational complexity. In order to overcome the mentioned drawbacks, the CNN
model has been induced in scene for efficient fire detection. The architecture diagram
for the proposed work is shown in Figure 1.
396 P.M. Ashok Kumar et al. / Fire Detection Using Deep Convolution Neural Network
Figure 1. Fire localization using proposed Deep CNN Figure 2 Classification of fire frames
and labeling
The proposed CNN model uses different filters in the convolution layer and pooling
layer to produce different compact feature maps. We use the Squeeze net model for
evaluation of the confidence percentage of the fire. The Squeeze Net is known for its
accuracy and low computational power. It gives more accurate results when compared
to other training models. It down samples the input channels so that the convolution
layer has larger activation maps. Fire modules are the building blocks of the Squeeze
Net model. It has two layers that pinch and expand.A Squeeze net is comprised of a
stack of fire modules and a few pooling layers. The feature maps in the squeeze and
expanded layers are the same size. The squeeze layer decreases depth while the
expanded layer raises it.
The squeeze net model architecture has been trained with around 1000 classes. But
in the proposed method, only two classes are needed. Thus, only two classes, fire and
normal, are considered. The architecture consists of a convolution layer followed by
max-pooling. The input of fire modules is of size 224*224*3. Every fire system has
two convolutions, one for squeezing and one for development. There is a max pooling
layer after the first fire alarm modules. After the last fire module, the model is modified
accordingly to obtain two classes. A transfer learning strategy has been used for
training the Squeeze Net model. Thus, accuracy was increased to 5 percent more than
previously. The model was trained for 10 epochs and an accuracy of around 98 percent
has been achieved. Transfer learning is employed to solve computational problems
efficiently.
Deep CNN models automatically learn powerful features from datasets. Another
motivator is elimination of preprocessing and pattern discovery, both of which are
required by fire hazard detection. The frames are trained based on two classes: fire and
P.M. Ashok Kumar et al. / Fire Detection Using Deep Convolution Neural Network 397
normal. If the frames are non-fire, then, no further process is required. If the frame is
classified as fire, then further feature extraction is done, followed by binarization.The
classifications are allocated based on the network's probability ratings. The higher the
likelihood score, the higher the input image's final class value. Figure 2 depicts a
succession of images with classifications.
The intermediate layers are useful in understanding how successive CNN layers
transform their input when moving from one layer to another layer. The feature maps
are called activations. The feature maps help in understanding the neural network, how
the network is trained and how the input is decomposed by each layer.
The features are assessed using the feature map selection technique, and the layers
that are determined to be very sensitive to wildfire zones. After the forward
propagation of datasets through the CNN network, feature maps are selected from any
layer on CNN and mean activation maps are calculated. Binarize means activation
maps are obtained and hamming distance is calculated. A minimum of hamming
distance is chosen by setting a threshold and thus feature maps sensitive to fire will be
obtained. The initial layers retain the original shape and features of the frame or image.
The first layer retains almost all information about the input image. While traversing
through the dense layers, the features become increasingly abstract. The higher layers
retain only less information about the frame and is less visually predictable. The last
layers will not activate at all, there is nothing to learn for a CNN model from those
layers.
4. Experimental Results
General benchmark datasets have been used for experimental analysis. Datasets were
collected from MNIST sites. Another set of FIRE-DATASETS were collected and used
for our approach. The datasets have been split into two forms: training and testing.
Fifty percent of the datasets were utilized for training and the remaining for testing.
The model was trained using both deep CNN and the squeeze net model.
The datasets were trained for the deep CNN model and tested the Squeeze Net model.
When tested with the Squeeze Net model, more accuracy was achieved than the
previous model, Alex net [13]. Table 2 shows a comparison of accuracy percentages.
When contrasted to prior approaches, our suggested technique had an accuracy of
around 94 percent, which is 5% higher than previous methods. Table 3. results
performance values.
The false alarm rate is reduced from 9.07% to 8.06%. The suggested work's training
accuracy graph is displayed in Figure 3 and has an accuracy of roughly 94 percent.
When tested with the Squeeze Net model, the confidence score achieved is shown in
Figure 4. The confidence score is about the surety of fire in the frame along with
classification. The confidence score absorbed for frames with intense fire will be
around 99%.
5. Conclusion
References
[1] Adel H et al.,“Investigation of a Novel Image Segmentation Method dedicated to Forest Fire
Applications,” Meas. Sci. Technol., 2013, vol. 24, no. 7.
[2] Ahmad J, Muhammad K, Bakshi S, and Baik S. W, "Object-Oriented Convolutional Features for Fine-
Grained Image Retrieval in Large Surveillance Datasets," Future Generation Computer Systems, 2018,
vol. 81, pp. 314-330.
[3] Celik T and Demirel H, “Fire Detection in Video Sequences Using AGeneric Color Model”, Fire safety
journal, 2009, vol. 44, pp. 147-158.
[4] Chan T.-H et al., “PCANet: A Simple Deep Learning Baseline for Image Classification”, IEEE Trans.
Image Process., 2015, vol. 24, no. 12, pp. 5017–5032.
[5] Sathiyavathi, V., M. Jessey, K. Selvakumar, and L. SaiRamesh. "Smart Surveillance System for
Abnormal Activity Detection Using CNN."Advances in Parallel Computing Technologies and
Applications 40 (2021): 341.
[6] Chi R, Z.-M. Lu, and Q.-G. Ji, “Real-Time Multi-Feature-Based Fire Flame Detection in Video,” IET
Image Process.,2016, vol. 11, no. 1, pp. 31–37.
[7] Chino D. Y. T, Avalhais L. P. S, Rodrigues J. F et al., “BoWFire: Detection of fire in still images by
Integrating Pixel Color and Texture Analysis,” in Proc. 28th SIBGRAPI Conf. Graph. Patterns Images,
2015, pp. 95–102.
[8] Di Lascio R, Greco A, Saggese A, and Vento M, "Improving fire detection reliability by a combination
of videoanalytics," in International Conference Image Analysis and Recognition, 2014, pp. 477-484.
[9] Dimitropoulos K, Barmpoutis P, and Grammalidis N, "Spatio-Temporal Flame Modeling and Dynamic
Texture Analysis for Automatic Video-based Fire Detection," IEEE transactions on circuits and
systems for video technology, 2015, vol. 25, pp. 339-351.
[10] Filonenko A, Hernández D. C, and Jo K.-H, “Fast Smoke Detection for Video Surveillance Using
CUDA”, IEEE Transactions on Industrial Informatics, 2018, vol. 14, pp. 725-733.
[11] Foggia P, Saggese A, and Vento M, “Real-time fire detection for video-surveillance applications using
a combination of experts based on Color, Shape, And Motion”, IEEE TRANSACTIONS on circuits
and system for video technology, 2015, vol. 25, pp. 1545-1556.
[12] Han D and Lee B, “Development of early Tunnel Fire Detection Algorithm using the image
processing”, in International symposium on visual computing, 2006, pp. 39-48.
[13] Iandola F. N et al., “Squeeze Net: Alex-Net-level accuracy with 50x fewer parameters and <1MB
model size,”, 2016.
[14] Marbach G, Loepfe M, and Brupbacher T, “An image processing Technique for Fire Detection in
Video Images”, Fire safety journal, 2006, vol. 41, pp. 285-289.
[15] Muhammad K, Ahmad J, Lv Z, Bellavista P, Yang P, and Baik S. W, "EfficientDeep CNN-Based Fire
Detection and Localization in Video Surveillance Applications," IEEE Transactions on Systems, Man,
and Cybernetics: Systems, 2018, pp. 1-16.