Leaf Disease Detection Using Decision Tree
Leaf Disease Detection Using Decision Tree
►In plants, diseases usually occur on leaves, fruit, buds, and branches.This
situation causes plants to be damaged.
►For this reason, it is very important to determine the disease in advance and to
take the necessary precautions before it spreads to other plants.
OBJECTIVE
►The main objective of this project is to detect the unhealthy region of plant
leaf's using machine learning.
►To recognize disease from detected portion of leaf through Machine learning
algorithms i.e. CNN and Decision tree algorithms.
PROBLEM DEFINITION
During cultivation process, Leaves expose to many problems & diseases such as :
Late blight
Anthracnose
Yellow curl virus
Bacterial spot
The naked eye observation of experts is the main approach adopted in practice for
detection and identification of plant diseases . But this approach requires continuous
monitoring of experts which might be expensive and difficult especially in large
farms.
PROBLEM DEFINITION (CONTI.)
Muammer and 2019 Plant disease and pest detection This is used for leaf detection by Recognition rate can be
Davut using deep learning. using deep neural network for more effective.
deep feature extraction.
Piyush chaudhry 2018 Color transform based approach Median filter is used for mage Disease spot area can be
for disease spot detection on plant smoothing & threshold can be computed for assessment
leaf. calculated by applying OTSU of loss in agriculture crop.
method.
Sabah bashir 2017 Remote area plant disease Texture segmentation by Bayesclassifier, k mean
detection using image occurrence & k means clustering clustering & principal
processing . technique. component classifier can
be used to classify various
plants.
Anand H. 2016 Applying image processing Gabor filter for feature Recognition rate can be
kulkarni technique to detect plant extraction & ANN classifier for increased.
diseases . classifications
METHODOLOGY
Input image
Pre Processing
Segmentation
Feature Extraction
Split
Train Test
Model Evaluation
Result
DATASET
• The dataset used here is collected from Kaggle “leaf disease Dataset”.
• It contains over 2000 image samples of jpg files(256x256).
• It includes different diseases like: Bacterial Spot, Late Blight, Anthracnose,
yellow curl virus.
S.NO Type of Disease Count
1 Healthy 345
2 Late Blight 700
3 Bacterial Spot 400
4 Yellow Curl Virus 355
5 Anthracnose 200
PRE-PROCESSING
Binarization
• Input images are of from different writers and may be in different colours, it needs
to be binarized so that it may be used for experimental use.
• The Document image is a grayscale image. One may convert this image into
binary/ two tone image which is having only two levels of intensity.
• The threshold value used in binarization is 127.
• The Otsu’s thresholding method is used for binarization of the image.
Morphological Filtering
Opening operation is a filtering method which removes all the objects that
contains fewer than 30 pixels of the input binary image and hence
imperfections are removed. The document image may be contaminated with
noise so filter is applied to remove any spurious information.
• Input and output image of banana leaf and output diseases is early
scorch disease.
RESULTS
• Input and output image of beans leaf and output diseases is fungal disease.
RESULTS
• Input and output image of beans leaf and output diseases is bacterial leaf spot.
RESULTS
• Input and output image of lemon leaf and output diseases is sun burn disease.
EXPERIMENTAL RESULTS
Detection Accuracy
Detection Accuracy for detecting the exact
disease.
CONCLUSION