2024-04-30
2024-06-28
2024-06-06
Manuscript received October 20, 2023; revised November 29, 2023; accepted December 6, 2023; published April 10, 2024.
Abstract—This paper provides a thorough analysis and comparison of the YOLOv5 and YOLOv8 models for wildfire and smoke detection, using the Foggia dataset for evaluation. The study examines the small (s), medium (m), and large (l) variants of each architecture and employs various metrics, including recall, precision, F1-Score, and mAP@50, to assess performance. Additional considerations such as training and inference times, along with the number of epochs required for optimal recall, are also evaluated to gauge the models’ real-world efficiency and effectiveness. Quantitatively, YOLOv5 models generally outperform YOLOv8, with the YOLOv5s variant achieving the highest scores across all metrics. However, visual assessments reveal that YOLOv8 models exhibit similar, and in some cases superior, capabilities, particularly in detecting dark and dense smoke. Training times favor YOLOv5 models, contributing to their efficiency, and their shorter inference times offer advantages for real-time applications. While the “best model” variants confirm YOLOv5’s numerical dominance, YOLOv8’s “best models” also display competitive performance. Future research will explore model evaluation on diverse datasets and hyperparameter optimization to further enhance performance, adaptability, and applicability in various real-world object detection scenarios. Keywords—wildfire detection, smoke detection, computer vision, deep learning, artificial intelligence, YOLO Cite: Edmundo Casas, Leo Ramos, Eduardo Bendek, and Francklin Rivas-Echeverria, "YOLOv5 vs. YOLOv8: Performance Benchmarking in Wildfire and Smoke Detection Scenarios," Journal of Image and Graphics, Vol. 12, No. 2, pp. 127-136, 2024. Copyright © 2024 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY-NC-ND 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.