Professional Documents
Culture Documents
fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
Abstract—Smoke detection is a key component of disaster and
accident detection. Despite the wide variety of smoke detection
methods and sensors that have been proposed, none has been
able to maintain a high frame rate while improving detection
performance. In this paper, a smoke detection method for
surveillance cameras is presented that relies on shape features of
smoke regions as well as color information. The method takes
advantage of the use of a stationary camera by using a
background subtraction method to detect changes in the scene.
The color of the smoke is used to assess the probability that pixels
in the scene belong to a smoke region. Due to the variable density
of the smoke, not all pixels of the actual smoke area appear in the
foreground mask. These separate pixels are united by
morphological operations and connected-component labeling
methods. The existence of a smoke region is confirmed by
analyzing the roughness of its boundary. The final step of the
algorithm is to check the density of edge pixels within a region.
Comparison of objects in the current and previous frames is
conducted to distinguish fluid smoke regions from rigid moving
objects. Some parts of the algorithm were boosted by means of
parallel processing using CUDA GPUs, thereby enabling fast
processing of both low-resolution and high-definition videos. The
algorithm was tested on multiple video sequences and
demonstrated appropriate processing time for a realistic range of
frame sizes.
Fig. 1. Smoke detection algorithm. The gray background area represents the
steps performed using CUDA.
Index Terms— Boundary roughness, color probability, CUDA,
edge density, GPGPU, smoke detection.
emit pillars of smoke that occupy larger volumes. In such
cases, an accident can be detected even if the source of the fire
I. INTRODUCTION is hidden behind another object such as a fence.
Cameras are not the only means of smoke detection. Sensor
P RESENTLY , there is a noticeable demand for automatic
smoke detection systems that work quickly while requiring
low maintenance costs. These surveillance systems are utilized
nodes, used within wired or wireless networks, are able to
detect temperature changes and poisonous gas concentrations
without requiring light sources. When sensor nodes are
for smoke detection itself or for early warning of fires. In the
equipped with batteries and ZigBee wireless communication
latter case, flames may not appear in front of the camera
modules, they can be placed quite far from each other and can
during the first moments after ignition, but burning materials
cover vast areas. However, this type of configuration requires
regular maintenance, and cannot be used to survey whole
Manuscript received July 2, 2015; revised October 31, 2015, March 10, territories because of the discrete nature of the sensor nodes’
2016, October 19, 2016, July 27, 2017, and April 27, 2017; accepted for
publication September 6, 2017. This work was supported by the National
spatial distribution.
Research Foundation of Korea (NRF) Grant funded by the Korean Cameras require less maintenance and can survey the whole
Government (2016R1D1A1A02937579). region in their field of view; however, general-purpose
Alexander Filonenko is with the Graduate School of Electrical
Engineering, University of Ulsan, Ulsan, Korea (e-mail: alexander@
surveillance cameras fail to provide meaningful data at night
islab.ulsan.ac.kr). due to poor noise performance and lack of color information.
Danilo Cáceres Hernández is with the Electrical Deparment, Universidad To cope with this issue, Torabnezhad et al. have proposed
Tecnológica de Panamá (UTP), Panamá, Panamá (e-mail: another way to detect smoke by utilizing infrared (IR) images,
danilo.caceres@utp.ac.pa).
Kang-Hyun Jo is with the School of Electrical Engineering, University of which allow distinguishing of smoke from other smoke-like
Ulsan, Ulsan, Korea (e-mail: acejo@ulsan.ac.kr).
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
Pb
RB , (4)
PCH b
B(m, n) 0, if RB (5)
Ne
DE , (6)
Nb
B(m, n) 0, if DE ,
(7)
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
TABLE II
TABLE I DETECTION PERFORMANCE
COMPARISON OF PROCESSING TIME FOR CONNECTED-COMPONENT LABELING
ON CPU AND GPU FOR VIDEO V6 ‘SWASTEBASKET.AVI’ (MS) Video P R A F
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
Fig. 9. Results of detection of the proposed approach (second row) and our implementation of [12] (third row) on videos V1 to V7.
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
slowly. With the larger frame size also arises the possibility to because not all processing steps were performed for each
detect smaller smoke regions. From Fig. 8, it is also clear that frame. Some parts of the algorithm were skipped if no blobs
increasing frame resolution affects the processing time of the left to be processed after intermediate steps. This behavior can
CPU portion more than the GPGPU portion. For small image be observed in Fig. 11: processing time for the frame 151 is 3
size, the difference in processing time is not great for the CPU times higher than time consumed for the frame 860.
and GPU implementations. When the system needs to process
higher resolutions, serial processing reveals its weakness. VI. CONCLUSION
From Table I, it is clear that for the HD frame size, processing This paper presents a smoke detection algorithm for video
of connected-component labeling on the CPU occupies the surveillance. A single CPU is not able to rapidly process HD
system for a period similar to all steps of the proposed method video sequences. Processing of the most time-consuming parts
performed using GPGPU. It is difficult to directly use results should be carried out by specialized devices like FPGAs, or by
reported in [12] for comparison because Yuan et al. evaluated GPGPU. This work was based upon the use of GPGPU. The
whether any smoke appeared in an image rather than checking implementation of the proposed method could achieve time
whether all smoke blobs were detected correctly. The training performance for HD-resolution video which is appropriate for
dataset consisting of sets 1 to 4 mentioned on page 855 of [12] video surveillance tasks. After tests were conducted for
and presented in [18] was used to train AdaBoost. While multiple datasets, it became clear that the method is sensitive
mostly the whole smoke region was detected according to the to noise in the video. The best environmental condition for the
results published in [12], in our implementation results, in proposed algorithm is indoors with artificial light. Comparison
many successful detections, a small part of the smoke cloud of processing time to a recent paper [12] have shown that the
was detected as it is shown in Fig. 9. Unlike the proposed proposed approach outperforms the state-of-the-art work by
approach, the patch-based approach by Yuan et al. does not processing frames four times faster when HD resolution is
reveal the actual shape of the smoke region. used. The algorithm in [12] is even more sensitive to the low
By checking the data in training dataset [18], we found quality of video input, and it could not acquire true positive
there the samples cropped from V2 while there was not a results on V5 and V7 videos.
single appearance of a part of V6. Results for In future work, the most recent background subtraction
reimplementation of [12] in Table II for videos V2 and V6 method will be implemented in parallel to achieve noise-
illustrate that AdaBoost should be trained for all specific resistant detection. Boundary roughness and edge density can
scenarios that may appear. It can be concluded that the method be calculated in the parallel CPU threads. An interesting
from [12] works well for scenarios for which it was approach of combination of threading building blocks (TBB)
specifically trained while its performance drops much in the and CUDA will be applied in the way explained in [20].
new scenarios. Detection results of the proposed approach Intelligent classifiers will replace the simple step-by-step
(Fig. 9, second row) demonstrate that not the whole volume of smoke detection, e.g. support vector machine and AdaBoost in
smoke can be detected, but the essential part of it is the case if it will be possible to improve accuracy by
recognized. preserving fast processing. We will look for the way to adjust
Figure 11 shows the processing time of each frame for the parameters for color probability using automatic methods, e. g.
entire video V6. Hardware initialization at the first frame took fuzzy logic.
some time. The low processing time between frames 1 and
150 corresponds to the background subtraction training stage.
The processing time is not stable because it depends on the REFERENCES
number and size of objects that look and behave like smoke. [1] M. Torabnezhad, A. Aghagolzadeh, H. Seyedarabi, “Visible and IR
The current version of the algorithm cannot efficiently deal image fusion algorithm for short range smoke detection,” in Proc.
with night time smoke detection. For example, when ICRoM, 2013, Tehran.
analyzing a video of night time smoke [19], the background [2] C.-Y. Lee, C.-T. Lin, C.-T. Hong, and M.-T. Su, “Smoke detection using
spatial and temporal analyses,” International Journal of Innovative
subtraction algorithm failed to successfully separate the real Computing, vol. 8, no. 6, pp. 1-23, Jun., 2012.
smoke cloud and noise (Fig. 10) because the system was [3] B. U. Toreyin, Y. Dedeoglu, A. E. Cetin, “Contour based smoke
trained to recognize the smoke color characteristics from detection in video using wavelets,” in Proc. EUSIPCO, 2006, Florence.
[4] F. Yuan, “A fast accumulative motion orientation model based on
daytime images. In V5, the smoke is sparse and located far integral image for video smoke detection,” Pattern Recognition
from the camera, and compression artifacts introduce much Letters, vol. 29, no. 7, May, 2008.
noise into the frame. Some parts of the smoke region appeared [5] A. Filonenko, D. C. Hernández, and K.-H. Jo, “Smoke Detection for
Static Cameras,” in Proc. FCV, Mokpo, 2015, pp. 1-5.
in the foreground mask, but they were removed by [6] J. Chen, Y. Wang, Y.Tian, T. Huang, “Wavelet based smoke detection
morphology operations. If a more stable background method with RGB Contrast-image and shape constrain,” in Proc. VCIP,
subtraction method was utilized, then the detection results Kuching, 2013.
[7] H. Maruta, Y. Iida, F. Kurokawa, “Anisotropic LBP descriptors for
should be better. Table IV lists the average processing time for robust smoke detection,” in Proc. IECON, Vienna, 2013.
each smoke video at original resolution 320×240. Processing [8] Y. Zhao, W. Lu, Y. Zheng, J. Wang, “An early smoke detection system
time of the method from [12] remain similar for all video files based on increment of optical flow residual,” in Proc. ICMLC, Xian,
2012.
and mostly depend on image resolution rather that complexity
of the scene. Values for V6 are lower than presented in Fig. 8
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TII.2017.2757457, IEEE
Transactions on Industrial Informatics
TII-16-1176.R2
[9] H. Tian, W. Li, L. Wang, P. Ogunbona, “A novel video-based smoke Danilo Cáceres Hernández (M’13)
detection method using image separation,” in Proc. ICME, Melbourne,
received the Bachelor’s degree in
2012.
[10] L. Jinghong, Z. Xiaohui, W. Lu, “The design and implementation of fire Electrical and Electronic Engineering
smoke detection system based on FPGA,” in Proc. CCDC, Taiyuan, from the UTP, in 2004. He received his
2012. Master of Science in Electrical
[11] G.P. Rashmi, L. Nirmala, “FPGA Based FNN for Accidental Fire
Engineering (2011) and the Ph. D. in
Alarming System in a Smart Room,” International Journal of
Advanced Research in Computer and Communication Electrical Engineering (2017) from the
Engineering, vol. 3, no. 6, pp. 6902-6906, Jun., 2014. University of Ulsan, Ulsan, South
[12] F. Yuan, Z. Fang, S. Wu, Y. Yang, Y. Fang, “Real-time image smoke Korea.
detection using staircase searching-based dual threshold AdaBoost and
He is currently at the Electrical Department, Universidad
dynamic analysis,” IET Image Processing, vol. 9, no. 10, pp. 849-856,
Sep., 2015. Tecnológica de Panamá, Panamá, as a full time professor.
[13] Z. Zivkovic, F. v.-d. Heijdenb, “SuBSENSE: a universal change
detection method with local adaptive sensitivity,” IEEE Transactions
on Image Processing, vol. 24, no. 1, pp. 359-373, Jan., 2015.
[14] A. B. Godbehere, A. Matsukawa, K. Goldberg, “Visual Tracking of
Human Visitors under Variable-Lighting Conditions for a Responsive
Audio Art Installation”, In Proc. American Control Conference,
Montreal, June 2012
[15] P. Vinicius, K. Borges, E. Izquierdo, “A probabilistic approach for
vision-based fire detection in videos,” IEEE Transactions on Circuits
and Systems for Video Technology, vol. 20, no. 5, pp. 721-731,
Mar., 2010.
[16] O. Kalentev, A. Rai, S. Kemnitz, R. Schneider, “Connected component
labeling on a 2D grid using CUDA,” Journal of Parallel and Distributed
Computing, vol. 71, no. 4, pp. 615-620, Apr., 2011.
[17] Sample Fire and Smoke Video Clips,
http://signal.ee.bilkent.edu.tr/VisiFire/Demo/SampleClips.html
[18] Feiniu Yuan’s Video smoke detection,
http://staff.ustc.edu.cn/~yfn/vsd.html
[19] Factory Smoke at Night, https://youtu.be/UXbClEYSxsc
[20] F. Wang, X. Jiang, and X. P. Hu, “A TBB-CUDA Implementation for
Background Removal in a Video-Based Fire Detection System,”
Mathematical Problems in Engineering, vol. 2014, pp. 1-6, Mar., 2014.
1551-3203 (c) 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.