Submitted:
22 June 2026
Posted:
23 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
2.1. Deep Learning Based Fire and Smoke Detection
2.2. Night Vision Enhancement
2.3. Background Subtraction and Motion Validation
2.4. Region of Interest Management
2.5. Temporal Confirmation and Alarm Hysteresis
2.6. Multi-Camera Surveillance Systems
3. System Architecture
3.1. Overview
3.2. Multi-Threaded Stream Acquisition
3.3. Detection Pipeline
4. Implementation Details
4.1. Night Vision Enhancement
4.2. Motion Validation via Background Subtraction
4.3. Neural Detection
4.4. Region of Interest Filtering
4.5. Temporal Consistency and Alarm Hysteresis
4.6. Per Camera Configuration and External Alerting
4.7. Adaptive Display Layout
5. Experimental Evaluation
5.1. Dataset and Experimental Setup
Training Dataset
5.2. Ablation Study
5.3. Night Vision Performance
| Configuration | Precision (%) | Recall (%) | Absolute Δ Precision (pp) |
| Without CLAHE (raw IR frames) | 64.1 | 61.3 | — (baseline) |
| With CLAHE only | 80.2 | 75.1 | +16.1 |
| With CLAHE + gamma correction | 83.9 | 79.7 | +19.8 |
5.4. Multi-Stream Throughput and Latency
| p90 Inference Latency (ms) |
GPU Utilisation (%) | CPU Utilisation (%) |
Analysed FPS / Stream | Workload (Streams @ Resolution, GPU/CPU) |
| 38 | 43 | 68 | 11–13 | 8 streams @ 1080p, skip = 5 (GPU) |
| 110 | 78 | 96 | 5–6 | 16 streams @ 1080p, skip = 5 (GPU) |
| 168 | n/a | 95 | 3–4 | 8 streams @ 1080p, skip = 5 (CPU-only) |
5.5. Stream Configuration and Latency Definitions
5.6. Parameter Sensitivity Analysis
5.7. Failure Cases and System Limitations
5.8. Long-Duration Operational Stability
| Configuration | Stream Count | Resolution | Source Mix | Analysed FPS/Stream | p90 Latency (ms) | Device |
| Config A (GPU) | 8 | 1080p | 4 × RTSP + 2 × USB + 2 × video | 11–13 | 38 | RTX 3060 |
| Config B (GPU) | 16 | 1080p | 12 × RTSP + 4 × video (replicated) | 5–6 | 110 | RTX 3060 |
| Config C (CPU) | 8 | 1080p | 4 × RTSP + 2 × USB + 2 × video | 3–4 | 168 | i7-12700K only |
| Predicted | Fire | Smoke | Background |
| Actual: Fire | 1,842 (TP) | 103 (FN→Smoke) | 215 (FN) |
| Actual: Smoke | 87 (FP) | 3,201 (TP) | 318 (FN) |
| Actual: Background | 41 (FP) | 62 (FP) | 94,817 (TN) |
| Parameter | Tested Values | Selected Value | FA Rate Variation | Precision Variation |
| CLAHE clip limit (c_l) | 2.0 / 3.0 / 4.0 | 3.0 | ±1.2 pp | ±0.9 pp |
| MOG2 history (H, frames) | 300 / 500 / 700 | 500 | ±1.0 pp | ±0.7 pp |
| Motion density threshold (ρ_thr) | 0.10 / 0.15 / 0.20 | 0.15 | ±1.5 pp | ±1.1 pp |
| IR deviation threshold (δ_IR) | 3.0 / 5.0 / 7.0 | 5.0 | ±0.8 pp | ±0.6 pp |
| Onset duration (T_onset, s) | 1.5 / 2.0 / 2.5 | 2.0 | ±0.3 pp | ±0.2 pp |
6. Discussion
7. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Use of Artificial Intelligence Tools
Abbreviations
| CLAHE | Contrast Limited Adaptive Histogram Equalization |
| FPS | Frames Per Second |
| GPU | Graphics Processing Unit |
| HSV | Hue Saturation Value (colour space) |
| IR | Infrared |
| mAP | Mean Average Precision |
| MOG2 | Mixture of Gaussians (background subtraction algorithm) |
| MQTT | Message Queuing Telemetry Transport |
| ROI | Region of Interest |
| RTSP | Real-Time Streaming Protocol |
| YOLO | You Only Look Once |
References
- National Fire Protection Association (NFPA). NFPA Report: Industrial and Manufacturing Properties, 2017–2021; NFPA: Quincy, MA, USA, 2023. Available online: https://www.nfpa.org (accessed on 1 June 2025).
- Çelik, T.; Demirel, H. Fire detection in video sequences using a generic color model. Fire Saf. J. 2009, 44, 147–158. [Google Scholar] [CrossRef]
- Sun, H.; Yao, T. Multi-scale construction site fire detection algorithm with integrated attention mechanism. Fire 2025, 8, 257. [Google Scholar] [CrossRef]
- Saydirasulovich, N.S.; et al. An improved wildfire smoke detection based on YOLOv8 and UAV images. Sensors 2023, 23, 8374. [Google Scholar] [CrossRef] [PubMed]
- Khan, F.; et al. Recent advances in sensors for fire detection. Sensors 2022, 22, 3310. [Google Scholar] [CrossRef] [PubMed]
- Zhang, H.; Xu, W.; Sun, L. BiLSTM LN SA: A novel integrated model with self attention for multi sensor fire detection. Sensors 2025, 25. [Google Scholar] [CrossRef] [PubMed]
- Rauf, R.; et al. Hybrid machine learning based fault tolerant sensor data fusion for fire risk mitigation in IIoT environments. Sensors 2025, 25, 2372. [Google Scholar] [CrossRef] [PubMed]
- Bu, F.; Gharajeh, M.S. Intelligent and vision-based fire detection systems: A survey. Image Vis. Comput. 2019, 91, 103803. [Google Scholar] [CrossRef]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, real-time object detection. In Proceedings of the IEEE/CVF CVPR, 2016; pp. 779–788. [Google Scholar] [CrossRef]
- Liu, Z.; Ma, X.; Feng, Y.; Sun, J. DSS YOLO: An improved lightweight real-time fire detection model based on YOLOv8. Sci. Rep. 2025, 15, 9417. [Google Scholar] [CrossRef] [PubMed]
- Yar, H.; Khan, Z.A.; Ullah, F.U.M.; Ullah, W.; Baik, S.W. A modified YOLOv5 architecture for efficient fire detection in smart cities. Expert Syst. Appl. 2023, 231, 120465. [Google Scholar] [CrossRef]
- Chino, D.Y.T.; et al. BoWFire: Detection of fire in still images by integrating pixel color and texture analysis. Proceedings of SIBGRAPI, 2015; pp. 95–102. [Google Scholar] [CrossRef]
- Islam, A.; Habib, M.I. Fire detection from image and video using an improved YOLOv5 model. In Proceedings of the 2023 International Conference on Electrical, Computer and Communication Engineering (ECCE), Chittagong, Bangladesh, 23–25 February 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–6. [Google Scholar] [CrossRef]
- Zhang, Z.; Tan, L.; Tiong, R.L.K. An improved fire and smoke detection method based on YOLOv8n for smart factories. Sensors 2024, 24, 4786. [Google Scholar] [CrossRef] [PubMed]
- Pham, T.N.; Nguyen, T.L.; Pham, V.H. Fire and smoke detection using real-time semantic segmentation on surveillance cameras. Sensors 2024, 24, 6038. [Google Scholar] [CrossRef] [PubMed]
- Tatana, M.M.; Tsoeu, M.S.; Maswanganyi, R.C. Low-light image and video enhancement for more robust computer vision tasks: A review. J. Imaging 2025, 11, 125. [Google Scholar] [CrossRef] [PubMed]
- Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 4th ed.; Pearson, 2018. [Google Scholar]
- Weng, S.-E.; Miaou, S.-G.; Christanto, R. A lightweight low-light image enhancement network via channel prior and gamma correction. Int. J. Pattern Recognit. Artif. Intell. 2025. [Google Scholar] [CrossRef]
- Dewangan, A.; Pande, Y.; Braun, H.-W.; Vernon, F.; Perez, I.; Altintas, I.; Cottrell, G.W.; Nguyen, M.H. FIgLib & SmokeyNet: Dataset and deep learning model for real-time wildland fire smoke detection. Remote Sens. 2022, 14, 1007. [Google Scholar] [CrossRef]
- Zhou, Y.; Song, X.; Luo, X.; Gong, Y. EFSD-YOLO: Fire and smoke detection based on enhanced YOLOv11. In Proceedings of the 2025 4th International Conference on Intelligent Mechanical and Human-Computer Interaction Technology (IHCIT), Dalian, China, 22–24 August 2025; IEEE: Piscataway, NJ, USA, 2025. [Google Scholar] [CrossRef]
- Tu, J.; Xu, Q.; Chen, C. CANS: Communication limited camera network self-configuration for intelligent industrial surveillance. In Proceedings of the 41st IEEE International Conference on Distributed Computing Systems (ICDCS 2021), Washington, DC, USA, 7–10 July 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 1–11. [Google Scholar] [CrossRef]
- Çelik, T.; Demirel, H.; Özkaramanlı, H.; Uyguroğlu, M. Fire detection in video sequences using statistical color model. In Proceedings of the 2006 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toulouse, France, 14–19 May 2006; IEEE: Piscataway, NJ, USA, 2006; p. II-213–II-216. [Google Scholar] [CrossRef]
- Töreyin, M.; Dedeoğlu, Y.; Çetin, A.E. Flame detection in video using hidden Markov models. Proceedings of IEEE ICIP, 2005. [Google Scholar] [CrossRef]
- Ateeq, Z.; Momani, M. Wireless sensor networks using image processing for fire detection. In Proceedings of the 2020 5th International Conference on Innovative Technologies in Intelligent Systems and Industrial Applications (CITISIA), Sydney, Australia, 25–27 November 2020; IEEE: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef]
- Wang, J.; Xu, F.; Zhang, K. A real-time fire detection method from video with multifeature fusion. Comput. Intell. Neurosci. 2019, 2019, 1–12. [Google Scholar] [CrossRef] [PubMed]
- Ko, B.C.; Cheong, K.H.; Nam, J.Y. Early fire detection algorithm based on irregular patterns of flames and hierarchical Bayesian networks. Fire Saf. J. 2010, 45, 262–270. [Google Scholar] [CrossRef]
- Hentati, M.; Gargouri, A.; Hentati, R. Real-time indoor early fire detection in industrial environments using optimized multi-sensor edge deep learning. Eng. Res. Express 2025. [Google Scholar] [CrossRef]
- Buriboev, A.S.; Abduvaitov, A.; Jeon, H.S. Integrating color and contour analysis with deep learning for robust fire and smoke detection. Sensors 2025, 25, 2044. [Google Scholar] [CrossRef] [PubMed]
- Peng, Y.; Wang, Y. Real-time forest smoke detection using hand-designed features and deep learning. Comput. Electron. Agric. 2019, 167, 105029. [Google Scholar] [CrossRef]
- Sohan, M.; Sai Ram, T.; Rami Reddy, C.V. A review on YOLOv8 and its advancements. In Data Intelligence and Cognitive Informatics; Jacob, I.J., et al., Eds.; Springer: Singapore, 2024; pp. 529–545. [Google Scholar] [CrossRef]
- Terven, J.; Córdova-Esparza, D.-M.; Romero-González, J.-A. A comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Mach. Learn. Knowl. Extr. 2023, 5, 1680–1716. [Google Scholar] [CrossRef]
- Fernandes, A.M.; Utkin, A.B.; Chaves, P. Automatic early detection of wildfire smoke with visible-light cameras and EfficientDet. J. Fire Sci. 2023, 41, 122–135. [Google Scholar] [CrossRef]
- Abdusalomov, A.; Baratov, N.; Kutlimuratov, A.; Whangbo, T.K. An improvement of the fire detection and classification method using YOLOv3 for surveillance systems. Sensors 2021, 21, 6519. [Google Scholar] [CrossRef] [PubMed]
- Zell, O.; Pålsson, J.; Hernandez-Diaz, K.; Alonso-Fernandez, F.; Nilsson, F. Image-based fire detection in industrial environments with YOLOv4. In Proceedings of the 12th International Conference on Pattern Recognition Applications and Methods (ICPRAM 2023), Lisbon, Portugal, 22–24 February 2023; SciTePress: Setúbal, Portugal, 2023; pp. 1–8. [Google Scholar] [CrossRef]
- Zhang, Y.; Xiao, X.; Wang, W.; Wang, C.; Jin, X.; Wang, Y. Improved lightweight flame smoke detection algorithm for YOLOv8n. In Proceedings of the 2024 39th Youth Academic Annual Conference of Chinese Association of Automation (YAC), Dalian, China, 7–9 June 2024; IEEE: Piscataway, NJ, USA; 2024, pp. 1537–1542. [Google Scholar] [CrossRef]
- Wang, Z. Enhanced fire detection algorithm for chemical plants using modified YOLOv9 architecture. In Proceedings of the 2024 9th International Conference on Electronic Technology and Information Science (ICETIS), Zhuhai, China, 17–19 May 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 22–25. [Google Scholar] [CrossRef]
- Shao, D.; et al. YOLOv7scb: A small-target object detection method for fire smoke inspection. Fire 2025, 8, 62. [Google Scholar] [CrossRef]
- Wang, X.; Wang, J.; Chen, L.; Zhang, Y. Improving computer vision-based wildfire smoke detection by combining SE-ResNet with SVM. Processes 2024, 12, 747. [Google Scholar] [CrossRef]
- Tao, H.; Dou, Z.; Liu, M.; Wang, S.; Hu, J. Real-time fire segmentation and detection using deep learning for unmanned aerial vehicles. Sensors 2024, 24, 4115. [Google Scholar] [CrossRef] [PubMed]
- Barmpoutis, P.; et al. A review on early forest fire detection systems using optical remote sensing. Sensors 2020, 20, 6442. [Google Scholar] [CrossRef] [PubMed]
- Gaur, G.; et al. Video flame and smoke based fire detection algorithms: A literature review. Fire Technol. 2020, 56, 1943–1980. [Google Scholar] [CrossRef]
- Gragnaniello, D.; Greco, A.; Sansone, C.; Vento, B. Fire and smoke detection from videos: A literature review. Expert Syst. Appl. 2024, 255, 124783. [Google Scholar] [CrossRef]
- Chaturvedi, S.; Khanna, P.; Ojha, A. A survey on vision-based outdoor smoke detection techniques for environmental safety. ISPRS J. Photogramm. Remote Sens. 2022, 185, 158–187. [Google Scholar] [CrossRef]
- Wu, Y.; Yin, T.; Zhao, X. Using deep learning with thermal imaging for human detection in heavy smoke scenarios. Sensors 2022, 22, 5351. [Google Scholar] [CrossRef] [PubMed]
- Zuiderveld, K. Contrast Limited Adaptive Histogram Equalization. In Graphics Gems IV; Academic Press, 1994; pp. 474–485. [Google Scholar] [CrossRef]
- Reis, M.J.C.S. Low-light image enhancement using deep learning: A lightweight network with synthetic and benchmark dataset evaluation. Appl. Sci. 2025, 15, 6330. [Google Scholar] [CrossRef]
- Qin, Y.; et al. Research on target image classification in low-light night vision. Sensors 2024, 24, 6682. [Google Scholar] [CrossRef] [PubMed]
- Zivkovic, Z. Improved adaptive Gaussian mixture model for background subtraction. Proceedings of ICPR, 2004; pp. 28–31. [Google Scholar] [CrossRef]
- Garcia Garcia, B.; Bouwmans, T.; Silva, A.J.R. Background subtraction in real applications. Comput. Sci. Rev. 2020, 35, 100204. [Google Scholar] [CrossRef]
- Mahmoudi, Z.; Hosseini, R. Smoke detection in video images using background subtraction. Proceedings of IEEE IICETA, 2018. [Google Scholar] [CrossRef]
- Filonenko, A.A.; Cullip, D.A.; Jo, K.H. Fast smoke detection for video surveillance using CUDA. IEEE Trans. Ind. Inform. 2018, 14, 725–733. [Google Scholar] [CrossRef]
- Hashemzadeh, M.; Farajzadeh, N.; Heydari, M. Smoke detection in video using convolutional neural networks and efficient spatio-temporal features. Appl. Soft Comput. 2022, 128, 109496. [Google Scholar] [CrossRef]
- Gragnaniello, D.; et al. FLAME: Fire detection combining deep neural network with motion analysis. Neural Comput. Appl. 2025, 37. [Google Scholar] [CrossRef]
- Töreyin, B.U.; Dedeoğlu, Y.; Güdükbay, U.; Çetin, A.E. Computer vision based method for real-time fire and flame detection. Pattern Recognit. Lett. 2006, 27, 49–58. [Google Scholar] [CrossRef]
- Caviola, A.; et al. Adaptive progressive learning for minimizing false alarms in fire detection. Eng. Appl. Artif. Intell. 2024. [Google Scholar] [CrossRef]
- Bugarić, M.; Jakovčević, T.; Stipaničev, D. Adaptive estimation of visual smoke detection parameters based on spatial data and fire risk index. Comput. Vis. Image Underst. 2014, 118, 184–196. [Google Scholar] [CrossRef]
- Angulo, J.; Moreels, P.; Raguet, V. Efficient forest fire detection index for UAV systems. Sensors 2016, 16, 893. [Google Scholar] [CrossRef] [PubMed]
- Liu, C.B.; Ahuja, N. Vision based fire detection. Proc. IEEE ICPR 2004, vol. 4, 134–137. [Google Scholar] [CrossRef]
- Quast, K.; Kaup, A. Spatial scalable region of interest transcoding of JPEG2000 for video surveillance. In Proceedings of the 2008 IEEE Fifth International Conference on Advanced Video and Signal Based Surveillance (AVSS), Santa Fe, NM, USA, 1–3 September 2008; IEEE: Piscataway, NJ, USA, 2008. [Google Scholar] [CrossRef]
- Gomes, P.; Santana, P.; Barata, J. A vision based approach to fire detection. Int. J. Adv. Robot. Syst. 2014, 11, 133. [Google Scholar] [CrossRef]
- Sun, L.; Wang, W.; Yuan, T.; Mi, L.; Dai, H.; Liu, Y.; Fu, X. BiSwift: Bandwidth orchestrator for multi-stream video analytics on edge. Proceedings of IEEE INFOCOM 2024—IEEE Conference on Computer Communications, Vancouver, BC, Canada, 20–23 May 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–10. [Google Scholar] [CrossRef]
- Mukhiddinov, M.; Abdusalomov, A.B.; Cho, J. A wildfire smoke detection system using unmanned aerial vehicle images based on the optimized YOLOv5. Sensors 2022, 22, 9384. [Google Scholar] [CrossRef] [PubMed]
- Li, X.; et al. Real-time early indoor fire detection and localization on embedded platforms. Sustainability 2023, 15, 1794. [Google Scholar] [CrossRef]
- Jocher, G.; Chaurasia, A.; Qiu, J. YOLO by Ultralytics (Version 8.0). Zenodo 2023. [Google Scholar] [CrossRef]
- Xie, Y.; Li, Z.; Wang, Q. An intelligent fire detection approach through cameras based on computer vision methods. Process Saf. Environ. Prot. 2019, 127, 245–256. [Google Scholar] [CrossRef]
- Cai, G.; Jia, Y.; Yang, L.; Xu, D. Real-time fire detection method based on improved YOLOv8 for edge deployment. Sensors 2024, 24, 4466. [Google Scholar] [CrossRef] [PubMed]
- de Venâncio, P.V.A.B.; Lisboa, A.C.; Barbosa, A.V. An automatic fire detection system based on deep convolutional neural networks for low-power, resource-constrained devices. Neural Comput. Appl. (D-Fire dataset). 2022, 34, 15349–15368. [Google Scholar] [CrossRef]
- Cvach, M. Monitor alarm fatigue: An integrative review. Biomed. Instrum. Technol. 2012, 46, 268–277. [Google Scholar] [CrossRef] [PubMed]
- Festag, S. False alarm ratio of fire detection and fire alarm systems in Germany – A meta analysis. Fire Saf. J. 2016, 79, 119–126. [Google Scholar] [CrossRef]


