Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.24 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.24 KB

Another python project (What's wrong with me!)

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:

sample

Screenshot 2024-12-22 124053

  1. clone the project
git clone https://github.com/ndizeyedavid/potato-leaf-disease-predicter.git
  1. enter the project directory
cd potato-leaf-disease-predicter
  1. install all libraries and packages
pip install -r requirements.txt
  1. Create a virtual environment
python -m venv venv
  1. start the virtual environment Windows
.\venv\Scripts\activate

Mac & Linux

source .\venv\Scripts\activate
  1. for real time prediction with your device's camera
py realtime_prediction.py
  1. for static prediction with images in a directory

    in the App.py change the test_image with your desired source image then run py app.py

  2. If you want to the train with your own data, use the model_trainer.py

💫 Let me know what you think of this project or mi skills 😊