FireWatch-Java is a cross-language real-time fire detection system combining a Java-based desktop application with a PyTorch-based backend service.
java-client/: A Java Swing GUI that streams video, performs detection via REST API, and sends alertsmodel-server/: A Python Flask service that loads a YOLOv8 model to detect fire in images
- Real-time fire detection using PyTorch
- Java GUI video streaming with email alerts
- Dockerized backend with REST API
- Train or download a YOLOv8 fire detection model (
model.pt) - Run the model server:
cd model-server docker build -t firewatch-server . docker run -p 5000:5000 firewatch-server
- Run the Java client:
cd java-client/src javac FireWatchClient.java java FireWatchClient
MIT