/plant-disease-detection

Final year project on Plant disease detection using Deep Learning.

Primary LanguageJupyter Notebook

Plant Disease Detection - Final Year Project

Final Webapp Preview

  • Initial landing page Landing page

  • Prediction Prediction

  • Loading image (Notice the file name) Loading image

  • Predicting the right label Predicting the right label

01. Setting up Python environment

Create a virtual environment with Python 3.8

Note

Make sure you have Python 3.8 installed in your system and know where it is located.

Linux or macos

python -m virtualenv --python=/path/to/python3.8 .venv

Windows Powershell or Command Prompt

python -m virtualenv --python="\path\to\python3.8" .venv

Note

If you don't have virtualenv installed, here's the command to do it right away:

Linux and macos

pip install --upgrade virtualenv

Windows

python -m pip install  --upgrade virtualenv

If pip doesn't work in Windows, try with pip3.

02. Activate the environment

If you have followed the steps properly without error, you will be able to start the python virtual environment with the following command

Linux or macos

source .venv/bin/activate

Windows Powershell or Command Prompt

.venv\Scripts\activate

03. Install the necessary packages

pip install -r requirements.txt

Warning!

Tensorflow will be installed in this step and it's huge (around 600mb). So make sure you are connected to a WiFi network.

04. Run the app

Run the application with the following command

python app.py