Leaf Disease Detection of Multiple Plants using Deep Learning
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-1
PREAMBLE
1.1 INTRODUCTION
Nominal procedure in CNN makes detection and classification easy. Its multi-
layered design makes it effective at analyzing visual data and identifying key
elements for further analysis. Figure 1 depicts the four layers that make up a CNN.
Given as:
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 1
Leaf Disease Detection of Multiple Plants using Deep Learning
Convolutional Layer
For learning biases and weights, convolutional layers save output of kernels
by previous layer. Optimization function's goal is to produce kernels which faithfully
reflect the data. This layer performs a series of calculations to get feature map from
the input picture.In Fig. 2, we see convolution layer in action, taking in 5x5 picture
and outputting 3x3 filter after scaling it down. Illustration also illustrates filter's
movement, which begins in top left corner of input image and progresses clockwise.
After multiplying every step's values by filter's, final values are sum of all steps'
values. Supplied picture is used to generate new, smaller matrix..
Pooling Layer
This layer decreases the neuron size in down sampling layer, which helps to
prevent overfitting. Fig. 3 depicts a sample of pooling process. This layer controls
overfitting & shortens training time while decreasing number of parameters used
in model [20]. If a model performs perfectly using training data but only 50% of time
using test data, it is considered overfit. For reducingquantity of dimensions into
feature maps, we used ReLU using max pooling. [21].
Activation Layer
Uses ReLU activation layer in every convolution layer. To avoid over fitting,
it even utilises dropout layers.
India mostly depends upon agriculture. The options available to farmers for
choosing the most productive fruit and vegetable crops are many. Aim of this study is
to construct a state-of-the-art computational system for disease identification utilizing
photographs of different leaf spots. Using a mobile digital camera and image growing
for processing, we get images of the leafy sports field, which we subsequently utilize
for training and testing classification algorithms. The system's underlying technology
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 2
Leaf Disease Detection of Multiple Plants using Deep Learning
is a hybrid of image processing and high-end computer methods. Farming lays the
foundation for all countries. The goal of agricultural research is to improve yield and
quality while decreasing costs and increasing revenue. Plant diseases pose a threat to
the agricultural product's quality. Pathogens including fungus, bacteria, and viruses
are responsible for these illnesses. Hence, it’ssignificant to identify the plant disease
and categorize it early on. Experts' continual surveillance of farmers might be too
costly and time-consuming to be practical. Numerous methods, using image
processing and other automated categorization technologies, have been suggested to
either eradicate or significantly mitigate such concerns, success depending on the
specific use cases.
The following are some examples of when image analysis might be useful:
Bacterial
Fungal
Viral
IRJMT, 1(5), 2019, 8-16, Sathya.V et al. need professional supervision at all
times, which may be too costly and time-consuming. Numerous methods, using image
processing and other automated categorization technologies, have been suggested to
either eradicate or significantly reduce suchconcerns, output is as per specific use
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 3
Leaf Disease Detection of Multiple Plants using Deep Learning
cases.
The following are some examples of when image analysis might be useful:
Identifying plant, stem, and fruit pathogens.
The goal is to quantify disease-affected territory.
To locate limits of impacted region.
To identify afflicted region's color.
To ascertain leaf dimensions and form.
To appropriately determine what Object is. Etc.
Controlling an epidemic of disease is no easy feat. Leaves and stems are the
most common sites where plant diseases manifest. The intricacy of visual patterns
prevents accurate measurement of illnesses, pests, and features detected visually.
Therefore, growing need for better and more nuanced recognition of picture patterns.
Leaf spot diseases come in many forms.
Bacterial
Fungal
Viral
Different Diseases, Figure 1 Fungi, bacteria, and viruses are the usual suspects
in the causation of leaf diseases. The reproductive structures of fungi are crucial to
their morphological identification. The life cycles of bacteria are lesser complicated
those of fungus. Bacteria, with rare exceptions, by splitting into two identical copies,
a process termed binary fission. Protein and genetic material with no linked protein
make up viruses, which are incredibly small particles. It’s uncommon for biological
scientists to produce hundreds of photos during a single experiment. Images may be
necessary for investigations including the classification of lesions, the scoring of
quantitative features, the determination of insect-eaten area, etc. Nearly every
responsibilities is handled either manually or with various pieces of software. It takes
a long time to process, and various people will interpret the results differently. For
doing high throughput studies, plant biologists need powerful computational tools that
can automatically extract and evaluate relevant data. In this case, image processing is
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 4
Leaf Disease Detection of Multiple Plants using Deep Learning
crucial. This work includes image processtechniquesto identify leaf diseases. The
problem of fruit infections has arisen due todamage they may do to the quality and
yield of agricultural goods. Recognition The computer vision algorithms used by
healthy and diseased apple processing considered like color, shape, and texture.
Currently, specialists' naked-eye inspections are the gold standard for spotting
abnormal and diseased apples. However, technique is costly, time-consuming, and
requires a lot of specialized knowledge, so it's not always feasible. The early
identification and treatment of apple illnesses may be probableby using machine
learning based on detection and recognition of apple and its disorders. A risky factor
that reduces production and lowers quality of underdeveloped goods is fruit
infections. Several symptoms and behaviors associated with apple illnesses are
consistent and easily recognizable.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 5
Leaf Disease Detection of Multiple Plants using Deep Learning
The problem of plant diseases has arisen because of damage they may do to
agricultural output, both in terms of quality & quantity. Because of potential benefits
of automatically inspecting indications of problems as soon as they occur on plant
leaves, automated identification of plant illnesses is crucial subject of study. The
suggested system is an automated software method for diagnosing plant leaf diseases.
The four primary points of this plan are as follows.The process begins with creating
the color transformation framework for input RGB image, then moving on to masking
while removing green pixels utilizing threshold value, categorization,
computing texture data analysis for user's segment, and finally running classifier
on extracted features. Disease diagnosis and treatment options are both considered for
classifier.
Apply CNN algorithm to data set and generate model for prediction.
Detection of plant sickness from given input and image and display disease.
Classifying images of leaves into diseased categories as per pattern of the defect.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 6
Leaf Disease Detection of Multiple Plants using Deep Learning
Max pooling: Its pooling procedure that selects top feature from the feature map area
that is hidden from view by the filter. Therefore, a feature map consisting of the most
salient characteristics from the preceding feature map would be the result of using the
max-pooling level.
Flattening: A 'Flatten' layer sits within convolutional layer & fully linked layer. A
two-dimensional feature matrix is "flattened" into an array and sent with fully linked
layer.
an algorithm has iterated through the whole training dataset. While handling huge of
and array conversion. The test picture further undergoes processing inalike vein. To
picture from collecting over 32,000 photographs of plant leaves.In this setup, Train&
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 7
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-2
LITERATURESURVEY
Detection”, 2021 ICCMC 2021, The agricultural sector in India is crucial to the
deep learning as a component of AI has paved the way for the incorporation of
technology into farming for the first time. Leaf disease detecting is one task that
may be mechanized. This field of study has gained a lot of attention due to
this research, we bridge that gap by using CNN with deep models previously pre-
Transfer Learning. For its implementation, the suggested framework makes use of
the Keras and TensorFlow deep learning libraries, as well as the Python data
science platform. AlexNet, GoogLeNet, VGGNet-16, and ResNet-20 are only few
of the deep learning module compared to the proposed framework DLDPF. The
experimentation showed that the DLDPF is more accurate than the state-of-the-art
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 8
Leaf Disease Detection of Multiple Plants using Deep Learning
2) Roy, Arunabha M.,et.al. "A Deep Learning Enabled Multi Disease Detection
model for identifying many classes of plant diseases. While most current models
only allow for large-scale illness diagnosis, current module portrays for reliable
detection rate of 56.9 FPS. In general, the findings indicate that the current
3) Sardoğan, Melike, et.al. “Plant Leaf Disease Detection and Classification Based
on CNN with LVQ Algorithm.” UBMK (2018), pp. 382-385. Artificial systems
to keep vigil over plants around the clock, go to the agricultural office, or consult
an expert for spotting signs of illness. An easy method to tell whether a plant is
sick or healthy is necessary, thus scientists have set out to create such a system.
ModCNN that achieved 97.69% accuracy. The authors have also organized signs
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 9
Leaf Disease Detection of Multiple Plants using Deep Learning
of the bean leaf illnesses into four groups to aid in precise diagnosis.
4) N. Goel, et. al. "Predicting Module for Automatic Leaf Disease Analysis," 2018
IEEE IACC, 2018, pp. 360. When weather patterns shift, it may have a
Identifying plant diseases in real time is one strategy for minimizing crop failure.
automatically identify plant illness. Using the data from the test set, we can
determine whether a user has uploaded a healthy picture or one that includes
illness. If not, the leaf is regarded healthy, and automated recommendations for
preventing plant disease are made. picture analysis done on the picture validated
numerous cluster sizes. We may use our model to estimate and forecast the spread
5) Sandeep Kumar, et al. “Leaf Disease Detection and Using Machine Learning for
relies heavily on this factor. Because of prevalence of plant illnesses, finding new
observing your plants is essential for spotting leaf diseases. Keeping a close eye
on plants around the clock requires a lot of time and energy from humans. A
damaged leaves with less time and effort expended by humans. The suggested
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 10
Leaf Disease Detection of Multiple Plants using Deep Learning
algorithm can more precisely recognize plant diseases and categorize them than
current methods.
Deep Learning Approach," in 59069-59080, 2019. There are 5kinds of apple leaf
infections that have a significant negative impact on apple yield. To ensure the
continued success of the apple business, however, researchers need a quick and
leaves in real time, the authors of this research suggest a deep learning technique
based on enhanced convolutional neural networks. Into this study, we first use
data augmentation and image annotation tools to build ALDD, which includes
field settings. In light of this, we present a novel deep CNN-based model for
detecting apple leaf infections. Data demonstrates that the INAR-SSD model
Machine Learning Algorithm”, 2020, Springer, pp.659 The main reason why
agricultural output is poor is due to plant diseases. The most common problems
that farmers face are those of disease detection and management. Therefore, it
would be helpful for farmers to discover these illnesses early so that they can
to find the most effective one for predicting plant diseases. When compared to
aforementioned trained models for the early identification & classifying of new
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 11
Leaf Disease Detection of Multiple Plants using Deep Learning
image illnesses.
8) S. Gayathri, et al. “Image Analysing& Detecting of Tea Leaf Disease using deep
technology, that allows the area of automated picture classification and discovery
learning. India is both the greatest user and producer of tea in the world. Damage
to plant's health from diseases might stunt its development. Several diseases
impact tea leaves and slow crop development. The goal of our research is to create
CNN named LeNet, and use it to identify illnesses in tea plants based on images
of their leaves. This makes LeNet the ideal CNN model for improving diagnostic
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 12
Leaf Disease Detection of Multiple Plants using Deep Learning
Disadvantages
Advantages
Save energy
Save time
More accuracy
Detects phases of disease
Deep Learning for Leaf Disease Detecting in Multiple Plants research made
use of several cutting-edge resources and methods. Among them are:
In order to teach the system to identify patterns and traits that are diagnostic of
certain plant diseases, we used a set of sophisticated algorithms called deep
learning.
In order to accurately diagnose plant diseases, researchers employed CNNs to
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 13
Leaf Disease Detection of Multiple Plants using Deep Learning
HARDWARE PREREQUISITE
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 14
Leaf Disease Detection of Multiple Plants using Deep Learning
SOFTWARE PREREQUISITE
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 15
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-3
3.1 USERS
The photos in the Kaggle Plant Village dataset represent a wide variety of
plant diseases. There are around 32,000 photos in the collection, depicting healthy and
sick plant leaves. Sugarcane, cotton, potato, & guava are only few commercial/cash
crops, & fruit plants considered in this method. The suggested model was used to
build and construct an automated system used to identify plant illnesses, which is then
used to determine whether or not the plant is afflicted. These are the procedures that
make up the method: 1. Collecting a plant picture dataset encompassing 38 classes of
plant illnesses shown in 14 distinct types of plant photos. The second step is a
convolutional-layer-based preprocessing of the picture. Third, a system for
categorizing plant illnesses based on whether or not a picture of a plant's leaf seems to
be sick
1. Performance Prerequisite
Function & module efficiency has to be satisfactory.
Software's high performance will allow its users to get more done in
less time.
Reaction times must be very short.
Provided virtual environment must have excellent efficiency.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 16
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-4
SYSTEM DESIGN
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 17
Leaf Disease Detection of Multiple Plants using Deep Learning
MODULEDESCRIPTION
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 18
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 19
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-5
DETAILED DESIGN
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 20
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-6
SYSTEM IMPLEMENTATION
Images of healthy and damaged plant leaves have been gathered into variety of
sources and compiled into many datasets for use in training deep learning models.
Using the prepared datasets, the resulting models were trained on high-
powered GPUs for testing and validation. Training required feeding the models leaf
photos and repeatedly tuning the model's parameters to reduce prediction errors. To
gauge the efficacy of the model and guarantee its applicability, validation sets is
utilised for test.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 21
Leaf Disease Detection of Multiple Plants using Deep Learning
The system was constantly checked for errors and updated with fresh data to
make it more precise and secure. The algorithms' illness identification skills were
improved over time thanks to user input and real-world data.
The goal of project Leaf Disease Detection of Multiple Plants using Deep
Learning was to develop and deploy system which mightproficientlyclassify& control
diseases across numerous plant species having high degree of reliability.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 22
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 23
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 24
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 25
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 26
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 27
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-7
SOFTWARE TESTING
1. Dataset Testing: Evaluate the quality and diversity of data utilised to train &
dataset.
different conditions.
feedback from users and domain experts to assess its usability and
effectiveness.
1. Unit Testing: Test individual components and functions of the leaf disease
resize, normalize, and enhance leaf images as inputs for deep learning.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 28
Leaf Disease Detection of Multiple Plants using Deep Learning
4. Error Handling Testing: Test the system's capability for handling exceptions or
the preprocessing module with deep learning module and ensure proper
components.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 29
Leaf Disease Detection of Multiple Plants using Deep Learning
multiple plants.
metrics, such as inference time and resource utilization, and test its
1. Validation Testing: Verify that the leaf disease detection system meets the
disease labels.
images, lighting conditions, and disease severity to ensure reliable and consistent
performance.
4. Generalization Validation: Test the system's ability to detect leaf diseases across
real-world scenarios.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 30
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-8
CONCLUSION
Learning study significantly advanced plant disease management. The study used
diagnosing plant illnesses. This cutting-edge method provides growers and gardeners
with a solid resource for early disease detection, which is crucial for
stopping development of blight & limiting subsequent crop losses. Project's intuitive
design & ongoing updates help ensure that farmers everywhere have access to safe,
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 31
Leaf Disease Detection of Multiple Plants using Deep Learning
CHAPTER-9
FUTURE ENHANCEMENT
Multi-Plant Leaf Disease Detecting utilizing Deep Learning project has need
ii) By integrating sensors and IoT devices in the field, we can monitor plant
health data in real time, allowing for early disease identification and
iv) Reduce need for larger training data and boost the system's performance
illnesses.
v) Adding a smartphone app that lets farmers and gardeners take pictures of
leaves and analyze them later without an internet connection would greatly
improve accessibility.
vi) Algorithms to track and forecast illness development over time might
available resources.
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 32
Leaf Disease Detection of Multiple Plants using Deep Learning
vii) By providing a forum for researchers, farmers, and other specialists to pool
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 33
Leaf Disease Detection of Multiple Plants using Deep Learning
CODING:
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 34
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 35
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 36
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 37
Leaf Disease Detection of Multiple Plants using Deep Learning
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 38
Leaf Disease Detection of Multiple Plants using Deep Learning
REFERENCES
[1] T.Vijaykanth Reddy, et.al. “Deep Leaf Disease Prediction (DLDPF) with
(ICCMC 2021),
[2] Roy, Arunabha M.,et.al. "A Deep Learning Enabled Multi Disease Detection
[3] Sardoğan, Melike, et.al. “Plant Leaf Disease Detection and Classification
[4] N. Goel, et. al. "Prediction Model for Automated Leaf Disease Detection &
[5] Sandeep Kumar, et al. “Leaf Disease Detection and Classification based on
[6] P. Jiang, Y. Chen, B. Liu, D. He and C. Liang, "Real Apple Leaf Diseases
[7] K. P. Panigrahi ,et al. “Maize Leaf Disease Detection and Classification Using
[8] S. Gayathri, et al. “Image Analysis and Detection of Tea Leaf Disease using
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 39
Leaf Disease Detection of Multiple Plants using Deep Learning
[9] Sammy V. Militante et al. “Plant Leaf Detection and Disease Recognition
[10] Prajwala TM, el al. “Tomato Leaf Disease Detection using Convolutional
[11] S. Pawar, P. Bagal, P. Shukla and A. Dawkh Cancer using Machine Learning
N51346.2021.9544767.
[12] Sk Mahmudul Hassan et al., “Identification of Plant Leaf Diseases Using CNN
M.Tech. in Artificial Intelligence & Data Science, FOET(Co-Edu.), Sharnbasva University Kalburgi 40