Skip to content

X-Men01/YOLOv10-Fire-and-Smoke-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YOLOv10-Fire and Smoke Detection

This project focuses on real-time detection and tracking of fires and smoke in video feeds using the latest YOLOv10 model. in this repository includes all the necessary code and resources to implement and demonstrate a robust fire and smoke detection system, showcasing the capabilities of the YOLOv10 model.
demo.mov

Hugging Face Demo

To see the model in action, you can test it through Hugging Face demo.

Screenshot 2024-07-25 at 6 28 26 AM

Data

The dataset used for this project consists of images containing fire and smoke,primarily collected from Roboflow. To ensure the quality and reliability of the dataset, we performed an extensive data cleaning process using the cleanvision library.

Data Cleaning Process

The data cleaning process was thoroughly documented in a Jupyter notebook. You can find the notebook, which includes all the code and results, here.

Data Download

You can download the dataset used in this project from the following link: Download Dataset.

cleanvision_report

cleanvision_report

Dataset Statistics

Total Number of Images After cleaning: 123,015
Distribution of Labels:

Screenshot 2024-07-29 at 2 50 03 PM

Training and Validation Metrics

Precision, Recall, and mAP50

To further evaluate the model's performance, we measure precision, recall, and mean Average Precision at 50% IoU (mAP50). These metrics help assess the accuracy and reliability of the model in detecting and classifying fire and smoke in images.

  • Precision: The ratio of true positive detections to the total number of positive detections (both true and false). It indicates how many of the predicted fires or smoke instances are correct.
  • Recall: The ratio of true positive detections to the total number of actual positive instances. It shows how well the model captures all the instances of fire and smoke.
  • mAP50: The mean Average Precision at 50% Intersection over Union (IoU) is a comprehensive metric that combines precision and recall, providing a single score to evaluate the model's overall performance. results

Model

The trained YOLOv10 model for fire and smoke detection is provided in this repository. You can download and use the pre-trained model to perform fire and smoke detection on your own images or videos.

The model weights can be downloaded from the link below: Download YOLOv10 Model Weights

About

YOLOv10: Real-Time Fire and Smoke Detection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published