Skip to content

FlameWatch: Real-time fire detection using webcam with HSV color + flicker verification, bounding boxes, live logs, and auto alarm — built with Python, OpenCV, NumPy, Pygame & Tkinter.

License

Notifications You must be signed in to change notification settings

AmitDas4321/FlameWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlameWatch Banner

Real-time fire detection with alarm using computer vision.

FlameWatch – Fire Detector

OpenCV • Python • Real-Time Camera Monitoring
Version 1.0.0 • Developed by Amit Das


🧩 Overview

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.


⚙️ Features

✅ 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


🖥️ How It Works

  1. Webcam captures live frames
  2. Frames converted to HSV color space
  3. Orange/yellow fire colors are isolated
  4. Flicker motion is measured between frames
  5. Fire is confirmed after multiple frames
  6. Alarm is triggered and warning appears

🛠️ Requirements

  • Python 3.9+
  • OpenCV
  • NumPy
  • Pygame
  • Tkinter (comes with Python)

Install dependencies

pip install opencv-python numpy pygame

▶️ Run the Project

python main.py

Click START to begin fire monitoring. Press Q to stop and close the camera.


🖼️ Screenshots

🔥 Fire Detected

🎥 Live Camera View

FlameWatch Demo Video


🔒 Safety Disclaimer

This project is for educational and demonstration purposes only. It should not replace certified fire detection or safety equipment.


📜 License

MIT License © 2026 Amit Das


Made with ❤️ by Amit Das
☕ Support development: PayPal.me/AmitDas4321

About

FlameWatch: Real-time fire detection using webcam with HSV color + flicker verification, bounding boxes, live logs, and auto alarm — built with Python, OpenCV, NumPy, Pygame & Tkinter.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Languages