Skip to content

AvadhMalaviya/smart_agro_advisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Smart Agro Advisor: An AI-Powered Companion for Modern Agriculture

Smart Agro Advisor is a comprehensive web application designed to assist farmers and gardeners by leveraging machine learning and AI to provide instant, data-driven solutions for plant care.

Plant Doctor Dashboard (Suggestion: Take a screenshot of your app's dashboard, upload it to a site like Imgur, and paste the link here.)


๐ŸŒฟ Key Features

This application is a complete ecosystem of tools for every stage of the plant care journey:

  • Secure User Authentication: A robust, two-step registration process using Email OTP verification to keep user data private.
  • Plant Disease Diagnosis: Instantly identify plant diseases by uploading a photo. A k-NN machine learning model analyzes the image and provides detailed information on symptoms and treatments.
  • Crop & Fertilizer Recommender: A powerful two-step tool that uses Random Forest models to first recommend the ideal crop for specific soil/climate conditions, and then the most effective fertilizer for that crop.
  • My Garden & Plant Journal: A personal dashboard to log a collection of plants, track their progress with photos, and receive smart reminders for watering and fertilizing.
  • AI Growth Analyzer: A unique feature that uses Google's Gemini AI to analyze journal photos and provide a professional rating of a plant's growth along with actionable recommendations.
  • AI Plant Guide: An intelligent guide powered by Gemini AI. Users can enter any plant name to get a detailed, structured care guide tailored to their local conditions.
  • Weather Forecast: Provides real-time weather and a 5-day forecast for any city, powered by the OpenWeatherMap API.
  • Community Forum: A social hub where users can create posts (with text and images), ask questions, and share advice with other members.

๐Ÿ› ๏ธ Technology Stack

The application is built on a modern, robust, and scalable technology stack.

  • Backend: Python, Django, Django REST Framework
  • Frontend: React.js, Modern CSS
  • Database: SQLite (managed by Django ORM)
  • Machine Learning: Scikit-learn, Pandas, Joblib, OpenCV
  • External APIs: Google Gemini (for AI), OpenWeatherMap (for weather)

๐Ÿš€ Getting Started

To run this project locally, follow these steps:

Prerequisites

  • Python 3.10+
  • Node.js and npm
  • Git

Backend Setup

  1. Clone the repository: git clone https://github.com/YourUsername/smart-agro-advisor.git
  2. Navigate to the backend directory: cd plant_doctor_project/backend
  3. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  4. Install Python dependencies: pip install -r requirements.txt (Note: You should create a requirements.txt file by running pip freeze > requirements.txt)
  5. Create a .env file and add your secret API keys.
  6. Run database migrations: python manage.py migrate
  7. Start the server: python manage.py runserver

Frontend Setup

  1. Navigate to the frontend directory: cd plant_doctor_project/frontend
  2. Install JavaScript dependencies: npm install
  3. Start the React development server: npm start

The application will be available at http://localhost:3000.

About

ption 3 (With Emojis) ๐ŸŒฟ Smart Agro Advisor | An AI-powered web app for modern agriculture. Features include ๐Ÿ“ธ disease diagnosis, ๐ŸŒพ crop & fertilizer recommendations, ๐ŸŒฆ๏ธ weather forecasts, ๐ŸŒฑ a personal plant journal with AI growth analysis, and a ๐Ÿ’ฌ community forum. Built with Django & React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors