Skip to content

A machine learning-powered website that recommends the most suitable crops to grow, appropriate fertilizers to use, and identifies diseases affecting your crops.

License

Notifications You must be signed in to change notification settings

xHarshit/AgroAdvisor-Smart-Harvest-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌾 AgroAdvisor

AgroAdvisor is a machine learning and deep learning-based website that assists farmers and agricultural professionals by recommending the best crop to grow, appropriate fertilizers, and detecting plant diseases using computer vision.


📊 Data Sources


💻 Features & How to Use

🚜 Crop Recommendation

Enter:

  • N-P-K values (Nitrogen-Phosphorous-Potassium) — Refer to this guide
  • State and City

🔔 Note: Use commonly known cities. Some remote areas may not be supported by the OpenWeatherMap API.


🌿 Fertilizer Suggestion

Provide:

  • Soil nutrients
  • Target crop

The model will suggest adjustments in fertilizer usage based on nutrient excess or deficiency.


🦠 Disease Detection

Upload:

  • A leaf image of the crop

The system detects:

  • Crop type
  • Health status (Healthy/Diseased)
  • Disease name and treatment suggestions
Supported Crops
  • Apple
  • Blueberry
  • Cherry
  • Corn
  • Grape
  • Pepper
  • Orange
  • Peach
  • Potato
  • Soybean
  • Strawberry
  • Tomato
  • Squash
  • Raspberry

🛠️ Run Locally

Requirements:

  • git
  • Anaconda or Miniconda

Step 1: Clone the Repository

git clone https://github.com/xHarshit/AgroAdvisor.git
cd AgroAdvisor

Step 2: Set Up Environment

conda create -n agroadvisor python=3.6.12
conda activate agroadvisor
pip install -r requirements.txt

Step 3: Launch the App

python app.py

Then, open the URL shown in your terminal (usually http://127.0.0.1:5000).


🖼️ Screenshots

1. Homepage
Homepage

2. Our Services
Our Services

3. Crop Recommendation Input
Crop Recommendation Input

4. Recommended Crop Output
Recommended Crop Output

5. Disease Detection Upload
Disease Detection Upload

6. Diagnosis and Treatment Info
Diagnosis and Treatment Info


📈 Future Improvements

  • Expand disease support to more crops
  • Add regional language support
  • Integrate real-time weather-based decision-making
  • IoT integration for smart soil monitoring

🪪 License

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

About

A machine learning-powered website that recommends the most suitable crops to grow, appropriate fertilizers to use, and identifies diseases affecting your crops.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published