Abhijitdash/ai-advisor-for-farmers-for-detection-purpose-1
0
๐พ AI Farmer Advisor
An innovative AI-powered web application that helps farmers make informed decisions about crop selection and disease detection using machine learning and computer vision.
๐ Features
๐ฑ Crop Recommendation
- AI-Powered: Uses Random Forest algorithm trained on soil parameters
- Parameters: Nitrogen, Phosphorus, Potassium, Temperature, Humidity, pH, Rainfall
- Accuracy: 95%+ prediction accuracy
- Explainable: SHAP integration for feature importance
๐ฆ Disease Detection
- Computer Vision: Convolutional Neural Networks (CNN)
- Plant Types: Pepper, Potato, Tomato varieties
- Diseases: 15+ plant diseases detection
- Accuracy: 92% detection accuracy
- Visualization: Grad-CAM for explainable results
๐ Multilingual Support
- Languages: English, Hindi, Odia, Tamil, Telugu
- Real-time: Google Translate API integration
- Tips: Farming advice in multiple languages
๐ Farming Tips
- Comprehensive: 10+ essential farming tips
- Seasonal: Advice for different seasons
- Localized: Culturally appropriate recommendations
๐ง Technology Stack
- Frontend: Streamlit (Interactive Web App)
- ML Framework: Scikit-learn, TensorFlow/Keras
- Computer Vision: OpenCV, Pillow
- NLP: Google Translate API
- Explainable AI: SHAP, Grad-CAM
- Data Processing: Pandas, NumPy
- Visualization: Matplotlib, Plotly
๐ Model Performance
๐ Supported Languages
- ๐บ๐ธ English
- ๐ฎ๐ณ Hindi (เคนเคฟเคเคฆเฅ)
- ๐ฎ๐ณ Odia (เฌเฌกเฌผเฌฟเฌ)
- ๐ฎ๐ณ Tamil (เฎคเฎฎเฎฟเฎดเฏ)
- ๐ฎ๐ณ Telugu (เฐคเฑเฐฒเฑเฐเฑ)
๐ Quick Start
- Select Language: Choose your preferred language from the dropdown
- Choose Feature:
- Crop Recommendation: Enter soil parameters to get crop suggestions
- Disease Detection: Upload plant leaf images for disease analysis
- Farming Tips: Access expert farming advice
- About: Learn more about the application
๐ง How It Works
Crop Recommendation Process
- Input soil parameters (N, P, K, temperature, humidity, pH, rainfall)
- AI analyzes parameters using Random Forest model
- Get personalized crop recommendation with confidence score
- View feature importance with SHAP explanations
Disease Detection Process
- Upload clear image of plant leaf
- AI preprocesses image and analyzes with CNN
- Get disease diagnosis with confidence score
- View Grad-CAM heatmap showing affected areas
- Receive treatment recommendations
๐ Impact
- Empowers Farmers: Data-driven decisions for better yields
- Reduces Losses: Early disease detection prevents crop loss
- Sustainable Farming: Optimized resource usage
- Accessibility: Multilingual support for diverse farmers
- Cost-Effective: Free to use, reduces need for expensive experts
๐ฅ Target Users
- Small-scale farmers
- Agricultural extension workers
- Agricultural students and researchers
- Farm cooperatives
- Agricultural technology enthusiasts
๐ Privacy & Security
- No Data Storage: Images are processed in-memory only
- Local Processing: No uploaded data is stored on servers
- Secure: All processing happens on secure cloud infrastructure
- GDPR Compliant: Respects user privacy and data protection
๐ค Contributing
We welcome contributions! Please feel free to:
- Report bugs
- Suggest new features
- Improve translations
- Add support for more crops/diseases
๐ Support
For questions or support:
- Create an issue on our GitHub repository
- Contact the development team
- Check our documentation
๐ Acknowledgments
- PlantVillage Dataset: For disease detection training data
- Scikit-learn & TensorFlow: For ML/DL frameworks
- Streamlit: For the amazing web app framework
- Hugging Face: For hosting this space
Built with โค๏ธ for farmers worldwide ๐พ๐ค