| Camera ID | Source Type | Resolution | Environment | Day/Night | Partition |
| Cam-01 | RTSP (H.264) | 1080p | Industrial hall (furnace area) | Day | Test |
| Cam-02 | RTSP (H.264) | 1080p | Warehouse corridor | Mixed | Test |
| Cam-03 | RTSP (H.264) | 1080p | Outdoor perimeter (fence line) | Mixed | Test |
| Cam-04 | RTSP (H.264) | 1080p | Outdoor storage yard | Night | Test |
| Cam-05 | USB webcam | 720p | Indoor laboratory | Day | Test |
| Cam-06 | USB webcam | 720p | Indoor workshop | Day | Test |
| Cam-07 | Video file | 1080p | Industrial hall (open flame) | Day | Test |
| Cam-08 | Video file | 1080p | Warehouse (smouldering) | Night | Test |
| Proportion (%) | Smoke Annotations | Fire Annotations | Images | Condition |
| 52.7 | 6,301 | 9,412 | 7,840 | Daytime (visible spectrum) |
| 21.6 | 2,741 | 3,864 | 3,218 | Dusk/mixed illumination |
| 25.7 | 3,127 | 4,583 | 3,814 | Night/near-infrared |
| 100 | 12,169 | 17,859 | 14,872 | Total |
| Configuration | Precision (%) | ±std | Recall (%) | ±std | mAP50 (%) | FA Rate (%) | FA Reduction (%) |
| (1) YOLOv8n Baseline | 84.6 | ±0.5 | 82.1 | ±0.6 | 86.3 | 18.3 | — |
| (2) + Motion Validation | 86.9 | ±0.4 | 81.4 | ±0.5 | 87.1 | 8.4 | 54.1 |
| (3) + ROI Exclusion | 88.1 | ±0.4 | 81.2 | ±0.5 | 87.8 | 6.5 | 64.5 |
| (4) + Night-Vision | 88.6 | ±0.3 | 84.9 | ±0.4 | 88.5 | 6.3 | 65.6 |
| (5) Full Pipeline (NexFire Pro) | 89.4 | ±0.4 | 85.7 | ±0.5 | 88.9 | 6.1 | 66.7 |
| Class | Configuration | Precision (%) | Recall (%) | F1 (%) | AP50 (%) | |
| Fire | (1) YOLOv8n Baseline | 86.2 | 83.7 | 84.9 | 88.1 | |
| Fire | (5) Full Pipeline | 91.3 ±0.4 | 87.4 ±0.4 | 89.3 | 90.7 | |
| Smoke | (1) YOLOv8n Baseline | 83.1 | 80.5 | 81.8 | 84.5 | |
| Smoke | (5) Full Pipeline | 87.5 ±0.4 | 84.0 ±0.5 | 85.7 | 87.1 | |
| Overall | (1) YOLOv8n Baseline | 84.6 | 82.1 | 83.4 | 86.3 | |
| Overall | (5) Full Pipeline | 89.4 ±0.4 | 85.7 ±0.5 | 87.5 | 88.9 | |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).