Fire Detection and Alert System Using Convolutional Neural Network
Fire Detection and Alert System Using Convolutional Neural Network
Abstract: Fire is one of the leading hazards endangering human life and property around the world, may lead to a
considerable material damage and serious injury and even death. In order to avoid such losses, we widely practiced to use
smoke and flame detectors. However, realization of video surveillance system is more reasonable, because it allows
monitoring large areas and open space that the traditional systems of fire and smoke control cannot do. In this project fire is
detected using surveillance camera and the alert message along with captured fire image is sent to the Owner / Incharge of
the property through an email and also the system produces an alarm in order to take earliest actions and thereby avoid high
property loss.
indicates that using CNN to detect fire in videos is very be subdivided into these two analysis components and a
promising. classifier component.
B. Packages used
NumPy is that the fundamental package for scientific
computing in Python. It is a Python library that gives a
multidimensional array object, various derived objects (such
as masked arrays and matrices), and an assortment of
routines for fast operations on arrays, including
mathematical, logical, shape manipulation, sorting,
selecting, I/O, discrete Fourier transforms, basic algebra ,
basic statistical operations, random simulation and far more.
At the core of the NumPy package, is that the ndarray object.
This encapsulates n-dimensional arrays of homogeneous
data types, with many operations being performed in
compiled code for performance.
Pandas is an open source Python package that
Fig. 1 Architecture diagram
gives numerous tools for data analysis. The package comes
1) Extract Images Frame from video with several data structures which will be used for
This module is concerned with the video data several different data manipulation tasks. It also has a
processing required for the system to work. Its major role in variety of methods that can be invoked for data analysis,
the system is to read the video data and extract image frame which comes in handy when working on data science and
machine learning problems in Python.
from video. Matplotlib may be a Python 2D plotting library which
2) Color Conversion Module produces publication quality figures during a sort
of hardcopy formats and interactive environments across
The video may use different formats or platforms. Matplotlib can be used in Python scripts, the
configurations for the processing of raw video data. For the Python and shells, the Jupiter notebook, web application
system to work, it needs the data to be homogeneous with servers, and four graphical user interface toolkits. Matplotlib
the same format and configuration. This module converts tries to form easy things easy and hard things possible. You
the video data to RGB format, which makes further can generate plots, histograms, power spectra, bar charts,
processing of video data easier. errorcharts, scatterplots, etc., with just a couple of lines of
. 3) Fire Detector Module code.
This module is a crucial component of the system.
Convolutional neural network are shown to perform very
well in the area of object classification .It is concerned with
the pixel and frame analysis, which are two basic
methods used in the classification of fire pixels from
background pixels and non-fire pixels. Thus this module can
The above Fig.6 shows the alert email message along with
captured fire image.so that the user can contact the fire
department immediately and take remedial actions as soon
as possible.
V. CONCLUSION
It is concluded that the fire is detected, alarm is produced
and the alert message with captured fire image is
immediately sent to the owner through an email.So that the
owner can immediately contact the fire department and take
actions easily and thereby avoiding high property loss. The
advantage of using this system is that the cost of using this
type of detection is cheaper and the implementation of this
type system is greatly simpler compare to those traditional
methods. Secondly the response time of detection system is
quicker compare to the opposite traditional detection
Fig. 4 Visualization of fire range using histogram methods since a vision camera- based fire detection system
doesn't required any type conditions to trigger the camera
The above Fig.5 shows the range of fire and it is used to and it has the ability to monitor a large area depends on the
analyze the range of fire easily. Along with the progress of camera used.
computer vision and image processing, video-based fire
detection is currently a fairly common technology which has REFERENCES
remarkable advantages over traditional methods, such as fast [1]. R. A. Khan, J. Uddin, S. Corraya, and J. Kim, “Machine vision based
response and wide detection area. indoor fire detection using static and dynamic features,” International
Journal of Control and Automation, vol. 11, no. 6, 2018.
[2]. [2] J. Seebamrungsat, S. Praising, and P. Riyamongkol, “Fire
detection in the buildings using image processing,” in Proceedings of
the 2014 Third ICT International Student Project Conference (ICT-
ISPC), pp. 95–98, IEEE, Bangkok, Thailand, March 2014.
[3]. P. Foggia, A. Saggese, and M. Vento, “Real-time fire detection for
video-surveillance applications using a combination of experts based
on color, shape, and motion,” IEEE Transactions on Circuits and
Systems for Video Technology, vol. 25, no. 9, pp. 1545–1556, 2015.
[4]. L. Chen and W. Huang, “Fire detection using spatial-temporal
analysis,” in Proceedings of the World Congress on Engineering, pp.
3–5, London, UK, July 2013.
[5]. J. D. Burnett and M. G. Wing, “A low-cost near-infrared digital
camera for fire detection and monitoring,” International Journal of
Remote Sensing, vol. 39, no. 3, pp. 741–753, 2018.
[6]. B. U. Töreyin, Y. Dedeoğlu, U. Güdükbay, and A. E. Çetin,
“Computer vision based method for real-time fire and flame
detection,” Pattern Recognition Letters, vol. 27, no. 1, pp. 49–58,
2006.
[7]. X. F. Han, J. S. Jin, M. J. Wang, W. Jiang, L. Gao, and L. P. Xiao,
“Video fire detection based on Gaussian mixture model and multi-
color features,” Signal, Image and Video Processing, vol. 11, no. 8,
pp. 1419–1425, 2017.
[8]. J. Chen, Y. He, and J. Wang, “Multi-feature fusion based fast video
flame detection,” Building and Environment, vol. 45, no. 5, pp. 1113–
1122, 2010.
Fig.5 Alert email message along with captured fire [9]. K. Dimitropoulos, P. Barmpoutis, and N. Grammalidis, “Spatio-
image. temporal flame modeling and dynamic Texture analysis for automatic
video-based fire detection,” IEEE Transactions on Circuits and
Systems for Video Technology, vol. 25, no. 2, pp. 339–351, 2015.
BIOGRAPHY