SlideShare a Scribd company logo
5
Most read
6
Most read
7
Most read
Tomato leaf disease detection and
classification
based on deep convolutional neural
networks
Priyanka Pradhan and Dr. Brajesh Kumar
Department of Computer Science & IT, MJP Rohilkhand
University, Bareilly-243006, India
Content
• Outlines of Key Principles
• Literature Survey
• Results and findings
• Conclusion
• References
4/6/2022 2
Outlines
1. Tomato is one of the major crops in India. The production of tomatoes is
rigorously affected by several types of diseases. Therefore, initial
detection of disease is vital for the quality and quantity of tomatoes.
2. There are many diseases that mostly affect the plant leaves. This paper
adopts a convolutional neural network (CNN) model to detect and
identify diseases using the images of tomato leaves.
3. The proposed CNN model comprises four convolutions and four max
pooling layers, which are followed by fully connected layers. The
performance of the proposed method is assessed by performing
experiments on a well-known PlantVillage dataset.
4. The overall accuracy of the proposed method is obtained as 96.26%.
5. It is compared with some fine-tuned pre-trained CNN models
InceptionResNetV2 and InceptionV3.
6. The results illustrate that the proposed method outperforms all the
methods based on fine-tuned models.
4/6/2022 3
Tomato Dataset
Figure 1: Different Tomato Healthy and Unhealthy Class
4/6/2022 4
The performance of the proposed method is assessed by performing
experiments on a well-known PlantVillage dataset. There are nine diseases and
one healthy class for tomato crop in the dataset.
Dataset for Image Classification
4/6/2022 5
PlantVillage consists of 54303 images for 14 different crops distributed in 38
categories including healthy and various disease classes. The total number of
tomato images considered for this work was 14,532 which includes both
infected tomato leaves, as well as healthy tomato leaves images The 75%
images are kept in training set and the rest 25% images from the testing set.
Table I
Literature Survey
[1] Karthik et al. introduced two dissimilar deep convolutional neural networks (CNN) models
to identify the infection in tomato leaves in as early stage as possible. The authors stated overall
accuracy of 98%.
[2] Agrawal et al. Created a model entailing three convolutional, three max pooling layers,
and two fully connected layers. Test results showed 91.2% accuracy.
[3] Ashok et al. developed a method that identifies tomato leaf disease based on image
segmentation and clustering to classify leaf disease of tomato plants.
[4] Ahmad et al. tested four pre-trained CNN models VGG-16, ResNet, VGG-19, and
InceptionV3 to identify and classify tomato leaf diseases. They tested these four models on two
datasets and found that InceptionV3 gave the best performance.
[5] Elhassouny et al. developed an effective smart mobile application based on CNN for
detecting and classifying tomato leaf diseases.
[6] Hasan et al. used the transfer learning concept to reorient the Inception model to classify
tomato leaves in three disease classes.
[7] Sardogan et al. developed a CNN both for feature extraction and classification using spectral
information.
[8] Tm et al. achieved the results similar to various well known techniques using optimal
computing resources.
4/6/2022 6
Work flow of Proposed System
Figure 2: Work flow for tomato leaf disease detection
4/6/2022 7
The proposed workflow for CNN-based plant disease detection
and identification is shown in Figure 2. This flowchart shows
data preparation module, dataset spliting module and
classification module.
Classification Framework
Figure 3: Classification framework for plant disease detection and identification
4/6/2022 8
CNN classification framework used in proposed work consists of
four convolutional layers and four max pooling layers placed
alternatively. At the top of the arrangement of convolutional and
pooling layers a fully connected layer is placed. The well-known
RELU activation function is used at different layers in CNN. At the
top layer in the model, Softmax classifier is used to map the input to
appropriate class as shown in Figure 3.
Different layers used in Proposed CNN
Model
4/6/2022 9
Table II
The implemented CNN model layer details are given in Table II. For
minimizing the training loss, the Adaptive Moment Estimation optimizer is
used. The learning rate is set to 0.001 and batch size is kept as 32 during the
training process.
Results and Findings
4/6/2022 10
The naive accuracy values obtained for the proposed model and
two pre-trained models InceptionResnetV2 and InceptionV3 are
listed in Table III along with learning error and training time. Both
class-wise and overall accuracies are given in the table. The
training time is reported in seconds.
Contd…
4/6/2022 11
Table IV provides the classification accuracy in terms of Cohen’s Kappa.
Cohen’s Kappa statistic is a very good measure that can handle very well
both multi-class and imbalanced class problems.
Cohen’s Kappa= (Overall Accuracy – Expected Accuracy)/ (1-Expected Accuracy)
Training Loss vs Training Accuracy
Graph of Proposed Model
4/6/2022 12
Figure 4: Training Loss vs Training Accuracy Graph of Proposed Model
CONCLUSION
1. In this work, a CNN model was developed for the automatic
detection and identification of tomato crop diseases using leaf images.
2. It consists of four convolution, four max pooling layers, and three
fully connected layers with varying numbers of filters at different
layers.
3. The experimental results exhibited that the average accuracy of the
model is 96.21%.
4. It was able to detect different tomato diseases with good accuracy.
5. The efficiency of the proposed model was found better and takes a
lesser training time than pre-trained CNN models Inception- ResnetV2
and InceptionV3. Also, the proposed model showed good accuracy as
compared with other models.
4/6/2022 13
REFERENCES
[1] R. Karthik, M. Hariharan, S. Anand, P. Mathikshara, A. Johnson, and R. Menaka,“Attention embedded
residual CNN for disease detection in tomato leaves, ”Applied Soft Computing, vol. 86, pp. 105933, 2020.
[2] M. Agarwal, A. Singh, S. Arjaria, A. Sinha, and S. Gupta,“ ToLeD: Tomato leaf disease detection using
convolution neural network, ”Procedia Computer Science, vol. 167, pp. 293-301, 2020.
[3] S. Ashok, G. Kishore, V. Rajesh,S. Suchitra, S. G. Sophia, and B. Pavithra, “Tomato Leaf Disease Detection
Using Deep Learning Techniques, ” In 2020 5th International Conference on Communication and Electronics
Systems (ICCES), pp. 979-983, IEEE, 2020.
[4] I. Ahmad, M. Hamid, S. Yousaf, S. T. Shah, and M. O. Ahmad, “ Optimizing Pretrained Convolutional
Neural Networks for Tomato Leaf Disease Detection, ” Complexity, 2020.
[5] A. Elhassouny, and F. Smarandache, “ Smart mobile application to recognize tomato leaf diseases using
Convolutional Neural Networks, ”In 2019 International Conference of Computer Science and Renewable
Energies (ICCSRE), pp. 1-4, IEEE, 2019.
[6] M. Hasan, B. Tanawala, and K. J. Patel,“ Deep learning precision farming: Tomato leaf disease detection by
transfer learning, ”In Proceedings of 2nd International Conference on Advanced Computing and Software
Engineering (ICACSE).
[7] M. Sardogan, A. Tuncer, and Y. Ozen, “ Plant leaf disease detection and classification based on CNN with
LVQ algorithm, ”In 2018 3rd International Conference on Computer Science and Engineering (UBMK), pp.
382-385, IEEE, 2018.
4/6/2022 14
Thank You
4/6/2022 15

