Agri-Predict is an embedded system and machine learning-based model focused on future crop forecasting, providing farmers with recommendations based on soil and environmental conditions. This web application offers an intuitive interface for users to interact with the predictive model and make informed decisions about crop cultivation.
-
Crop Prediction: Predicts the best crop to grow based on current sensor values such as nitrogen, phosphorus, potassium, temperature, humidity, pH, and rainfall.
-
Machine Learning Models: Utilizes various machine learning algorithms including Decision Tree, Naive Bayes, SVM, Logistic Regression, and Random Forest for crop prediction.
-
Contact Form: Allows users to reach out for inquiries or support.
The web app provides real-time sensor values for nitrogen, phosphorus, potassium, temperature, humidity, pH, and rainfall. These values are crucial inputs for the crop prediction model.
Based on the current sensor values, the web app predicts the best crop to grow, facilitating informed decision-making for farmers.
Please note that Agri-Predict is currently in beta version, and we welcome any suggestions or improvements to enhance its functionality and user experience.
To run the Agri-Predict web app locally, follow these steps:
- Clone this repository:
git clone https://github.com/AmoKorankye/Agri-Predict.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
- Access the web app in your browser at
http://localhost:8501