Real-time deforestation monitoring platform for Kenya Wildlife Service — Earth Engine NDVI analysis, ML anomaly detection, React dashboard with interactive maps
# Kenya Deforestation Monitor
**Real-time forest surveillance platform for Kenya Wildlife Service**
---
A full-stack monitoring platform that detects deforestation activity across Kenya's national parks and reserves in near real-time. The system combines **satellite imagery analysis** (Google Earth Engine NDVI), **deep learning anomaly detection** (PyTorch), and **interactive geospatial dashboards** (React + Leaflet) to give conservationists actionable intelligence on forest health.
Built for the Kenya Wildlife Service (KWS) to protect over 50 national parks and reserves.
## What It Does
- **Satellite Monitoring** — streams NDVI vegetation indices from Google Earth Engine and NASA GIBS MODIS, detecting canopy loss across all monitored parks
- **ML Anomaly Detection** — PyTorch model trained on historical NDVI patterns flags abnormal vegetation changes that may indicate logging, fire, or encroachment
- **Interactive Map** — React + Leaflet dashboard with NDVI overlays, park boundaries from verified GeoJSON/Shapefiles, and drill-down park detail pages
- **Analytics Hub** — risk distribution charts, NDVI trajectories, park-to-park comparisons, rainfall trends (NASA POWER + Open-Meteo), and alert cadence tracking
- **Automated Alerts** — Gmail notifications when anomalies are detected, with configurable thresholds per park
- **IoT Sensor Mesh** — architecture scaffold for LoRaWAN acoustic sensors, camera traps, and ranger GPS trackers feeding into the satellite workflow
- **Blockchain Reporting** — Solidity smart contract for tamper-proof threat report logging on-chain
- **Anonymous Reporting** — public endpoint for community-submitted deforestation tips
## Architecture
```
kenya-deforestation-monitor/
├── frontend/ # React + Vite SPA
│ └── src/
│ ├── pages/ # Dashboard, Map, Analytics, Insights, Parks, Alerts
│ ├── components/ # MetricCard, WeatherCharts, ParkFacts, StoryCard
│ ├── api/ …