More Related Content

PPTX
Plant disease detection and classification using deep learning
PDF
Deep learning for image video processing
PDF
EMOTION DETECTION USING AI
PDF
Supervised Machine Learning With Types And Techniques
PPTX
PC Assembly and Disassembly.pptx
PPT
Generation of computer
PDF
AZ-900 Azure Fundamentals.pdf
PPT
Artificial Intelligence
Plant disease detection and classification using deep learning
Deep learning for image video processing
EMOTION DETECTION USING AI
Supervised Machine Learning With Types And Techniques
PC Assembly and Disassembly.pptx
Generation of computer
AZ-900 Azure Fundamentals.pdf
Artificial Intelligence

What's hot (20)

PPTX
Tomato leaves diseases detection approach based on support vector machines
PPT
A Novel Approach for Tomato Diseases Classification Based on Deep Convolution...
PPTX
Plant disease detection using machine learning algorithm-1.pptx
PPTX
Artificial intelligence in plant disease detection
PPT
Detection of plant diseases
PPTX
PPTX
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
PPTX
Inheritance in Object Oriented Programming
PPT
Diabetes prediction using machine learning
PPTX
Classification of Apple diseases through machine learning
PPTX
Single inheritance
PPTX
And or graph
PDF
IRJET- Leaf Disease Detecting using CNN Technique
PPTX
Breast cancer diagnosis machine learning ppt
PPTX
Kapil dikshit ppt
PDF
RICE PLANT DISEASE DETECTION AND REMEDIES RECOMMENDATION USING MACHINE LEARNING
PPT
PPTX
Green computing ppt
PPTX
Interface agents
PDF
Structures in c++
Tomato leaves diseases detection approach based on support vector machines
A Novel Approach for Tomato Diseases Classification Based on Deep Convolution...
Plant disease detection using machine learning algorithm-1.pptx
Artificial intelligence in plant disease detection
Detection of plant diseases
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
Inheritance in Object Oriented Programming
Diabetes prediction using machine learning
Classification of Apple diseases through machine learning
Single inheritance
And or graph
IRJET- Leaf Disease Detecting using CNN Technique
Breast cancer diagnosis machine learning ppt
Kapil dikshit ppt
RICE PLANT DISEASE DETECTION AND REMEDIES RECOMMENDATION USING MACHINE LEARNING
Green computing ppt
Interface agents
Structures in c++
Ad

