💡 Inspiration
Agriculture is a critical part of our economy, yet many farmers struggle to identify crop diseases at an early stage. Lack of expert access and delayed diagnosis often leads to significant crop loss.
This inspired us to build an AI-based solution that can instantly detect crop diseases and provide proper treatment, making advanced technology accessible to everyone.
🚀 What it does
AI Crop Doctor allows users to upload a leaf image and instantly:
- Detect the crop disease using AI
- Get a confidence score
- View a detailed explanation of the disease
- Receive accurate and actionable treatment solutions
- Get positive feedback if the plant is healthy
🏗️ How we built it
- We used MobileNetV2 (Transfer Learning) as the base model for feature extraction
Built a Sequential model by adding custom layers like:
- Global Average Pooling
- Dense layers
- Dropout
Compiled the model using:
- Adam optimizer
- Categorical Crossentropy loss
- Accuracy metric
Applied image preprocessing and data augmentation for better performance
Used Early Stopping to prevent overfitting and optimize training
Developed a Streamlit web application for user interaction
⚡ Challenges we ran into
- Managing and organizing a large image dataset
- Preventing overfitting during training
- Ensuring accurate predictions across multiple disease classes
- Integrating the trained model into a real-time web application
- Handling deployment and performance issues
🏆 Accomplishments that we're proud of
- Achieved around 95% accuracy using transfer learning
- Built a complete end-to-end AI system (model + UI)
- Provided not just predictions, but explanations and solutions
- Created a user-friendly interface suitable for real-world use
🧠 What we learned
- Practical implementation of Transfer Learning
- Building and tuning deep learning models for image classification
- Importance of preprocessing and data augmentation
- Using Early Stopping and Dropout to improve model performance
- Deploying machine learning models using Streamlit
🔮 What's next for AI Crop Doctor
- Expand to more crops and disease classes
- Develop a mobile application 📱
- Add real-time camera-based detection 📸
- Integrate multi-language support 🌍
- Use real-world field data for improved accuracy
Log in or sign up for Devpost to join the conversation.