.
Fire Detection AI is a real-time fire detection system leveraging the power of the YOLO (You Only Look Once) algorithm. It analyzes video streams or images to detect fire quickly and accurately, enabling timely alerts to help prevent fire-related disasters.
- Real-time fire detection using state-of-the-art YOLO object detection
- Supports live webcam streams and video file inputs
- Trained on a custom fire dataset for improved accuracy (Dataset link)
- Highlights fire regions with clear bounding boxes
- Designed for easy integration with alerting or logging systems
- Python 3.2
- OpenCV for image and video processing
- YOLO (Darknet / YOLOv5 / YOLOv8 โ specify your version)
- PyTorch or TensorFlow depending on YOLO implementation
- NumPy for numerical operations
Fire-Detection-AI/ โโโ main.py # Main script to execute fire detection โโโ model/ # YOLO trained weights and configuration files
yaml Copy Edit
- Loads the YOLO model from the
model/
directory - Captures frames from the webcam or video file specified by the user
- Runs inference on each frame to detect fire regions
- Draws bounding boxes around detected fire areas in real-time
- (Optional) Can be extended to trigger alerts or notifications
- Integrate alert and notification system (email, SMS, push notifications)
- Support for multi-camera and network video streams
- Optimize model for deployment on embedded and edge devices
This project is released under the MIT License, which means you are free to use, modify, and distribute it โ even commercially โ as long as you include this original license and attribution.
Feel free to use this project however you like!
If you make improvements or fixes, contributions are always welcome but not required.
ยฉ 2025 Metin Amedi
Developed by Metin Amedi
Email: [[email protected]]
โญ If you find this project useful, please consider starring the repository!