Research Article

Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization

Volume: 29 Number: 4 November 6, 2023
EN

Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization

Abstract

Plant disease detection and disease classification at initial stages for sensitive commodities like tomatoes and potatoes is highly mandated as the harvest losses have a direct impact on the price fixation of the vegetables. The most identified limitation in the study of plant pathology is the availability of datasets with visual symptoms that covers all the possible diseases of one crop or plant species. Computer Vision systems and advancements in deep learning-based modeling methodologies gained significant attention in smart farming. It is presumed that the implementation of deep learning algorithms demands a large amount of data to learn complex features automatically and this can pose a challenge for applications with lesser data to achieve generalization. In such cases, Transfer Learning with optimum regularization techniques and fine-tuning mechanisms is the solution to overcome the limitations of smaller datasets. The objective of the work is to develop Tomato Disease Classification System using a transfer learning approach for ten tomato disease classes of the PlantVillage dataset downloaded from the Kaggle platform. Inception V3, a pre-trained transfer learning model is used to classify this multi-class, imbalanced, tomato plant disease based on the leaf symptoms such as dark brown lesions, concentric rings, etc. Geometrical data augmentation is used as a regularization technique to expand the size of the dataset. Significant improvement in the performance metrics is observed when the finetuning is optimum. The training accuracy and validation accuracy of the model before and after fine-tuning are 97.08%, 83.52%, and 98.19%, 95.93% respectively. The average accuracy with augmentation and optimal fine-tuning is 98%. In addition, prediction scores in terms of precision, recall, and F1-score are obtained to visualize the rate of mispredictions across the disease classes. It is observed that the misprediction rate is high across the classes early blight, late blight, and Septoria spot due to similar visual symptoms. Further, activations are used to generate an attention map in the form of Heat Maps which are included as a post-processing step before the classification of the output. Plant Leaf Disease Classification- A web application is deployed using Streamlit Python library and Ngrok services.

Keywords

References

  1. Adhikari, P., Oh, Y. and Panthee, D.R. (2017). Current status of early blight resistance in tomato: an update. International journal of molecular sciences, 18(10), pp.1-22 https://doi.org/10.3390/ijms18102019 .
  2. Agarwal, Mohit, Abhishek Singh, Siddhartha Arjaria, Amit Sinha, and Suneet Gupta. "ToLeD: Tomato leaf disease detection using convolution neural network." Procedia Computer Science 167 (2020): 293-301. https://doi.org/10.1016/j.procs.2020.03.225
  3. Al‐gaashani, Mehdhar SAM, Fengjun Shang, Mohammed SA Muthanna, Mashael Khayyat, and Ahmed A. Abd El‐Latif. "Tomato leaf disease classification by exploiting transfer learning and feature concatenation." IET Image Processing 16, no. 3 (2022): 913-925. https://doi.org/10.1049/ipr2.12397
  4. Altman, Douglas G., and J. Martin Bland. "Diagnostic tests. 1: Sensitivity and specificity." BMJ: British Medical Journal 308, no. 6943 (1994): 1552. doi: 10.1136/bmj.308.6943.1552 .
  5. Astani, M., Hasheminejad, M, and Vaghefi, M. (2022). A diverse ensemble classifier for tomato disease recognition. Computers and Electronics in Agriculture, 198, 107054. https://doi.org/10.1016/j.compag.2022.107054
  6. Basavaiah, Jagadeesh, and Audre Arlene Anthony. "Tomato leaf disease classification using multiple feature extraction techniques." Wireless Personal Communications 115, no. 1 (2020): 633-651
  7. Bengio, Y., Bastien, F., Bergeron, A., Boulanger–Lewandowski, N., Breuel, T., Chherawala, Y., and Sicard, G. (2011). Deep learners benefit more from out-of-distribution examples. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics. JMLR Workshop and Conference Proceedings, pp. 164-172.
  8. Dong, N., Zhao, L., Wu, C. H., & Chang, J. F. (2020). Inception v3 based cervical cell classification combined with artificially extracted features. Applied Soft Computing, 93, 106311. https://doi.org/10.1016/j.asoc.2020.106311.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Early Pub Date

May 24, 2023

Publication Date

November 6, 2023

Submission Date

January 6, 2023

Acceptance Date

March 28, 2023

Published in Issue

Year 2023 Volume: 29 Number: 4

APA
Ramıah Subburaj, S. D., Vaıthyam Rengarajan, V., & Palanıswamy, S. (2023). Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization. Journal of Agricultural Sciences, 29(4), 1003-1017. https://doi.org/10.15832/ankutbd.1230265
AMA
1.Ramıah Subburaj SD, Vaıthyam Rengarajan V, Palanıswamy S. Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization. J Agr Sci-Tarim Bili. 2023;29(4):1003-1017. doi:10.15832/ankutbd.1230265
Chicago
Ramıah Subburaj, Sandhya Devi, Vijayakumar Vaıthyam Rengarajan, and Sivakumar Palanıswamy. 2023. “Transfer Learning Based Image Classification of Diseased Tomato Leaves With Optimal Fine-Tuning Combined With Heat Map Visualization”. Journal of Agricultural Sciences 29 (4): 1003-17. https://doi.org/10.15832/ankutbd.1230265.
EndNote
Ramıah Subburaj SD, Vaıthyam Rengarajan V, Palanıswamy S (November 1, 2023) Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization. Journal of Agricultural Sciences 29 4 1003–1017.
IEEE
[1]S. D. Ramıah Subburaj, V. Vaıthyam Rengarajan, and S. Palanıswamy, “Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization”, J Agr Sci-Tarim Bili, vol. 29, no. 4, pp. 1003–1017, Nov. 2023, doi: 10.15832/ankutbd.1230265.
ISNAD
Ramıah Subburaj, Sandhya Devi - Vaıthyam Rengarajan, Vijayakumar - Palanıswamy, Sivakumar. “Transfer Learning Based Image Classification of Diseased Tomato Leaves With Optimal Fine-Tuning Combined With Heat Map Visualization”. Journal of Agricultural Sciences 29/4 (November 1, 2023): 1003-1017. https://doi.org/10.15832/ankutbd.1230265.
JAMA
1.Ramıah Subburaj SD, Vaıthyam Rengarajan V, Palanıswamy S. Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization. J Agr Sci-Tarim Bili. 2023;29:1003–1017.
MLA
Ramıah Subburaj, Sandhya Devi, et al. “Transfer Learning Based Image Classification of Diseased Tomato Leaves With Optimal Fine-Tuning Combined With Heat Map Visualization”. Journal of Agricultural Sciences, vol. 29, no. 4, Nov. 2023, pp. 1003-17, doi:10.15832/ankutbd.1230265.
Vancouver
1.Sandhya Devi Ramıah Subburaj, Vijayakumar Vaıthyam Rengarajan, Sivakumar Palanıswamy. Transfer Learning based Image Classification of Diseased Tomato Leaves with Optimal Fine-Tuning combined with Heat Map Visualization. J Agr Sci-Tarim Bili. 2023 Nov. 1;29(4):1003-17. doi:10.15832/ankutbd.1230265

Cited By

Journal of Agricultural Sciences is published as open access journal. All articles are published under the terms of the Creative Commons Attribution License (CC BY).