A website that allows farmers to get a crop and fertilizer recommendation based on their soil and location details using machine learning models.
Agriculture, along with related sectors, is the largest source of livelihood in India. Machine learning can be an essential decision support tool for farmers providing recommended crops, fertilizers, and other practices based on collected data. Here, we have used machine learning models to predict the best crop and best fertilizers to be used based on the soil quality and location. We explored different machine learning algorithms and have performed an analysis. We have also integrated the models into a website where users can enter their soil details and get a crop and fertilizer recommendation.
- ReactJS
- Flask
- Python
- Mapbox API to get the coordinates using the state and district.
- OpenWeatherMap API to get the weather data from coordinates.
You need to first start the server
cd server
python server.py
This will start the server of localhost port 5000
You can now run the app on a separate terminal from the root directory
npm start
Accuracy comparison of different Crop Recommendation models:
Accuracy comparison of different Fertilizer Recommendation models:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.