AI-powered livestock disease monitoring system for Kenyan pastoral farmers β Z-score anomaly detection, real-time alerts, Leaflet.js Kenya map
# π LivestockAI β Livestock Disease Monitoring System
**AI-powered real-time health monitoring for Kenyan pastoral livestock**
Transforming raw sensor data into actionable veterinary intelligence for farmers, researchers, and field officers across Kenya's pastoral counties.
---
## Dashboard Preview
*Herd Dashboard β 20 animals across 4 species, Kenya map with colour-coded health pins, live alert feed, Chart.js status breakdown*
*All Animals β species badges, health status, and latest vitals for every animal in the herd*
*Alert Feed β 765 alerts with severity, triggered vital signs, timestamps, and one-click resolution*
---
## The Problem
A pastoral farmer in Turkana notices a camel is moving less than usual. By the time visible symptoms appear β three days later β the animal has infected two others. Early detection could have saved all three.
Kenya has **10.4 million cattle, 17.5 million goats, and 3.4 million camels**. Livestock accounts for 12% of GDP and is the primary income source for 70% of arid and semi-arid land communities. Disease outbreak is the single largest cause of livestock loss β and almost all of it is preventable with early warning.
Continuous vital sign monitoring exists for humans. **LivestockAI brings it to livestock.**
---
## What It Does
| Feature | Description |
|---------|-------------|
| πΎ **Animal Tracking** | Individual profiles β ID, species, age, weight, GPS location across Kenyan counties |
| π‘ **Sensor Ingestion** | Four vital signs per reading: body temperature, heart rate, respiratory rate, movement activity |
| π€ **AI Anomaly Detection** | Z-score analysis against each animal's rolling 30-reading baseline β no hardcoded thresholds |
| π¨ **Automated Alerts** | Generated instantly on every reading, severity-classified, stored with full Z-score audit trail |
| πΊοΈ **Live Kenya Map** | Leaflet.js map with colour-coded pins β green healthy, amber warning, red critical |
| π **Trend Charts** | Chart.js vital sign h β¦