This project implements a deep learning-based system for recognizing plant diseases using convolutional neural networks (CNNs). The system allows users to upload images of plant leaves and predicts the type of disease present based on the trained model.
- Overview
- Features
- Dependencies
- Setup
- Usage
- Model Training
- Evaluation
- Contributors
- Acknowledgments
- License
The Plant Disease Recognition System is built using TensorFlow and Streamlit. It consists of a trained CNN model capable of classifying 38 different types of plant diseases. Users can interact with the system through an intuitive web interface developed using Streamlit, where they can upload images and receive real-time predictions about the presence of diseases in plant leaves.
- User-friendly web interface for uploading and analyzing plant images.
- Deep learning model capable of accurately classifying 38 types of plant diseases.
- Interactive visualization of model training history and evaluation metrics.
- Python 3.x
- TensorFlow
- Streamlit
- Matplotlib
- Pandas
- Seaborn
Install the required dependencies using:
pip install -r requirements.txt
- Clone the repository:
git clone https://github.com/your-username/plant-disease-recognition.git
cd plant-disease-recognition
- Install the dependencies:
pip install -r requirements.txt
-
Download the dataset and organize the directory structure:
- Place training images in the
train
directory. - Place validation images in the
valid
directory.
- Place training images in the
Run the Streamlit app to launch the web interface:
streamlit run app.py
Access the app in your web browser at http://localhost:8501
.
- Adjust hyperparameters and model architecture in
model.py
. - Train the model:
python model.py
- Save the trained model:
# Save the model in Keras format
model.save("trained_model.keras")
Visualize model training history and evaluate performance using:
python evaluate_model.py
- Your Name ([LinkedIn](Your LinkedIn Profile Link))
- Animesh-py ([GitHub](Animesh-py GitHub Profile Link))
- Animesh-py for contributions and support in the project.
- Dataset source: https://www.kaggle.com/datasets/vipoooool/new-plant-diseases-dataset