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.
These metrics collectively showcase the model's reliability and efficiency in real-world fire detection scenarios.
Make sure you have Python and pip installed. Additionally, you may need to install virtualenv:
pip install virtualenv
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
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.
Feel free to contribute to the development of this project by opening issues or creating pull requests.