Skip to content

aashika-j18/AgroKAI

Repository files navigation

AgroKAI 🌿

agrokai.mp4
Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributors

About The Project

AgroKAI is a smart farming app designed to simplify agricultural management for farmers, with functionalities that provide insights on soil fertility, predict plant diseases, and help optimize irrigation. Built on Flutter and Firebase, AgroKAI utilizes machine learning and sensor data integration to enhance decision-making in farming.

The app is divided into three main parts:

  1. 🌾Plant Disease Detection - Uses a TensorFlow Lite (TFLite) image classification model to detect potential plant diseases from images, offering organic solution suggestions.
  2. 🌏 Soil Fertility Monitoring - Tracks changes in soil fertility, nitrogen (N), phosphorus (P), and potassium (K) levels, predicting future fertility trends through a random forest regression model.
  3. 💧 Irrigation Management - Calculates crop water requirements using real-time environmental data (rainfall, humidity, temperature, wind speed) and sets up the motor timer, integrating motor control and usage logs.

Data is stored and accessed in Firebase Firestore through three primary collections: soil data, irrigation data, and motor logs.

(back to top)

Built With

This project leverages the following frameworks and libraries:

  • Flutter - The primary framework for building the cross-platform app.
  • Firebase - Used for real-time database, Firestore storage, and authentication.
  • TensorFlow Lite - For the on-device plant disease detection model.
  • Flask - To host the soil fertility and irrigation prediction models.

(back to top)

Getting Started

To set up a local copy of AgroKAI and start developing or testing the app, follow these steps.

Prerequisites

Ensure that you have Flutter installed and configured in your development environment. You can follow the official Flutter installation guide for setup instructions.

Installation

Follow these instructions to install and configure AgroKAI:

  1. Clone the Repository

    git clone https://github.com/your_username/AgroKAI.git
  2. Install Flutter Packages
    Navigate to the project directory and install all necessary packages:

    flutter pub get
  3. Set Up Firebase

    • Go to Firebase Console and create a new project.
    • Enable Firestore, Authentication, and any other services you plan to use. -Download the google-services.json file and add it to the android/app directory of your project.
  4. Configure the Image Classification Model and REST API

    • AgroKAI uses a TensorFlow Lite model for plant disease detection. Ensure that disease_model.tflite is placed in the correct assets directory.
    • REST APIs are required for soil fertility and plant disease predictions. Set up the APIs as per your requirements and update the API endpoints in the app configuration files.
  5. Change Git Remote URL (Optional) To avoid accidental pushes to the main project repository, change the git remote URL:

    git remote set-url origin https://github.com/aashika-j18/AgroKAI.git
    git remote -v # confirm the changes

(back to top)

License

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

Contributors:

aashika-j18 kv-06 ckritk

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •