Project is live at : Tomato-Plant-Disease-Detector
-
method 1 (using Docker)
-
Open cmd in local and run all below commands..
git clone https://github.com/BhavyBansal24/Tomato-Plant-Disease-Detector.git docker build -t tomato_app . docker run -dp 8501:8501 --name Tomantina tomato_app timeout 2 /nobreak && start http://localhost:8501
-
Method 2 : (using Conda venv)
-
Clone this repo
-
Open cmd in Clone folder
-
Create a conda environment on your device using commands below on cmd,
conda create -n test_env python=3.9 conda activate test_env
-
Install require libraries
pip install requirements.txt
-
Run the application
streamlit run app.py
- Click here
- Select type of Input ['Upload Image', 'Take A Shot', 'Live Camera (Experimental)']
- Click on Browse files & Upload a Image file, Model will classify your uploaded Image from the known tomato disease classes.
- After uploading completes, you can see the prediction on right side as shown below
- Take a shot of the tomato plant leaf by clicking Take Photo on right side of the application.
- As of now Streamlit is not supporting to use camera directly from API.
- Here is an way to access the Live Camera feature on your offline device :
- Clone this repo
- Open cmd in Clone folder
- Create a conda environment on your device using commands below on cmd,
conda create -n test_env python=3.9 conda activate test_env pip install requirements.txt streamlit run app.py
- Note : you may be asked for Email to start streamlit (proceed anyways)
- It will redirect you to your default browser and open application offline
- here you may use the Live Camera (Experimental) feature without any error.
- Dataset is taken from kaggle and link for dataset is here
- This dataset contains images of 256 X 256 size & RGB colored of different plant species.
- For this project I have choosen tomoto plant with 10 classes of diseases namely :
- Bacterial Spot
- Early Blight
- Healthy
- Late Blight
- Leaf Mold
- Septoria Leaf Spot
- Spider Mites Two-Spotted Spider Mite
- Target Spot
- Tomato Mosaic Virus
- Tomato Yellow Leaf Curl Virus
- Link to my kaggle notebook is here
- Do upvote my notebook, Hope you like it.
- and do Not forgot to check my other notebooks on kaggle as well
- Hope you love to know more about me, check my Portfolio Website here