Skip to content

uzumstanley/Fire-Detection-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Fire Detection System using YOLOv8

🔴 Title

Fire Detection using YOLOv8

🔴 Aim

The aim of this project is to implement a fire detection system using the YOLOv8 (You Only Look Once) object detection model to identify fire in images and videos.

🔴 Brief Explanation

This project leverages the YOLOv8 architecture, which is known for its speed and accuracy in object detection tasks. The model is trained to detect fire and can be applied in various domains, including safety monitoring and environmental protection.

Key Features:

  • Real-Time Fire Detection: Quickly identifies fire in images and videos.
  • Model Implementation: Easy integration of YOLOv8 for fire detection tasks.
  • Flexible Usage: Can be adapted for different environments and scenarios.

Requirements

To run this project, you will need the following dependencies:

  • Python 3.x
  • PyTorch
  • OpenCV
  • NumPy
  • Matplotlib

Installation

  1. Clone the repository:

    git clone https://github.com/rugved0102/Computer-Vision-Projects.git
    cd Computer-Vision-Projects/Fire-Detection-using-YOLOv8
  2. Install the required packages:

    pip install -r requirements.txt

Usage

You can use the main.py file to implement fire detection using YOLOv8. Below is a brief explanation of how to use it:

  1. Prepare your input images.
  2. Run the following command:
    python main.py --input <path_to_your_image_or_video> --output <path_to_save_output>
  3. The output will display the detected fire instances along with the confidence score.

Example

python main.py --input path/to/image.jpg --output path/to/output.jpg

Screenshots 📷

image

Contributions

Feel free to contribute to this project. Please adhere to the following guidelines while making contributions:

  • Follow PEP 8 standards for code.
  • Use meaningful commit messages.
  • Ensure the code works as expected before submitting a pull request.
  • Comment your code for better readability.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published

Languages