Skip to content

synamalhan/ai-crop-optimizer

Repository files navigation

🌱🚀 CropGenius: Revolutionizing Agriculture with AI 🚀🌱

Website Link

https://crop-genie.streamlit.app/

Overview

CropGenius is an innovative AI-powered tool designed to help farmers and gardeners maximize their crop yield based on soil quality and weather conditions. Developed during a one-day hackathon at the Headstarter AI Software Engineering Fellowship, CropGenius leverages advanced AI models and comprehensive data analysis to provide precise crop recommendations tailored to specific locations.

Key Features

  • Advanced AI Models: Utilizes XGBoost Regressor and Random Forest Classifier for accurate crop predictions.
  • Comprehensive Data Integration: Incorporates datasets from sources like Kaggle and scholarly articles.
  • In-Depth Soil Analysis: Offers a detailed breakdown of soil types to enhance prediction accuracy.
  • Real-Time Weather Data: Integrates a weather API to refine recommendations based on current weather conditions.
  • User-Friendly Interface: Built with Streamlit for an intuitive and seamless user experience.

Technical Details

  • AI Models: XGBoost Regressor, Random Forest Classifier
  • Data Sources: Kaggle datasets, scholarly articles
  • Accuracy: 100% crop prediction accuracy
  • Additional Analysis: Detailed soil type analysis
  • Tools and Technologies: Weather API, Streamlit

Installation

To get started with CropGenius, follow these steps:

  1. Clone the repository:
    git clone https://github.com/synamalhan/ai-crop-optimizer.git
  2. Navigate to the project directory:
    cd CropGenius
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. Run the Streamlit application:
    streamlit run main.py
  2. Input your soil data and weather conditions:
    • Enter soil parameters such as pH, nitrogen, phosphorus, and potassium levels.
    • Provide current weather data via the integrated weather API.
  3. Get crop recommendations:
    • Receive tailored crop suggestions based on the provided data.
    • View in-depth soil type analysis for informed decision-making.

Contributing

We welcome contributions from the community! If you would like to contribute to CropGenius, please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes and commit them (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any questions or inquiries, please reach out to us at [email protected].


CropGenius: Empowering Farmers and Gardeners with AI for a Sustainable Future.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages