A'ight let's get this over with again, the steps to make it run are simple but first huge thanks to Rizwan Saeed on Kaggle for providing the dataset used to train the model
ok, now let's start:
- clone the project
git clone https://github.com/ndizeyedavid/potato-leaf-disease-predicter.git
- enter the project directory
cd potato-leaf-disease-predicter
- install all libraries and packages
pip install -r requirements.txt
- Create a virtual environment
python -m venv venv
- start the virtual environment Windows
.\venv\Scripts\activate
Mac & Linux
source .\venv\Scripts\activate
- for real time prediction with your device's camera
py realtime_prediction.py
-
for static prediction with images in a directory
in the
App.py
change thetest_image
with your desired source image then runpy app.py
-
If you want to the train with your own data, use the
model_trainer.py