Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

AI powered plant disease detection and assistance platform

SUSya – Plant  Disease  Detector 

ML Powered App to assist farmers in crop disease detection and alerts.

Product Walkthrough

 SUSya.Demo.mp4 https://user-images.githubusercontent.com/57388834/120083080-fd9d8480-c0e3-11eb-9f9e-0a3f114f6d78.mp4

Download Product Apk here

Machine Learning Python Notebook

Solutions

System to detect the problem when it arises and warn the farmers.

Disease Detection using Machine Learning Model enabled through Android app which uses Flask API.

Solution to overcome the problem once it arises.

Remedy is suggested for the disease detected by the app using ML model.

Solution that will ensure that the problem will never occur in the future again

PDF report is generated on the disease predicted along with User Information. PDF can be used as a document to be submitted in nearby Krishibhavan thereby seeking help easily.

Method that will reduce the impact of the dilemma to a significant level

Disease detected news can be sent to other users as a notification which contatins User,plant and disease. This will help other farmers take up precautions thereby reducing the impact of the dilemma to a significant level considering a region.

Machine Learning Model

Multi-Class Image classifier Built on PyTorch framework using CNN architecture. Currently Project Detects 17 States of disease in 4 plants ( Aiming Kerala State ) namely Cherry, Pepper, Potato and tomato.

How to train

Upload the Python notebook to Google Colab and run each cell for training the model. I have included a demo dataset to configure quickly. You can use this Kaggle Dataset which is the original one with huge amount of pictures.

How It Works

The input image dataset is converted to tensor and is passed through a CNN model, returning an output value corresponding to the plant disease. Input image tensor is passed through four convolutional layers and then flattened and inputted to fully connected layers.

API

API is built using Flask framework and hosted in Heroku. The API provides two functionalities, they are

How to use

API has been built on this classifier. URL = “https://plant-disease-detector-pytorch.herokuapp.com/

User has to send a POST request to the given api with Base64 string of the Image to be input.

import requests
url = "https://plant-disease-detector-pytorch.herokuapp.com/"
#imgdata = base64 string of image
r = requests.post(url,json = {"image":imgdata})
print(r.text.strip())

Output

'{"disease":"Septoria leaf spot","plant":"Tomato","remedy":"Remove infected leaves immediately,......Fungonil and Daconil)."}'

App

Download Product Apk here

To Run App

$ cd app
$ flutter run

To Build App

$ cd app 
$ flutter build apk

Features

Tech Stack Used

Download this app source code on GitHub

Exit mobile version