CoolFace
Apppublic

Abhijitdash/ai-advisor-for-farmers-for-detection-purpose-1

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
App README

๐ŸŒพ 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

FeatureAlgorithmAccuracyDataset
Crop RecommendationRandom Forest95%2,200 samples
Disease DetectionCNN92%PlantVillage Dataset

๐ŸŒ Supported Languages

  • โ€”๐Ÿ‡บ๐Ÿ‡ธ English
  • โ€”๐Ÿ‡ฎ๐Ÿ‡ณ Hindi (เคนเคฟเค‚เคฆเฅ€)
  • โ€”๐Ÿ‡ฎ๐Ÿ‡ณ Odia (เฌ“เฌกเฌผเฌฟเฌ†)
  • โ€”๐Ÿ‡ฎ๐Ÿ‡ณ Tamil (เฎคเฎฎเฎฟเฎดเฏ)
  • โ€”๐Ÿ‡ฎ๐Ÿ‡ณ Telugu (เฐคเฑ†เฐฒเฑเฐ—เฑ)

๐Ÿš€ Quick Start

  1. 1.Select Language: Choose your preferred language from the dropdown
  2. 2.Choose Feature:
  3. 3.Crop Recommendation: Enter soil parameters to get crop suggestions
  4. 4.Disease Detection: Upload plant leaf images for disease analysis
  5. 5.Farming Tips: Access expert farming advice
  6. 6.About: Learn more about the application

๐Ÿ”ง How It Works

Crop Recommendation Process

  1. 1.Input soil parameters (N, P, K, temperature, humidity, pH, rainfall)
  2. 2.AI analyzes parameters using Random Forest model
  3. 3.Get personalized crop recommendation with confidence score
  4. 4.View feature importance with SHAP explanations

Disease Detection Process

  1. 1.Upload clear image of plant leaf
  2. 2.AI preprocesses image and analyzes with CNN
  3. 3.Get disease diagnosis with confidence score
  4. 4.View Grad-CAM heatmap showing affected areas
  5. 5.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 ๐ŸŒพ๐Ÿค–