Skip to content

CropForesight is an intelligent platform designed to help farmers make informed decisions. It uses a Logistic Regression model to recommend crops. The app also includes an AlexNet-powered deep learning model for detecting tomato plant diseases through image uploads via Cloudinary. Built with a responsive ReactJS frontend and a FastAPI backend.

License

Notifications You must be signed in to change notification settings

abhijeet141/CropForesight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CropForesight🌾

CropForesight is a powerful crop recommendation website that helps farmers and agriculture enthusiasts make informed decisions about the best crop to cultivate on a given land. By utilizing machine learning algorithms and various environmental parameters such as nitrogen value of soil, phosphorus value, rainfall, pH, potassium, humidity, and temperature. CropForesight predicts the optimal crop choice, maximizing productivity and yield. In addition, CropForesight employs an AlexNet model for the classification of tomato leaf diseases. This model analyzes images of tomato leaves to identify and diagnose diseases, helping farmers take timely action to protect their crops.

Table of Contents ✨📑

  • Introduction
  • Features
  • Technologies
  • Usage
  • Local Development
  • Deployment
  • License

Features ✨🌐

  • Intelligent crop recommendation based on soil composition, rainfall, pH, potassium, humidity, and temperature.
  • User-friendly interface to input land and environmental parameters.
  • Integrated with Cloudinary, enabling users to upload and analyze images of tomato leaves easily.
  • Efficient machine learning model leveraging Logistic Regression Algorithm.
  • Efficient Deep learning model leveraging Alexnet Architecture.
  • Responsive frontend developed using ReactJS for seamless user experience.
  • Scalable backend powered by FastAPI for quick data processing.

Back to top

Technologies 👨‍🔧

CropForesight leverages the following technologies:

  • ReactJS (Frontend): A popular JavaScript library for building interactive user interfaces.
  • FastAPI (Backend): A modern, fast (high-performance) web framework for building APIs with Python 3.7+.
  • Logistic Regression (Model): A machine learning algorithm used for classification tasks.
  • AlexNet (Model): A deep convolutional neural network architecture known for its ability to classify images with high accuracy. Back to top

Usage ✅

To experience the power of CropForesight, follow these simple steps:

✅ Visit the CropForesight website: https://abhijeet141.github.io/CropForesight-FrontEnd/.

✅ Enter the required details such as soil nitrogen value, phosphorus value, rainfall, pH, potassium, humidity, and temperature.

✅ Click on the "Recommend Crop" button to generate the optimal crop recommendation.

✅ Explore the recommended crop and gain insights into its suitability for your land.

✅ Contributing

We welcome contributions from anyone who is interested in improving this project. If you'd like to contribute, here are some ways you can get started:

  • Submit a bug report if you find any issues with the application.
  • Suggest new features or improvements.
  • Submit a pull request to fix a bug or add a feature after an issue is assigned to you.

To submit a pull request, please follow these steps:

  1. Fork the repository and create your branch: git checkout -b your-branch-name

  2. Make your changes and commit them: git commit -m 'Add some feature'

  3. Push to your forked repository: git push origin your-branch-name

  4. Open a pull request to the main repository's branch

Congratulations! 🎉 you've made your contribution.

Please follow the cotribution guide in all your interactions with the project. We will review your pull request and provide feedback. Once your changes are approved, we will merge them into the main branch.

Back to top

Local Development ❇️✨

If you want to contribute to CropForesight or run it locally for development purposes, follow these steps:

  1. Clone the frontend repository:

    git clone https://github.com/your_username/CropForesight-FrontEnd.git

  2. Change to the project directory:

    cd CropForesight-FrontEnd

  3. Install the required dependencies:

    npm install

  4. Run the frontend:

    npm start

  5. Change to the CropForesight_BackEnd directory:

    cd BackEnd

  6. Change to the CropForesight_BackEnd_ML directory:

    cd backend_ML

  7. Install the required dependencies:

    pip install -r requirements.txt

  8. Run the backend:

    uvicorn main:app --reload

  9. Change to the CropForesight_BackEnd_DL directory:

    cd backend_DL

  10. Install the required dependencies:

pip install -r requirements.txt

  1. Run the backend:

uvicorn main:app --reload

  1. Open the website in your browser at http://localhost:3000 to access the local instance of CropForesight.

Back to top

Deployment🚀🚀

✅ CropForesight's frontend is deployed and can be accessed online at https://crop-foresight-front-end.vercel.app/.

✅ Feel free to explore the website and witness the power of smart crop recommendation firsthand!

✨ Thank You for Your Contribution!

License 🪪

This project is licensed under the MIT License.

Please feel free to modify the sections and add any additional information or badges relevant to your project. Let me know if you need further help.

Back to top

Show some ❤️ by 🌟 this awesome repository!

About

CropForesight is an intelligent platform designed to help farmers make informed decisions. It uses a Logistic Regression model to recommend crops. The app also includes an AlexNet-powered deep learning model for detecting tomato plant diseases through image uploads via Cloudinary. Built with a responsive ReactJS frontend and a FastAPI backend.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published