Welcome to the Agricultural AI Assistant! This application predicts the type of fertilizer required, recommends crops to plant, and diagnoses crop diseases from images.
This project is the final assignment for the Fundamentals of AI Course at Addis Ababa Institute of Technology (AAiT). It leverages machine learning models to assist farmers in making informed decisions about fertilizers, crops, and disease management.
- Fertilizer Prediction: Predicts the type of fertilizer required based on soil composition.
- Crop Recommendation: Recommends the best crop to plant based on soil and weather conditions.
- Disease Diagnosis: Diagnoses crop diseases from images of crop leaves.
-/
├── models/
│ ├── crop_disease_model.pth
│ ├── crop-recommendation-model.joblib
│ └── fertilizer-recommendation-model.joblib
├── notebooks/
│ ├── crop-disease-detection/
│ │ └── plant_disease_classification.ipynb
│ ├── crop-recommendation/
│ │ ├── crop_recommendation.ipynb
│ │ └── data.csv
│ ├── fertilizer-recommendation/
│ │ ├── fertilizer_recommendation.ipynb
│ │ └── data.csv
├── utils.py
├── main.py
├── requirements.txt
└── README.md
-
Clone the repository:
git clone https://github.com/abdulmunimjemal/ai-farming.git cd ai-farming
-
Install dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run main.py
-
Navigate to the app in your browser: The app will typically open at
http://localhost:8501
.
To deploy your Streamlit app, follow these steps:
- Push your project to GitHub.
- Sign up on Streamlit Community Cloud.
- Deploy your app by connecting to your GitHub repository and specifying the
main.py
file.
We welcome contributions! Please follow these steps to contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature-branch
-
Make your changes.
-
Commit your changes:
git commit -m "feat: add new feature"
-
Push to the branch:
git push origin feature-branch
-
Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Created with ❤️ at AAiT.
Special Thanks to the Knowledge and Support of our Instructor Amanuel Mersha and the Kaggle OpenSource Community.
- Abdulmunim Jundurahman (GL)
- Fethiya Safi
- Fuad Mohammed
- Salman Ali
- Obsu Kebede