# π°οΈ Uganda Satellite Intelligence Platform (USIP)
> **An AI-driven Earth observation and environmental monitoring platform utilizing multispectral satellite imagery and machine learning to assess agricultural crop health across Uganda.**
---
## π Overview
The **Uganda Satellite Intelligence Platform (USIP)** integrates multi-sensor satellite imagery and meteorological datasets to detect, monitor, and predict localized crop stress in Uganda. By coupling real-time satellite data from **Google Earth Engine** with a trained **Random Forest classification model**, USIP delivers actionable agricultural metrics through a high-performance **FastAPI** backend and an interactive **Streamlit GIS dashboard**.
---
## ποΈ System Architecture
```text
[ Sentinel-2 L2A ] [ CHIRPS Rainfall ] [ ERA5-Land Temp ]
β β β
βββββββββββββββββββββββββββΌββββββββββββββββββββββββββ
βΌ
[ Google Earth Engine Pipeline ]
β
βΌ
[ Feature Fusion Engine ]
(NDVI, Precipitation, Temp)
β
βΌ
[ Random Forest ML Engine ]
(model.joblib)
β
βΌ
[ FastAPI REST Backend ]
(
127.0.0.1)
β
βΌ
[ Streamlit Spatial Dashboard ]
(
localhost)
```
---
## β¨ Key Features
* **Multi-Sensor Fusion:** Automatically ingests high-resolution **Sentinel-2** (NDVI vegetation index), **CHIRPS** (daily rainfall aggregates), and **ERA5-Land** (surface air temperature).
* **Predictive ML Classification:** Evaluates environmental indicators to classify crop status into three health tiers:
* π’ **Healthy** (`NDVI > 0.60`)
* π‘ **Moderate Stress** (`0.40 <= NDVI <= 0.60`)
* π΄ **High Stress** (`NDVI < 0.40`)
* **REST API Service:** Built on **FastAPI** for real-time spatial inference and integration with external GIS clients.
* **Interactive GIS Dashboard:** Interactive monitoring across Ugandan districts (Kamwenge, Kasese, Gulu, Mbarara, Mbale) powered by **Streamlit** and **Folium**.
---
## π API Documentation
### `GET /api/v1/assess-crop-health` β¦