Skip to content

haroon-ai1/AgriVision-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Machine Learning Computer Vision Status

🌿 AgriVision Pro – Plant Disease Detection System

AgriVision Pro is a desktop-based machine learning application designed to automatically detect and classify plant diseases from leaf images. The system uses a hybrid approach combining unsupervised image segmentation and supervised classification.

🖥️ Application Screenshots

🔹 Main Dashboard

Main Dashboard

🔹 Disease Prediction Result

Prediction Output

🔍 Methodology

  1. Image Preprocessing

    • Resize images to 256×256 pixels
  2. Segmentation

    • K-Means clustering (k=2) to isolate diseased regions
  3. Feature Extraction (10 Features)

    • Color: Mean & Std of RGB (6)
    • Texture: GLCM Contrast, Correlation, Energy (3)
    • Shape: Diseased area ratio (1)
  4. Classification

    • Random Forest Classifier (100 trees)
  5. GUI

    • Desktop application built using CustomTkinter

🧠 Model

  • Algorithm: Random Forest Classifier
  • Training/Test Split: 80/20
  • Dataset: PlantVillage
  • Evaluation Metrics: Accuracy, Precision, Recall, F1-score

🚀 How to Run

1. Install Dependencies

pip install -r requirements.txt


About

Plant disease detection system using K-Means image segmentation and Random Forest classification with a desktop GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages