Outdoor fire detection using the improved YOLO Nano version 8 model

Document Type : Original Article

Authors

1 M.Sc. Student in Artificial Intelligence and Robotics, Department of Computer Engineering, Faculty of Engineering, Shahid Bahonar University of Kerman, Iran

2 Assistant Professor, Department of Computer Engineering, Faculty of Engineering, Shahid Bahonar University of Kerman, Iran

3 Associate Professor, Department of Computer Engineering, Faculty of Engineering, Shahid Bahonar University of Kerman, Iran

Abstract

The YOLOv8-nano model is designed as a lightweight network for real-time object detection, but it has limitations in detecting small objects such as fire and smoke. In this study, the proposed model improves performance for small objects by extending the feature pyramid to the P2 scale, adding the CBAM attention module in the intermediate and deep layers, and replacing standard convolution with GhostConv in the PAN pathway. The P2 scale preserves the spatial details of small objects, while the FPN pathway transfers semantic information from deeper layers. The CBAM module, by combining channel and spatial attention, enhances features related to small objects and reduces background noise. GhostConv also increases model efficiency by reducing parameters and computational complexity. Experimental results on the dataset show that the proposed model provides an optimal balance between detection accuracy and computational cost, and achieves better accuracy than YOLOv8-n in real-time applications. These results indicate that the optimized architecture can offer an effective solution for detecting small objects in complex environments.

Keywords

Main Subjects


[1]     S. Jamal, E. Benny, G. Joseph, H. Jackson, and J. D. Koshy, “A novel framework for real-time fire detection in CCTV videos using a hybrid approach of motion-flicker detection, colour detection and YOLOv7,” in Proc. Int. Conf. Electr., Comput., Commun. and Mechatronics Eng. (ICECCME), Tenerife, Spain, 2023.
[2]     X. Cao, Y. Su, X. Geng, and Y. Wang, “YOLO SF: YOLO for fire segmentation detection,” in IEEE Access, 2023.
[3]     M. Bistrović, D. Kezić, and D. Komorčec, “Historical development of fire detection system technology on ships,” in Naše more, 2013.
[4]     R. Zhou, Y. Zhang, and Z. Liu, “Application of common-use temperature sensors to early fire detection,” in Lecture Notes in Electrical Engineering, Singapore, 2018.
[5]     L. Du, R. Zhang, and X. Wang, “Overview of two-stage object detection algorithms,” in International School, Beijing University of Post and Telecommunication, Beijing, China, 2023.
[6]     R. Girshick, J. Donahue, T. Darrell, and J. Malik, “Rich feature hierarchies for accurate object detection and semantic segmentation,” in 2014 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA, 2014.
[7]     R. Girshick, “Fast R-CNN,” in 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, 2015.
[8]     X. Wu, W. Li, D. Hong, R. Tao, and Q. Du, “Deep learning for unmanned aerial vehicle-based object detection and tracking: a survey,” in IEEE Geoscience and Remote Sensing Magazine, 2021.
[9]     J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection,” in Proc. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2016.
[10] G. Jocher, A. Chaurasia, J. Qiu, and Ultralytics Team,“YOLOv8: Ultralytics official documentation,” in Ultralytics, 2023.
[11] C. Li, D. Wu, X. Zhang, and P. Wu, “GSF-YOLOv8: A novel approach for fire detection using gather-distribute mechanism and SimAM attention,” in IEEE Access, 2024.
[12] D. Mamadaliev, P. L. M. Touko, J.-H. Kim, and S.-C. Kim, “ESFD-YOLOv8n: Early Smoke and Fire Detection Method Based on an Improved YOLOv8n Model,” in Fire, 2024.
[13] C. Li, Y. Du, X. Zhang, and P. Wu, “YOLOGX: an improved forest fire detection algorithm based on YOLOv8,” in Frontiers in Environmental Science, 2025.
[14] S. Woo, J. Park, J.-Y. Lee, and I. S. Kweon, “CBAM: Convolutional block attention module,” in Proc. Eur. Conf. Comput. Vis. (ECCV), 2018.
[15] K. Han, Y. Wang, Q. Tian, J. Guo, C. Xu, and C. Xu, “GhostNet: More Features from Cheap Operations,” in arXiv preprint, 2020.
[16] Sayedgamal99, “Smoke Fire Detection YOLO,” in Kaggle, 2023.
[17] “FASD dataset,” in Google Drive, 2025.