A basic web-app for image classification using Streamlit and TensorFlow.
Problem Statement Farmers every year face economic loss and crop waste due to various diseases in potato plants. Early blight and Late blight are major disease of potato leaf. It is estimated that the major loss occurred in potato yield is due to these diseases.
Thus the images are classified into 3 classes :
1.Potato___Early_blight
2.'Potato___Late_blight
3.'Potato___healthy
pip install -r requirements.txt
python app.py
The webpage should open in the browser automatically. If it doesn't, the local URL would be output in the terminal, just copy it and open it in the browser manually. By default, it would be https://localhost:8501/
Click on Browse files and choose an image from your computer to upload. Once uploaded, the model will perform inference and the output will be displayed.
References https://www.tensorflow.org/tutorials/images/classification https://docs.streamlit.io/en/stable/