Real-time fire detection with alarm using computer vision.
OpenCV • Python • Real-Time Camera Monitoring
Version 1.0.0 • Developed by Amit Das
FlameWatch – Fire Detector is a real-time computer vision system that detects fire using your webcam and instantly triggers an alarm.
It uses HSV color detection and flicker analysis to identify real flames while avoiding false alerts from static objects like red clothes, lights, or reflections.
This project is ideal for:
- Home safety demos
- Smart surveillance prototypes
- Computer vision learning
All processing happens locally on your PC — no internet required.
✅ Real-time fire detection via webcam
✅ Smart flicker verification to reduce false alarms
✅ Alarm sound on confirmed fire
✅ Bounding boxes around fire regions
✅ Live terminal analytics logs
✅ Clean Tkinter start screen
- Webcam captures live frames
- Frames converted to HSV color space
- Orange/yellow fire colors are isolated
- Flicker motion is measured between frames
- Fire is confirmed after multiple frames
- Alarm is triggered and warning appears
- Python 3.9+
- OpenCV
- NumPy
- Pygame
- Tkinter (comes with Python)
pip install opencv-python numpy pygamepython main.pyClick START to begin fire monitoring. Press Q to stop and close the camera.
This project is for educational and demonstration purposes only. It should not replace certified fire detection or safety equipment.
MIT License © 2026 Amit Das
Made with ❤️ by Amit Das
☕ Support development: PayPal.me/AmitDas4321

