DeepEcho is a Streamlit dashboard for pond health monitoring with simulated telemetry, 3D sludge visualization, GPS-referenced mapping, risk scoring, historical logging, and report export.
- Simulates pond bathymetry, sludge accumulation, and environmental readings
- Calculates hypoxia risk and alert state (
NORMAL,WARNING,CRITICAL) - Visualizes pond state in:
- 3D bathymetry/sludge map
- Optional GPS-referenced 2D contour map
- Gauges, radar, and trend charts
- Detects sludge hotspots and tags them with GPS coordinates
- Stores measurements in local SQLite (
deepecho.db) - Exports:
- PDF report (
reportlab) - CSV history
- Sidebar controls
- Operation mode (
Monitoring,Survey,Calibration) - Auto refresh toggle (2s)
- GPS center inputs
- Display toggles for survey path and GPS map
- KPI cards: temperature, hypoxia, ammonia, sludge stats
- Main visual row:
- 3D pond view (
Sludge Depth,Bottom Terrain,Combined) - Risk and ammonia gauges
- Secondary row:
- Water quality radar
- System health bars
- Tabs:
- Ammonia forecast
- Historical trends
- Raw history table
- AI treatment action plan
- Export buttons (PDF and CSV)
- Python
- Streamlit
- Plotly
- NumPy
- Pandas
- SciPy
- SQLite
- ReportLab
app.py Streamlit app entrypoint and UI
config.py Global config, thresholds, GPS defaults
data_simulator.py Pond/sludge/environment/GPS simulation
risk_engine.py Hypoxia risk + alert logic
database.py SQLite init/insert/load helpers
system_monitor.py Simulated device health metrics
requirements.txt Python dependencies
README.md Project documentation
design.md Architecture/design notes
GPS_INTEGRATION.md GPS implementation details
Untitled40 (1).ipynb Notebook/prototype notes
deepecho.db Local SQLite database (runtime data)
*.h5 / *_quant.tflite Model artifacts currently stored in repo
DeepEcho_Presentation.pptx Presentation asset
incubation_Report (1).pdf Document asset
- Clone the repository:
git clone https://github.com/aazeeem11/DeepEcho-Edge-AI-Water-Intelligence.git
cd DeepEcho-Edge-AI-Water-Intelligence- Create and activate a virtual environment:
Windows (PowerShell):
python -m venv .venv
.venv\Scripts\Activate.ps1Linux/macOS:
python -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run:
streamlit run app.pyDefault local URL is typically http://localhost:8501.
Update config.py for thresholds and pond/GPS defaults:
- Pond size/grid and sludge cap
- Hypoxia and ammonia warning/critical thresholds
- GPS center and pond dimensions in meters
- Runtime inserts one measurement per app rerun into SQLite table
measurements - Database file:
deepecho.dbin project root - On ephemeral hosting, local DB may reset on restart/redeploy
- PDF report includes:
- Snapshot metrics
- Sludge analysis
- Treatment plan
- Recent history
- CSV export contains all stored measurement rows
ModuleNotFoundError: No module named 'reportlab'
- Run
pip install -r requirements.txt
- Port already in use (
8501)
- Stop old Streamlit process, or run
streamlit run app.py --server.port 8502
- Empty/short history
- Let app run with auto-refresh enabled to accumulate rows
- Inputs are simulated, not live hardware telemetry
- No authentication or role-based access
- Local SQLite only (no managed production backend)
No license file is currently included. Add a LICENSE file to define usage terms.