AgriGuard is an agricultural intelligence system designed to improve food security in Uganda by forecasting crop prices, detecting counterfeit seeds and agro-inputs, and providing market risk insights. It supports farmers and government with data-driven decisions to increase productivity, income stability, and market transparency.
# AgriGuard
**Agricultural Intelligence System for Uganda**
---
### Overview
**AgriGuard** is an intelligent agricultural platform designed to strengthen **food security, farmer incomes, and agro-input quality** in Uganda.
It combines **machine learning**, **data analytics**, and **user-friendly dashboards** to solve critical challenges faced by Ugandan farmers and policymakers.
---
### Problem Statement
Farmers in Uganda continue to struggle with:
- High **crop price volatility** leading to income uncertainty
- Widespread **counterfeit seeds, fertilizers, and pesticides**
- Limited access to timely **market intelligence**
- Climate and production risks
---
### Solution
AgriGuard delivers **data-driven insights** through:
- **Accurate crop price forecasting** using Machine Learning
- **Counterfeit agro-input detection** system
- **Market risk analysis** and intelligence dashboard
- Decision support tools for **farmers**, **agribusinesses**, and **government**
---
### Key Features (MVP)
- **Price Forecasting Engine** — Predict future prices for major Ugandan crops (maize, matooke, coffee, beans, cassava, etc.)
- **Fake Input Detector** — Verify authenticity of seeds, fertilizers, and pesticides
- **Interactive Dashboard** — Built with Streamlit for easy visualization and insights
- **Backend API** — FastAPI for scalable and secure data access
- **Data Pipeline** — Structured processing of raw agricultural data
---
### Tech Stack
| Layer | Technologies |
|--------------------|---------------------------------------|
| **Backend** | FastAPI, Python |
| **Frontend** | Streamlit |
| **ML / Data** | scikit-learn, pandas, NumPy, Matplotlib, Seaborn |
| **Infrastructure** | Docker, Docker Compose |
| **Development** | VS Code, Jupyter Notebooks |
---
### 📁 Project Structure
```bash
AgriGuard/
├── backend/ …