Dataset used : https://www.kaggle.com/emmarex/plantdisease
Tensorflow is a popular end-to-end Machine Learning Library from Google whcih supports developing Machine Learning Models and Data Modelling. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications.
- label_binarizer_instance.py
- label_images.py This python file is used to download the model file from google drive and run predictions on the image coming from the frontend.
How to run label_images.py file for Backend You will need the encoder.pkl file present in Data Modelling Repo. Download this repo and extract it. Copy the encoder.pkl file and paste it in your backend devt. (encoder.pkl file is experimental....Work in progress)
Run the label_images.py file using this..
python3 label_images.py [path to your leaf image]
..
Refer this for knowing how to use transfer learning for Crop Disease Detection.
Before contributing to this project do check CONTRIBUTING.md file and CODE_OF_CONDUCT.md file.