AgroAid is a web-based AI system that helps farmers identify crop diseases using images of plant leaves. It uses a Convolutional Neural Network (CNN) model trained to recognize various plant diseases and offers a clean UI for users to interact with the system.
- Upload leaf images and detect diseases instantly
- Deep learning-based classification (CNN)
- Clean Flask-based web interface
- Deployable on local or cloud servers
git clone https://github.com/HariN999/AgroAid.git
cd AgroAidInstall required packages:
pip install -r requirements.txtpython app.pyVisit http://localhost:5000 in your browser.
- Use the "Choose File" button on the homepage to upload an image.
- Click "Predict".
- The app will show the predicted disease (if any).
The model is defined in CNN.py and loaded in app.py. You can replace the existing model with your own trained .h5 model if needed.
- Run the app locally using the above instructions.
- Retrain or modify the model in
CNN.py. - Update the web interface via
templates/andstatic/folders.
We welcome all contributions!
- Fork the repo
- Create a new branch (
git checkout -b feature/YourFeature) - Make your changes
- Commit (
git commit -m 'Add YourFeature') - Push to your fork (
git push origin feature/YourFeature) - Create a Pull Request
For questions, open an issue or connect via LinkedIn.