This project is a Plant Diseases Prediction App built using Streamlit and TensorFlow. The app allows users to upload plant leaf images and get a disease prediction using a pre-trained deep learning model.
✅ Interactive Streamlit web app 🖥️
✅ Uses a pre-trained CNN model (trained_cnn_model.keras
) 🧠
✅ Accepts leaf images for disease classification 🌱
✅ Provides real-time disease detection 🏥
- 🐍 Python
- 🔥 TensorFlow/Keras (Deep Learning Model)
- 🎨 Streamlit (Web App Framework)
- 📊 Pandas, NumPy (Data Processing)
- 📈 Matplotlib, Seaborn (Visualization)
📁 arpitkadam-plant-diseases-prediction/
├── 📝 main.py # Streamlit application
├── 📜 requirements.txt # Dependencies
├── 🧪 test.ipynb # Testing and validation script
├── 🎯 train.ipynb # Model training script
├── 🤖 trained_cnn_model.keras # Pre-trained deep learning model
├── 📄 training_hist.json # Training history file
├── 🖼️ Visualization_images/ # Training performance images
│ ├── Epochs vs. Training Accuracy.JPG
│ ├── Training Accuracy and Validation Accuracy vs. No. of Epochs.JPG
│ └── Validation Accuracy vs. No. of Epochs.JPG
└── 📂 static/ # Static assets (if any)
git clone https://github.com/your-username/arpitkadam-plant-diseases-prediction.git
cd arpitkadam-plant-diseases-prediction
pip install -r requirements.txt
streamlit run main.py
- 📸 Upload an image of the plant leaf.
- 🎯 Click on Predict Disease.
- 📢 The app will display the predicted disease along with confidence scores.
Predicted Disease: Powdery Mildew
Confidence: 92.5%
The following graphs illustrate the model's training performance:
- 📊 The model is trained on plant disease datasets.
- ⚙️ Predictions depend on the quality and resolution of the uploaded image.
- 🛠️ This is a basic prototype and may require further tuning for better accuracy.
This project is open-source and available under the MIT License.
📧 Contact: 📩 [email protected]