https://github.com/ndizeyedavid/potato-leaf-disease-predicter
🤖 Ai project that uses your camera to predict if potatoes are Good or sick according to their leaves
https://github.com/ndizeyedavid/potato-leaf-disease-predicter
ai machine-learning python raspberry-pi tensorflow
Last synced: about 2 months ago
JSON representation
🤖 Ai project that uses your camera to predict if potatoes are Good or sick according to their leaves
- Host: GitHub
- URL: https://github.com/ndizeyedavid/potato-leaf-disease-predicter
- Owner: ndizeyedavid
- Created: 2024-12-22T12:30:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-22T13:19:13.000Z (over 1 year ago)
- Last Synced: 2024-12-30T03:27:51.345Z (over 1 year ago)
- Topics: ai, machine-learning, python, raspberry-pi, tensorflow
- Language: Python
- Homepage:
- Size: 51.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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

1. clone the project
```bash
git clone https://github.com/ndizeyedavid/potato-leaf-disease-predicter.git
```
2. enter the project directory
```bash
cd potato-leaf-disease-predicter
```
3. install all libraries and packages
```bash
pip install -r requirements.txt
```
4. Create a virtual environment
```bash
python -m venv venv
```
5. start the virtual environment
Windows
```bash
.\venv\Scripts\activate
```
Mac & Linux
```bash
source .\venv\Scripts\activate
```
6. for real time prediction with your device's camera
```bash
py realtime_prediction.py
```
7. 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```
8. 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 😊