This project implements a machine learning model using image texture features to classify Tomato Mosaic Virus (ToMV) disease in tomato leaves.
- Accuracy: Achieves over 99% accuracy on the test set.
- Model: Kernel Extreme Learning Machine (KELM) with RBF kernel.
- Features: Gray level co-occurrence matrix (GLCM) features and color histograms.
- Python 3.6+
- Streamlit
- OpenCV
- NumPy
- scikit-image
- Pickle
- Clone:
git clone https://github.com/your-username/ToMV-KELM-Classifier.git
- Install:
pip install -r requirements.txt
- Download: Place pre-trained models (
finalized_train_data.pkl
andfinalized_model.pkl
) in theModel_Files
directory. - Run:
streamlit run main.py
- Upload a tomato leaf image.
- Click "Get Classification".
- The model predicts the leaf health status (Healthy or Diseased).
The KELM model utilizes an RBF kernel. It extracts texture features from images and predicts health status based on those features.
Prototype model not intended for commercial use.