AI powered plant disease detection and assistance platform currently available as an App and API.
ML Powered App to assist farmers in crop disease detection and alerts.
Disease Detection using Machine Learning Model enabled through Android app which uses Flask API.
Remedy is suggested for the disease detected by the app using ML model.
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.
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.
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.
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.
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 is built using Flask framework and hosted in Render. The API provides two functionalities, they are
Plant Disease Detection
Accepts a POST request with an image in the form of base64 string and returns plant, disease and remedy.
Notification
Accepts a POST request with plant, user and disease , which is then pushed as a notification to other users to warn them regarding a probable outbreak of disease.
API has been built on this classifier. URL = "https://susya.onrender.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://susya.onrender.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)."}'
$ cd app
$ flutter run
$ cd app
$ flutter build apk
Nanda Kishor M Pai ML Model, API | Ajay Krishna K V Flutter Dev, API | Hari Krishnan U ML model, Data collection | Antony S John Flutter Dev |