Giter Site home page Giter Site logo

shamspias / agriaid Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 33 KB

AgriAid is an AI-powered tool for farmers & agricultural agents in Bangladesh, offering plant disease forecasting & identification. Using machine learning, deep learning & Python, it helps increase crop yield & food security.

Python 100.00%
agriculture agriculture-research artificial-intelligence cnn data-processing disease disease-prediction gradient-boosting logistic-regression machine-learning machine-learning-algorithms prediction-model svm-training

agriaid's Introduction

AgriAid: AI-Powered Early Detection and Diagnosis of Plant Diseases in Bangladesh πŸŒΎπŸ‡§πŸ‡©

Overview

AgriAid is an AI-powered software application designed to assist farmers, agricultural extension agents, and other stakeholders in Bangladesh with early detection and diagnosis of plant diseases. Developed using advanced machine learning and deep learning techniques, AgriAid aims to increase crop yield and food security in Bangladesh by providing timely and accurate information on potential disease outbreaks.

Features

  1. Disease Forecasting: AgriAid forecasts the occurrence of plant diseases based on climate data, allowing users to take preventive measures.

  2. Disease Identification: AgriAid identifies plant diseases based on symptoms or images, enabling users to effectively manage plant diseases.

  3. User-friendly Interface: The software's intuitive user interface allows users to easily input data and receive disease forecasts and identification results.REST API for easy integration with web and mobile applications.

Technologies

  • Programming Language: Python, with extensive library support including TensorFlow, Keras, scikit-learn, PyTorch, Pandas, NumPy, and Matplotlib.
  • Machine Learning Techniques: Random Forest, Support Vector Machines, and Gradient Boosting Machines for disease forecasting.
  • Deep Learning Techniques: Convolutional Neural Networks (CNNs) and transfer learning for disease identification based on images.
  • Web Frameworks: Flask or Django for backend development and integration of AI models.

Future Scope

  1. Expansion to Other Countries: Adapting the software for use in other countries and regions to address global food security challenges.
  2. Integration with IoT Devices: Incorporating data from IoT devices, such as sensors and drones, to enhance disease detection and diagnosis.
  3. Mobile Application: Developing a mobile app to make the platform more accessible to farmers and agricultural agents in remote areas.
  4. Support for Additional Crops: Extending the software's capabilities to support a wider range of crops and diseases.

Installation

  1. Clone the repository:

    git clone https://github.com/shamspias/agriaid.git
    cd agriaid
  2. Create a virtual environment and activate it:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the project and its dependencies:

    pip install -e .[dev]
  4. Create a .env file in the project root directory with the required environment variables:

    API_KEY=your_api_key
    RANDOM_SEED=42
    IMAGE_SIZE=224,224
  5. Run the Flask app:

    export FLASK_APP=app.py # On Windows, use set FLASK_APP=app.py
    flask run

Usage

The AgriAid software exposes two REST API endpoints for forecasting and identifying plant diseases.

Forecasting

To forecast the occurrence of a plant disease based on climate data, send a POST request to the /api/forecast endpoint with the climate data as JSON.

Example:

import requests

climate_data = {
 "temperature": 30.0,
 "humidity": 80,
 "rainfall": 100,
}

response = requests.post("http://localhost:5000/api/forecast", json=climate_data)
print(response.json())

Identification

To identify a plant disease based on an image of plant symptoms, send a POST request to the /api/identify endpoint with the image file as form data.

Example:

import requests

with open("path/to/image.jpg", "rb") as image_file:
    response = requests.post("http://localhost:5000/api/identify", files={"image": image_file})
    print(response.json())

agriaid's People

Contributors

shamspias avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.