Harvest Harmony is a crop recommendation system designed to assist farmers in selecting the most suitable crops based on their soil data. This application utilizes machine learning techniques to analyze various soil parameters and provide recommendations for crops that are likely to thrive in the given conditions.
- Soil Data Input: Farmers can easily input their soil data, which includes nitrogen, phosphorus, potassium, temperature, humidity, pH, and rainfall, through a user-friendly form.
- Crop Recommendation: Based on the provided soil data, Harvest Harmony utilizes a machine learning model to recommend a list of crops that are most likely to thrive in the given conditions.
To get started with Harvest Harmony, follow these steps:
-
Clone the repository:
git clone https://github.com/pkshetty15/harvest-harmony.git
-
Change working directory:
cd harvest-harmony
-
python -m venv .venv
-
Activate the virtual environment:*
-
On Windows:
.venv\Scripts\activate
-
On macOS and Linux:
source .venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the application settings in
config.py
-
Run the application:
python run.py
or
flask run
-
Access the application in your web browser at http://localhost:5000
* Note: Steps 3 and 4 are optional but recommended to isolate the project dependencies from other Python projects on your system. To know more about virtual environments, refer to this guide.
- Python 3.6 or higher
- Flask
- scikit-learn (or any other machine learning library used)
- Additional dependencies listed in
requirements.txt
We welcome contributions from the community to further enhance Harvest Harmony. If you encounter any issues or have suggestions for improvements, please submit them to our issue tracker.
To contribute to the project, follow these steps:
- Fork the repository
- Create a new branch:
git switch -c branch-name
orgit checkout -b branch-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin branch-name
- Submit a pull request
This project is licensed under the MIT License.
- Flask - The web framework used
- scikit-learn - Machine learning library (or any other library used)
- matplotlib - Data visualization library
- pandas - Data manipulation library