|
|
--- |
|
|
title: FarmEyes |
|
|
emoji: π± |
|
|
colorFrom: green |
|
|
colorTo: yellow |
|
|
sdk: docker |
|
|
app_port: 7860 |
|
|
pinned: false |
|
|
suggested_hardware: cpu-basic |
|
|
--- |
|
|
|
|
|
# π± FarmEyes |
|
|
|
|
|
**AI-Powered Crop Disease Detection for African Farmers** |
|
|
|
|
|
[](https://awarri.com) |
|
|
[](https://huggingface.co/NCAIR1/N-ATLaS) |
|
|
|
|
|
--- |
|
|
|
|
|
## π― What is FarmEyes? |
|
|
|
|
|
FarmEyes is an AI application that helps African farmers identify crop diseases and get treatment recommendations in their native languages. Simply upload a photo of your crop, and FarmEyes will: |
|
|
|
|
|
1. **Detect** the disease using computer vision (YOLOv11) |
|
|
2. **Diagnose** the condition with severity assessment |
|
|
3. **Translate** all information to your preferred language |
|
|
4. **Chat** with an AI assistant for follow-up questions |
|
|
|
|
|
--- |
|
|
|
|
|
## π Supported Languages |
|
|
|
|
|
| Language | Native Name | |
|
|
|----------|-------------| |
|
|
| π¬π§ English | English | |
|
|
| π³π¬ Hausa | Yaren Hausa | |
|
|
| π³π¬ Yoruba | ΓdΓ¨ YorΓΉbΓ‘ | |
|
|
| π³π¬ Igbo | Asα»₯sα»₯ Igbo | |
|
|
|
|
|
--- |
|
|
|
|
|
## π¦ Detectable Diseases |
|
|
|
|
|
| Crop | Diseases | |
|
|
|------|----------| |
|
|
| πΏ **Cassava** | Bacterial Blight, Mosaic Virus | |
|
|
| π« **Cocoa** | Monilia Disease, Phytophthora Disease | |
|
|
| π
**Tomato** | Gray Mold Disease, Wilt Disease | |
|
|
|
|
|
--- |
|
|
|
|
|
## π How to Use |
|
|
|
|
|
### Step 1: Select Language |
|
|
Choose your preferred language from the welcome screen. |
|
|
|
|
|
### Step 2: Upload Image |
|
|
Take a photo of the affected crop leaf and upload it. |
|
|
|
|
|
### Step 3: View Results |
|
|
- Disease name and confidence score |
|
|
- Severity level (Low/Moderate/High/Critical) |
|
|
- Treatment recommendations |
|
|
- Cost estimates in Nigerian Naira (β¦) |
|
|
|
|
|
### Step 4: Ask Questions |
|
|
Use the chat feature to ask follow-up questions about the diagnosis. |
|
|
|
|
|
--- |
|
|
|
|
|
## π§ Technology Stack |
|
|
|
|
|
| Component | Technology | |
|
|
|-----------|------------| |
|
|
| **Disease Detection** | YOLOv11 (trained on African crops) | |
|
|
| **Language Model** | N-ATLaS (Nigerian multilingual AI) | |
|
|
| **Speech-to-Text** | OpenAI Whisper | |
|
|
| **Backend** | FastAPI | |
|
|
| **Frontend** | Custom HTML/CSS/JS | |
|
|
|
|
|
--- |
|
|
|
|
|
## π± Features |
|
|
|
|
|
- β
**Image Upload** - Drag & drop or click to upload |
|
|
- β
**Real-time Detection** - Results in seconds |
|
|
- β
**Multilingual Support** - 4 Nigerian languages |
|
|
- β
**Voice Input** - Speak your questions |
|
|
- β
**Text-to-Speech** - Listen to responses |
|
|
- β
**Treatment Advice** - Practical farming guidance |
|
|
- β
**Cost Estimates** - In Nigerian Naira |
|
|
|
|
|
--- |
|
|
|
|
|
## β οΈ First Startup Notice |
|
|
|
|
|
**Please be patient on first use!** |
|
|
|
|
|
The N-ATLaS language model (~4.92GB) is downloaded automatically on first startup. This may take **5-15 minutes** depending on connection speed. Subsequent uses will be much faster. |
|
|
|
|
|
--- |
|
|
|
|
|
## π About |
|
|
|
|
|
FarmEyes was built for the **Awarri Developer Challenge 2025** to address the critical need for accessible agricultural AI in Africa. |
|
|
|
|
|
**The Problem:** |
|
|
- 20-80% crop losses annually due to diseases |
|
|
- Only 1 extension worker per 10,000 farmers (FAO recommends 1:1,000) |
|
|
- Agricultural knowledge locked in English |
|
|
|
|
|
**Our Solution:** |
|
|
- AI-powered disease detection accessible via smartphone |
|
|
- Native language support through N-ATLaS |
|
|
- Practical, localized treatment recommendations |
|
|
|
|
|
--- |
|
|
|
|
|
## π¨βπ» Developer |
|
|
|
|
|
**Fola-AI** |
|
|
|
|
|
- π€ HuggingFace: [@Fola-AI](https://huggingface.co/Fola-AI) |
|
|
|
|
|
--- |
|
|
|
|
|
## π License |
|
|
|
|
|
Apache 2.0 |
|
|
|
|
|
--- |
|
|
|
|
|
## π Acknowledgments |
|
|
|
|
|
- [NCAIR](https://ncair.nitda.gov.ng/) for N-ATLaS model |
|
|
- [Ultralytics](https://ultralytics.com/) for YOLOv11 |
|
|
- [HuggingFace](https://huggingface.co/) for hosting |
|
|
- [Awarri](https://awarri.com/) for the challenge opportunity |
|
|
|
|
|
--- |
|
|
|
|
|
*Built with β€οΈ for African Farmers* |
|
|
|