This project is a plant disease classification project using Convolutional Neural Networks (CNN). The dataset used in this project is the PlantVillage Dataset.
- Clone the repository
git clone https://github.com/Vignesh142/Plant_Disease_Prediction
- Install the required libraries
pip install -r requirements.txt
- Run the Website
uvicorn main:app --reload --port 3000
- Open the Website
http://localhost:3000
- Open the Website
- Upload an image of a plant leaf
- The model will classify the plant disease and display the result
E2E_Potato_Disease_Classification
│ src
│ │ components
│ │ │ data_ingestion.py
│ │ │ data_transformation.py
│ │ │ model_trainer.py
│ │ pipeline
│ │ │ data_pipeline.py
│ │ │ model_pipeline.py
| api
| | main.py
| | static
| | | home.html
| | | images
| | | | image.jpg
| models
│ │ version-1
│ │ │ model.pb
│ │ version-2
│ │ │ model.pb
│ utils
│ setup.py
│ requirements.txt
The dataset used in this project is the PlantVillage Dataset. Only Potato Plant leafs are classfied. The dataset is divided into two parts: training and testing.
The model used in this project is a Convolutional Neural Network (CNN). The model is trained on the training dataset and tested on the testing dataset. The model is evaluated on the testing dataset using accuracy and loss metrics.
The model achieved an accuracy of 98.5% on the testing dataset. The model is able to classify plant diseases and healthy plants with high accuracy.
The model is able to classify plant diseases and healthy plants with high accuracy. The model can be used to detect plant diseases early and prevent crop loss.