Real-Time Fire Hazard Detection and Alerting in a Collaborative Edge-Cloud System
Abstract
Early visual detection of fire hazards is critical for warehouses, factories, campuses and public venues. However, conventional smoke and heat alarms respond only after conditions cross a threshold and leave no visual record, while cloud-based analytics incur high bandwidth and scalability costs. To address these limitations, this paper develops a real-time fire hazard detection and alerting system that partitions the computational workload between edge and cloud. Each edge node runs a YOLOv11n detector for flame and smoke detection. Frame sampling reduces the inference workload, while confidence gating prevents low-confidence detections from being reported. Only confirmed events are transmitted to the cloud as annotated snapshots and metadata and visualized on operator dashboards. Experiments on a public fire-and-smoke dataset and four representative video streams show that the prototype achieves sub-second first-alert latency, sustains above-real-time processing under concurrent multi-camera load, and produces no false positives on normal or red-object interference footage.
References
- Çetin, E., Dimitropoulos, K., Gouverneur, B., Grammalidis, N., Günay, O., Habiboğlu, Y. H., Töreyin, B. U., & Verstockt, S. (2013). Video fire detection – Review.Digital Signal Processing, 23(6), 1827–1843. https://doi.org/10.1016/j.dsp.2013.07.003
- Hall, J. R., Jr. (2014). The total cost of fire in the United States.Fire Technology, 50(2), 261–286.
- Töreyin, B. U., Dedeoğlu, Y., Güdükbay, U., & Çetin, A. E. (2006). Computer vision based method for real-time fire and flame detection.Pattern Recognition Letters, 27(1), 49–58. https://doi.org/10.1016/j.patrec.2005.06.021
- Ananthanarayanan, G., Bahl, P., Bodík, P., Chintalapudi, K., Philipose, M., Ravindranath, L., & Sinha, S. (2017). Real-time video analytics: The killer app for edge computing.Computer, 50(10), 58–67. https://doi.org/10.1109/MC.2017.3641638
- Hsieh, K., Hao, Y., Chen, B., & Kozuch, M. (2018). Focus: Querying large video datasets with low latency and low cost. InProceedings of the USENIX Symposium on Operating Systems Design and Implementation (OSDI)(pp. 1–16).
- Satyanarayanan, M. (2017). The emergence of edge computing.Computer, 50(1), 30–39. https://doi.org/10.1109/MC.2017.9
- Shi, W., Cao, J., Zhang, Q., Li, Y., & Xu, L. (2016). Edge computing: Vision and challenges.IEEE Internet of Things Journal, 3(5), 637–646. https://doi.org/10.1109/JIOT.2016.2579198
- Ultralytics. (2024). Ultralytics YOLO11 documentation.Ultralytics. https://docs.ultralytics.com/models/yolo11/
- Ramírez, S. (n.d.). FastAPI: A modern, fast (high-performance) web framework for building APIs with Python.FastAPI. https://fastapi.tiangolo.com/
- Bradski, G. (2000). The OpenCV library.Dr. Dobb's Journal of Software Tools, 25(11), 120–125.
- NVIDIA Corporation. (2024). Video Codec SDK: Video decode and presentation API for NVIDIA GPUs.NVIDIA Developer. https://developer.nvidia.com/video-codec-sdk
- Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., & Zitnick, C. L. (2014). Microsoft COCO: Common objects in context. InProceedings of the European Conference on Computer Vision (ECCV)(pp. 740–755).
- Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., & Chintala, S. (2019). PyTorch: An imperative style, high-performance deep learning library. InAdvances in Neural Information Processing Systems (NeurIPS)(pp. 8024–8035).
- Rezatofighi, H., Tsoi, N., Gwak, J., Sadeghian, A., Reid, I., & Savarese, S. (2019). Generalized intersection over union: A metric and a loss for bounding box regression. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)(pp. 658–666).
- Kaggle. (2022). Smoke fire detection YOLO [Data set]. https://www.kaggle.com/datasets/sayedgamal99/smoke-fire-detection-yolo/data
- Padilla, R., Netto, S. L., & da Silva, E. A. B. (2020). A survey on performance metrics for object-detection algorithms. InProceedings of the International Conference on Systems, Signals and Image Processing (IWSSIP)(pp. 237–242). https://doi.org/10.1109/iwssip48289.2020.9145130