Similar to Tomato disease detection using deep learning convolutional neural network (20)

PDF
Deep Transfer learning
PDF
Early detection of tomato leaf diseases based on deep learning techniques
PDF
Internet of things and multi-class deep feature-fusion based classification o...
PDF
Potato leaf disease detection using convolutional neural networks
PDF
A classification model based on depthwise separable convolutional neural net...
PDF
Fruit Disease Detection And Fertilizer Recommendation
PDF
19536.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
PPTX
Plant Disease Prediction using CNN
PDF
LEAF DISEASE IDENTIFICATION AND REMEDY RECOMMENDATION SYSTEM USINGCNN
PDF
Two-step convolutional neural network classification of plant disease
PDF
PLANT LEAF DISEASE CLASSIFICATION USING CNN
PDF
Hybrid ResNet50-PCA based deep transfer learning approach for classification ...
PDF
Guava fruit disease identification based on improved convolutional neural net...
PDF
Improved vision-based diagnosis of multi-plant disease using an ensemble of d...
PDF
Corn plant disease classification based on leaf using residual networks-9 arc...
PDF
Plant Diseases Prediction Using Image Processing
PDF
A survey of detecting leaf diseases using machine learning and deep learning ...
PDF
IRJET - A Review on Identification and Disease Detection in Plants using Mach...
PDF
Tomato Disease Fusion and Classification using Deep Learning
PDF
Pneumonia Detection Using Deep Learning and Transfer Learning
Deep Transfer learning
Early detection of tomato leaf diseases based on deep learning techniques
Internet of things and multi-class deep feature-fusion based classification o...
Potato leaf disease detection using convolutional neural networks
A classification model based on depthwise separable convolutional neural net...
Fruit Disease Detection And Fertilizer Recommendation
19536.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
Plant Disease Prediction using CNN
LEAF DISEASE IDENTIFICATION AND REMEDY RECOMMENDATION SYSTEM USINGCNN
Two-step convolutional neural network classification of plant disease
PLANT LEAF DISEASE CLASSIFICATION USING CNN
Hybrid ResNet50-PCA based deep transfer learning approach for classification ...
Guava fruit disease identification based on improved convolutional neural net...
Improved vision-based diagnosis of multi-plant disease using an ensemble of d...
Corn plant disease classification based on leaf using residual networks-9 arc...
Plant Diseases Prediction Using Image Processing
A survey of detecting leaf diseases using machine learning and deep learning ...
IRJET - A Review on Identification and Disease Detection in Plants using Mach...
Tomato Disease Fusion and Classification using Deep Learning
Pneumonia Detection Using Deep Learning and Transfer Learning
Ad

More from Priyanka Pradhan (19)

PPTX
PPTX
PPTX
Javascript
PPT
programming with python ppt
PPTX
Core Java
PPTX
Image Processing Based Signature Recognition and Verification Technique Using...
PPTX
GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan
PPTX
The agile requirements refinery(SRUM) by: Priyanka Pradhan
ODP
Social tagging and its trend
PPTX
Behavioral pattern By:-Priyanka Pradhan
PPTX
software product and its characteristics
PPTX
EDI(ELECTRONIC DATA INTERCHANGE)
PPT
collaborative tagging :-by Er. Priyanka Pradhan
PPT
Deploying java beans in jsp
PPTX
SOFTWARE PROCESS MONITORING AND AUDIT
PPTX
s/w metrics monitoring and control
Javascript
programming with python ppt
Core Java
Image Processing Based Signature Recognition and Verification Technique Using...
GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan
The agile requirements refinery(SRUM) by: Priyanka Pradhan
Social tagging and its trend
Behavioral pattern By:-Priyanka Pradhan
software product and its characteristics
EDI(ELECTRONIC DATA INTERCHANGE)
collaborative tagging :-by Er. Priyanka Pradhan
Deploying java beans in jsp
SOFTWARE PROCESS MONITORING AND AUDIT
s/w metrics monitoring and control

