Abstract
Real-time flame detection is crucial in video-based surveillance systems. We propose a vision-based method to detect flames using Deep Convolutional Generative Adversarial Neural Networks (DCGANs). Many existing supervised learning approaches using convolutional neural networks do not take temporal information into account and require a substantial amount of labeled data. In order to have a robust representation of sequences with and without flame, we propose a two-stage training of a DCGAN exploiting spatio-temporal flame evolution. Our training framework includes the regular training of a DCGAN with real spatio-temporal images, namely, temporal slice images, and noise vectors, and training the discriminator separately using the temporal flame images without the generator. Experimental results show that the proposed method effectively detects flame in video with negligible false positive rates in real-time.
Introduction
Detecting fire in video is a high-stakes challenge for surveillance systems. While standard Convolutional Neural Networks (CNNs) are highly effective at recognizing static shapes, fire lacks a fixed geometry; it is a dynamic, flickering process. Existing methods often fail by either ignoring temporal clues—missing the characteristic 10Hz flicker of uncontrolled flames—or by requiring massive amounts of labeled data to generalize across diverse environments. This research introduces a robust, real-time flame detection method that leverages Deep Convolutional Generative Adversarial Networks (DCGANs) to capture the unique temporal signature of fire while maintaining high computational efficiency.
Methodology
The proposed system utilizes a specialized data representation and a two-stage training pipeline designed to minimize false positives.
Temporal Slice Images
To incorporate temporal dynamics into a 2D convolutional framework, the authors extract "temporal slice images." Instead of processing raw video frames, they extract a specific column of pixels from a video block consisting of 64 consecutive frames. These columns are stacked side-by-side to create an image where one axis represents space (vertical) and the other represents time (horizontal). By stacking 128 of these slices, a 3D "image cube" (64x128x384) is formed, encapsulating the scene's evolution over several seconds.
Two-Stage DCGAN Training
The core model is a DCGAN consisting of a Generator and a Discriminator. The training proceeds in two distinct phases:
- Adversarial Stage: The GAN is trained traditionally. The Generator creates "fake" flame slices from noise vectors, while the Discriminator learns to distinguish these from real spatio-temporal flame slices. This forces the model to learn the fundamental patterns of fire dynamics.
- Refinement Stage: The Generator is discarded. The Discriminator is then fine-tuned using real-world non-flame footage (standard surveillance views) as the negative class. This refinement helps the model establish a tighter decision boundary, significantly reducing false alarms triggered by fire-like motion.
Experimental Results
The study utilized a custom dataset of 112 video clips containing flames (e.g., forest fires, vehicle fires) and 72 clips of standard surveillance footage. These were processed into over 210,000 temporal slices. The proposed method was compared against standard CNNs and GANs without the refinement stage.
| Method | True Negative Rate (TNR) | True Positive Rate (TPR) |
|---|---|---|
| Proposed DCGAN + Temporal Slices | 96.09% | 92.19% |
| CNN + Temporal Slices | 87.39% | 93.23% |
| DCGAN (No temporal info) | 92.55% | 92.39% |
| DCGAN (No refinement stage) | 86.61% | 90.10% |
The high True Negative Rate (96.09%) is a critical achievement, indicating a very low false-alarm rate suitable for industrial deployment.
Conclusion and Future Work
By converting time into a spatial dimension through temporal slices, the authors enable standard convolutional architectures to detect motion and frequency—key features of fire. The two-stage training process further ensures that the model learns a robust representation even with limited labeled data.
Qualitative analysis reveals some remaining challenges. Small or distant flames may lack sufficient temporal texture for detection, leading to false negatives. Conversely, certain man-made light sources, such as flickering neon signs or specific reflections, can occasionally mimic the spatio-temporal signature of fire, causing false positives. Future research may explore integrating these DCGAN-based features with infrared sensors or 3D convolutional architectures to further enhance discrimination between natural fire and rhythmic artificial lights.
Summary updated