A Python library for visualizing and analyzing fire detection data
Project description
🔥 FireVizz
A Python library for visualizing and analyzing fire detection data from sensor networks.
✨ Features
- 🗺️ Interactive map visualization of fire sensor data
- 🤖 Real-time fire prediction using machine learning models
- 🌡️ Heatmap visualization for various sensor parameters
- 📤 Export of fire prediction coordinates and sensor data
- 🔌 Support for multiple sensor types (CO, air quality, temperature, etc.)
📦 Installation
pip install firevizz
🚀 Usage
from firevizz import FireVizz
# Initialize the visualizer
visualizer = FireVizz(
data_path="sensor_data.csv",
model_path="fire_detection_model.pkl" # Optional
)
# Create an interactive map
visualizer.create_map("fire_map.html")
# Export fire predictions to CSV
visualizer.export_fire_predictions("fire_locations.csv")
🧾 Input Data Format
The input CSV file should contain the following columns:
- 📍
latitude - 📍
longitude - 🧪
co_level - 🌫️
air_quality - 🌡️
temperature - 💧
humidity - ⚖️
pressure - 🧴
voc_level
📊 Output
-
Interactive HTML map showing:
- 📍 Sensor locations
- 🔥 Fire predictions
- 🌡️ Heatmaps for various parameters
- 🧭 Layer controls for toggling different visualizations
-
CSV file containing:
- 🌍 GPS coordinates of predicted fire locations
- 📋 Associated sensor readings
🖼️ Example
Here’s a preview of the generated interactive fire map:
Example fire prediction and sensor overlay map.
ℹ️ Don't forget to open
fire_map.htmlin your browser to explore the interactive features!
📄 License
📝 MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file firevizz-0.1.0.tar.gz.
File metadata
- Download URL: firevizz-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2622fbcba6e147edf53819968650dbede7d0e7e9727f1a6c3691cc9104d55f8c
|
|
| MD5 |
561f2a8bbe81f07e163cb2e98461d50d
|
|
| BLAKE2b-256 |
f5c3346d17a0afd9652a397763c3bb52988132c8669b02fc9deff10d233bf242
|
File details
Details for the file firevizz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: firevizz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a2136de3021c62123fac976a9f57631a07351fa61b2d8fe4b31e4a99fd72607
|
|
| MD5 |
17ac13d52169ceaaf74f7075a5218b33
|
|
| BLAKE2b-256 |
4f6d7d96339f601de2b9283273357fecda08c4c930db95d1ea82ef9fab8381a9
|