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

PPT
A Novel Approach for Tomato Diseases Classification Based on Deep Convolution...
PPTX
Plant Disease Detection Using ML.pptx
PPTX
Tomato leaves diseases detection approach based on support vector machines
PDF
LEAF DISEASE DETECTION USING IMAGE PROCESSING AND SUPPORT VECTOR MACHINE (SVM)
PPTX
Classification of Apple diseases through machine learning
PDF
IRJET- Leaf Disease Detecting using CNN Technique
PPTX
Imageprocessing
PPTX
Plant Disease Prediction using CNN
A Novel Approach for Tomato Diseases Classification Based on Deep Convolution...
Plant Disease Detection Using ML.pptx
Tomato leaves diseases detection approach based on support vector machines
LEAF DISEASE DETECTION USING IMAGE PROCESSING AND SUPPORT VECTOR MACHINE (SVM)
Classification of Apple diseases through machine learning
IRJET- Leaf Disease Detecting using CNN Technique
Imageprocessing
Plant Disease Prediction using CNN

What's hot (20)

PPTX
Artificial intelligence
PPTX
Artificial intelligence ppt
PPT
Presentation on artificial intelligence
PPT
Machine learning
PDF
Artificial Intelligence
PPTX
Artificial intelligence introduction
PPTX
Computer vision
PPTX
Machine Can Think
PDF
Artificial Intelligence in Agriculture
PPTX
What is Deep Learning?
PDF
Machine learning
PDF
Introduction to the ethics of machine learning
PPTX
Plant disease detection using machine learning algorithm-1.pptx
PPTX
Big data and Artificial Intelligence
DOC
AiArtificial Itelligence
PPTX
Artificial Intelligence in Business
PDF
IoT as a metaphor!
PPTX
Lung Cancer Prediction using Image Classification
PPTX
Machine learning with ADA Boost
PPTX
Neural network
Artificial intelligence
Artificial intelligence ppt
Presentation on artificial intelligence
Machine learning
Artificial Intelligence
Artificial intelligence introduction
Computer vision
Machine Can Think
Artificial Intelligence in Agriculture
What is Deep Learning?
Machine learning
Introduction to the ethics of machine learning
Plant disease detection using machine learning algorithm-1.pptx
Big data and Artificial Intelligence
AiArtificial Itelligence
Artificial Intelligence in Business
IoT as a metaphor!
Lung Cancer Prediction using Image Classification
Machine learning with ADA Boost
Neural network
Ad

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

PDF
Early detection of tomato leaf diseases based on deep learning techniques
PDF
scientific report journal scientific report journal
PDF
Plant Diseases Prediction Using Image Processing
PDF
Internet of things and multi-class deep feature-fusion based classification o...
PDF
PLANT LEAF DISEASE CLASSIFICATION USING CNN
PDF
IRJET- Crop Leaf Disease Diagnosis using Convolutional Neural Network
PDF
A Review: Plant leaf Disease Detection Using Convolution Neural Network in Ma...
PDF
Crop Leaf Disease Diagnosis using Convolutional Neural Network
PDF
Tomato Disease Fusion and Classification using Deep Learning
PDF
Potato leaf disease detection using convolutional neural networks
PDF
Low-cost convolutional neural network for tomato plant diseases classification
PDF
19536.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
PDF
LEAF DISEASE IDENTIFICATION AND REMEDY RECOMMENDATION SYSTEM USINGCNN
PDF
An Innovative Approach for Tomato Leaf Disease Identification and its Benefic...
PDF
20608-38949-1-PB.pdf
PPTX
ML1111111111111111111111111111111111111111
PPTX
Thesis defence in computer science and Engineering
PDF
Leaf Disease Detection Using Image Processing and ML
PDF
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
DOCX
Paddy Crop Disease Detection using Ann, CNN & Resnet101.docx
Early detection of tomato leaf diseases based on deep learning techniques
scientific report journal scientific report journal
Plant Diseases Prediction Using Image Processing
Internet of things and multi-class deep feature-fusion based classification o...
PLANT LEAF DISEASE CLASSIFICATION USING CNN
IRJET- Crop Leaf Disease Diagnosis using Convolutional Neural Network
A Review: Plant leaf Disease Detection Using Convolution Neural Network in Ma...
Crop Leaf Disease Diagnosis using Convolutional Neural Network
Tomato Disease Fusion and Classification using Deep Learning
Potato leaf disease detection using convolutional neural networks
Low-cost convolutional neural network for tomato plant diseases classification
19536.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
LEAF DISEASE IDENTIFICATION AND REMEDY RECOMMENDATION SYSTEM USINGCNN
An Innovative Approach for Tomato Leaf Disease Identification and its Benefic...
20608-38949-1-PB.pdf
ML1111111111111111111111111111111111111111
Thesis defence in computer science and Engineering
Leaf Disease Detection Using Image Processing and ML
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
Paddy Crop Disease Detection using Ann, CNN & Resnet101.docx
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
Construction Project Organization Group 2.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Geodesy 1.pptx...............................................
PPT
introduction to datamining and warehousing
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Digital Logic Computer Design lecture notes
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
composite construction of structures.pdf
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT
Project quality management in manufacturing
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Construction Project Organization Group 2.pptx
573137875-Attendance-Management-System-original
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Geodesy 1.pptx...............................................
introduction to datamining and warehousing
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Digital Logic Computer Design lecture notes
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
composite construction of structures.pdf
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT 4 Total Quality Management .pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Project quality management in manufacturing
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Automation-in-Manufacturing-Chapter-Introduction.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

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.