Skip to content

Papaya Fruit Disease Detection(Binary Classification) using ML Techniques ,This is our B.Tech final year project(phase 1), developed under the guidance of Dr. P. Kumaran(Assistant Professor, CSE, NIT Puducherry). The project team consists of Ujjwal Kumar, Abhishek Tirkey & Vivek Kumar, Explore the deployed model interface by Clicking on below link:

Notifications You must be signed in to change notification settings

Jhajibhaskar/Papaya-Fruit-Binary-Disease-Detection-using-ML-Techniques

Repository files navigation

Papaya Fruit Diseases Detection (Binary Classification) using ML Techniques

This project aims to classify papaya fruits as healthy or diseased through binary classification. The primary objective is to assist farmers in identifying and managing diseased fruits to promote better crop health and yield.

Proposed Methodology

image

Dataset

Initially the dataset comprises 500 images of healthy papaya fruits and 500 images of diseased papaya fruits. Each image was resized to 100x100 pixels. However, due to the limited dataset, data augmentation techniques were applied to diversify the dataset. This augmentation involved flipping (3 times) and rotation (3 times) for each original image, resulting in a total of 3500 images(500 originals + 3 flips + 3 rotations for each original) for each category.

Implementation Overview

1. Data Curation:

➢Collected a dataset consisting of 500 images for each healthy and diseased papaya fruits.

2. Data Augmentation:

➢Augmented the dataset by applying flip and rotation operations, resulting in a total of 3500 images for each category.

3. Image Segmentation:

➢Employed eight segmentation techniques to preprocess the images for feature extraction and analysis:

  1. Global Thresholding
  2. Otsu's Thresholding
  3. Adaptive Mean Thresholding
  4. Adaptive Gaussian Thresholding
  5. Canny Edge Detection
  6. Sobel Edge Detection
  7. K-means Clustering
  8. Fuzzy C-means Clustering

4. Model Training:

➢Utilized seven diverse classifiers to train the model and assess performance. The classifiers used were:

  1. Decision Tree
  2. Naive Bayes
  3. Logistic Regression
  4. K-Nearest Neighbors (KNN)
  5. Ensemble Classifier (Hard Voting)
  6. Ensemble Classifier (Soft Voting)
  7. Random Forest

5. Model Evaluation:

➢Model evaluation employed k-fold cross-validation, analyzing each segmentation technique paired with every classifier to measure accuracy and identify optimal disease detection strategies.
➢The model's robustness & performance was verified by testing it with Diseased and Healthy images after applying each classifier within a segmentation techniques.

6. Model Selection:

➢Based on the evaluation results identified Fuzzy C-means segmentation combined with Random Forest as the most accurate model.

7. Deployment:

➢Hosted the Fuzzy with RF model on the web using Streamlit for easy access and to interact the users with the model.
➢Explore the deployed model interface here: https://jhajibhaskar0.streamlit.app/

Results

Accuracy table showing the performance of each classifier with each segmentation technique, with a special focus on the highest performing combination(Fuzzy C-means with RF).

Accuracy table

image

About

Papaya Fruit Disease Detection(Binary Classification) using ML Techniques ,This is our B.Tech final year project(phase 1), developed under the guidance of Dr. P. Kumaran(Assistant Professor, CSE, NIT Puducherry). The project team consists of Ujjwal Kumar, Abhishek Tirkey & Vivek Kumar, Explore the deployed model interface by Clicking on below link:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published