Recently uploaded (20)

PPTX
Practice Questions on recent development part 1.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
web development for engineering and engineering
PPTX
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PDF
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
PPTX
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Internship_Presentation_Final engineering.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PPTX
Simulation of electric circuit laws using tinkercad.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Practice Questions on recent development part 1.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
web development for engineering and engineering
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Internship_Presentation_Final engineering.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
“Next-Gen AI: Trends Reshaping Our World”
Simulation of electric circuit laws using tinkercad.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

Tomato disease detection using deep learning convolutional neural network

  • 1. Tomato leaf disease detection and classification based on deep convolutional neural networks Priyanka Pradhan and Dr. Brajesh Kumar Department of Computer Science & IT, MJP Rohilkhand University, Bareilly-243006, India
  • 2. Content • Outlines of Key Principles • Literature Survey • Results and findings • Conclusion • References 4/6/2022 2
  • 3. Outlines 1. Tomato is one of the major crops in India. The production of tomatoes is rigorously affected by several types of diseases. Therefore, initial detection of disease is vital for the quality and quantity of tomatoes. 2. There are many diseases that mostly affect the plant leaves. This paper adopts a convolutional neural network (CNN) model to detect and identify diseases using the images of tomato leaves. 3. The proposed CNN model comprises four convolutions and four max pooling layers, which are followed by fully connected layers. The performance of the proposed method is assessed by performing experiments on a well-known PlantVillage dataset. 4. The overall accuracy of the proposed method is obtained as 96.26%. 5. It is compared with some fine-tuned pre-trained CNN models InceptionResNetV2 and InceptionV3. 6. The results illustrate that the proposed method outperforms all the methods based on fine-tuned models. 4/6/2022 3
  • 4. Tomato Dataset Figure 1: Different Tomato Healthy and Unhealthy Class 4/6/2022 4 The performance of the proposed method is assessed by performing experiments on a well-known PlantVillage dataset. There are nine diseases and one healthy class for tomato crop in the dataset.
  • 5. Dataset for Image Classification 4/6/2022 5 PlantVillage consists of 54303 images for 14 different crops distributed in 38 categories including healthy and various disease classes. The total number of tomato images considered for this work was 14,532 which includes both infected tomato leaves, as well as healthy tomato leaves images The 75% images are kept in training set and the rest 25% images from the testing set. Table I
  • 6. Literature Survey [1] Karthik et al. introduced two dissimilar deep convolutional neural networks (CNN) models to identify the infection in tomato leaves in as early stage as possible. The authors stated overall accuracy of 98%. [2] Agrawal et al. Created a model entailing three convolutional, three max pooling layers, and two fully connected layers. Test results showed 91.2% accuracy. [3] Ashok et al. developed a method that identifies tomato leaf disease based on image segmentation and clustering to classify leaf disease of tomato plants. [4] Ahmad et al. tested four pre-trained CNN models VGG-16, ResNet, VGG-19, and InceptionV3 to identify and classify tomato leaf diseases. They tested these four models on two datasets and found that InceptionV3 gave the best performance. [5] Elhassouny et al. developed an effective smart mobile application based on CNN for detecting and classifying tomato leaf diseases. [6] Hasan et al. used the transfer learning concept to reorient the Inception model to classify tomato leaves in three disease classes. [7] Sardogan et al. developed a CNN both for feature extraction and classification using spectral information. [8] Tm et al. achieved the results similar to various well known techniques using optimal computing resources. 4/6/2022 6
  • 7. Work flow of Proposed System Figure 2: Work flow for tomato leaf disease detection 4/6/2022 7 The proposed workflow for CNN-based plant disease detection and identification is shown in Figure 2. This flowchart shows data preparation module, dataset spliting module and classification module.
  • 8. Classification Framework Figure 3: Classification framework for plant disease detection and identification 4/6/2022 8 CNN classification framework used in proposed work consists of four convolutional layers and four max pooling layers placed alternatively. At the top of the arrangement of convolutional and pooling layers a fully connected layer is placed. The well-known RELU activation function is used at different layers in CNN. At the top layer in the model, Softmax classifier is used to map the input to appropriate class as shown in Figure 3.
  • 9. Different layers used in Proposed CNN Model 4/6/2022 9 Table II The implemented CNN model layer details are given in Table II. For minimizing the training loss, the Adaptive Moment Estimation optimizer is used. The learning rate is set to 0.001 and batch size is kept as 32 during the training process.
  • 10. Results and Findings 4/6/2022 10 The naive accuracy values obtained for the proposed model and two pre-trained models InceptionResnetV2 and InceptionV3 are listed in Table III along with learning error and training time. Both class-wise and overall accuracies are given in the table. The training time is reported in seconds.
  • 11. Contd… 4/6/2022 11 Table IV provides the classification accuracy in terms of Cohen’s Kappa. Cohen’s Kappa statistic is a very good measure that can handle very well both multi-class and imbalanced class problems. Cohen’s Kappa= (Overall Accuracy – Expected Accuracy)/ (1-Expected Accuracy)
  • 12. Training Loss vs Training Accuracy Graph of Proposed Model 4/6/2022 12 Figure 4: Training Loss vs Training Accuracy Graph of Proposed Model
  • 13. CONCLUSION 1. In this work, a CNN model was developed for the automatic detection and identification of tomato crop diseases using leaf images. 2. It consists of four convolution, four max pooling layers, and three fully connected layers with varying numbers of filters at different layers. 3. The experimental results exhibited that the average accuracy of the model is 96.21%. 4. It was able to detect different tomato diseases with good accuracy. 5. The efficiency of the proposed model was found better and takes a lesser training time than pre-trained CNN models Inception- ResnetV2 and InceptionV3. Also, the proposed model showed good accuracy as compared with other models. 4/6/2022 13
  • 14. REFERENCES [1] R. Karthik, M. Hariharan, S. Anand, P. Mathikshara, A. Johnson, and R. Menaka,“Attention embedded residual CNN for disease detection in tomato leaves, ”Applied Soft Computing, vol. 86, pp. 105933, 2020. [2] M. Agarwal, A. Singh, S. Arjaria, A. Sinha, and S. Gupta,“ ToLeD: Tomato leaf disease detection using convolution neural network, ”Procedia Computer Science, vol. 167, pp. 293-301, 2020. [3] S. Ashok, G. Kishore, V. Rajesh,S. Suchitra, S. G. Sophia, and B. Pavithra, “Tomato Leaf Disease Detection Using Deep Learning Techniques, ” In 2020 5th International Conference on Communication and Electronics Systems (ICCES), pp. 979-983, IEEE, 2020. [4] I. Ahmad, M. Hamid, S. Yousaf, S. T. Shah, and M. O. Ahmad, “ Optimizing Pretrained Convolutional Neural Networks for Tomato Leaf Disease Detection, ” Complexity, 2020. [5] A. Elhassouny, and F. Smarandache, “ Smart mobile application to recognize tomato leaf diseases using Convolutional Neural Networks, ”In 2019 International Conference of Computer Science and Renewable Energies (ICCSRE), pp. 1-4, IEEE, 2019. [6] M. Hasan, B. Tanawala, and K. J. Patel,“ Deep learning precision farming: Tomato leaf disease detection by transfer learning, ”In Proceedings of 2nd International Conference on Advanced Computing and Software Engineering (ICACSE). [7] M. Sardogan, A. Tuncer, and Y. Ozen, “ Plant leaf disease detection and classification based on CNN with LVQ algorithm, ”In 2018 3rd International Conference on Computer Science and Engineering (UBMK), pp. 382-385, IEEE, 2018. 4/6/2022 14

Editor's Notes

  • #11: It is important to establish a baseline in performance for a classification dataset. It provides a line in the sand by which all other algorithms can be compared. An algorithm that achieves a score below a naive classification model has no skill on the dataset, whereas an algorithm that achieves a score above that of a naive classification model has some skill on the dataset.
  • #12: Cohen’s kappa statistic is a very good measure that can handle very well both multi-class and imbalanced class problems.