Skip to content

TheKingOo/Real-Time-Fire-Detection-Flask-App-Using-YOLOv8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Fire Detection Flask App Using YOLOv8

Welcome to the Real-Time Fire Detection Flask App! This application harnesses the power of YOLO (You Only Look Once),to provide instant fire detection directly from your webcam feed. Built on the Flask web framework for Python, it offers a seamless and user-friendly experience.

Model Metrics

metrics These metrics collectively showcase the model's reliability and efficiency in real-world fire detection scenarios.

Model Architecture

architecture

Implementation Details

Website

implementation

WebCam

implimentation

Getting Started

Prerequisites

Make sure you have Python and pip installed. Additionally, you may need to install virtualenv:

pip install virtualenv

Installation

1 - Clone the repository:

git clone https://github.com/TheKingOo/YOLOv8-Fire-Detection-Webcam-App-with-Flask.git
cd YOLOv8-Fire-Detection-Webcam-App-with-Flask

2 - Create and activate a virtual environment:

# On Windows
python -m venv venv

# On macOS/Linux
python3 -m venv venv

# Activate the virtual environment
# On Windows
.\venv\Scripts\activate

# On macOS/Linux
source venv/bin/activate

3 - Install the dependencies:

pip install -r requirements.txt

Usage

1 - Run the Flask app:

python app.py

2 - Open your web browser and go to http://127.0.0.1:5000/ to access the app.

Contributing

Feel free to contribute to the development of this project by opening issues or creating pull requests.