How maxgertner/wildfire-detection works
This repository is a set of webcam-based fire-detection examples using FireNet, InceptionV1-OnFire, and a superpixel variant, plus utilities to export trained networks to TensorFlow protobuf. The main runtime flow captures frames, classifies them, and either displays annotated results or streams frames through Flask. The README provides no further capability details; the streamer's authentication support is visible in its source, but its imported login manager is not present in the supplied tree.
Main entry points: converter.py Export helper · firenet.py FireNet runtime · onFire.py Inception runtime · superpixel-fire.py Superpixel runtime
Components 17
Detection runtimes
- FireNet runtime
fire-detection/firenet.py - Inception runtime
fire-detection/onFire.py - Superpixel runtime
fire-detection/superpixel-fire.py
CNN models
- FireNet network
fire-detection/firenet.py - Inception network
fire-detection/onFire.py - Superpixel network
fire-detection/superpixel-fire.py - FireNet weights
fire-detection/models/fire_detection - Inception weights
fire-detection/models/SP-InceptionV1-OnFire - Superpixel weights
fire-detection/models/SP-InceptionV1-OnFire
Video streaming
- Flask streamer
fire-detection/flask_opencv_streamer/streamer.py
Model export
- Export helper
fire-detection/converter/converter.py - FireNet exporter
fire-detection/converter/firenet-to-protobuf.py - Inception exporter
fire-detection/converter/inceptionV1OnFire-to-protobuf.py - Frozen protobuf
Other components
- Camera
- Stream viewer
- Local display
Connections 20
- Camera → FireNet runtime: supplies frames
- Camera → Inception runtime: supplies frames
- Camera → Superpixel runtime: supplies frames
- FireNet runtime → FireNet network: predicts with
- Inception runtime → Inception network: predicts with
- Superpixel runtime → Superpixel network: predicts segments
- FireNet weights → FireNet runtime: loads weights
- Inception weights → Inception runtime: loads weights
- Superpixel weights → Superpixel runtime: loads weights
- FireNet runtime → Flask streamer: updates frames
- Superpixel runtime → Flask streamer: updates frames
- Flask streamer → Stream viewer: serves video
- Inception runtime → Local display: displays results
- FireNet exporter → FireNet network: constructs
- Inception exporter → Inception network: constructs
- FireNet exporter → Export helper: invokes export
- Inception exporter → Export helper: invokes export
- Export helper → FireNet weights: loads checkpoint
- Export helper → Inception weights: loads checkpoint
- Export helper → Frozen protobuf: writes model