Detection of Diseases in Tomato Plant using Machine Learning


Anshul Sharma
Ashish Chandak
Aryan Khandelwal
Raunak Gandhi


A major part of the Indian economy relies on agriculture, thus identification of any diseased crop in the initial phase is very important as these diseases cause a significant drop in agricultural production and also affect the economy of the country. Tomato crops are susceptible to various diseases which may be caused due to transmission of diseases through Air or Soil. We have tried to automate the procedure of detection of diseases in the Tomato Plant by studying several attributes related to the leaf of the plant. Using various machine learning algorithms such as Support Vector Machine (SVM), Convolutional Neural Network (CNN), ResNet, and InceptionV3 we have trained the model, and based on the results obtained we have evaluated and compared the performance of these algorithms on different features set. For the dataset we had 10 classes (healthy and other unhealthy classes) having a total of 18,450 images for the training of the models. After implementing all of the algorithms and comparing their results we found that the ResNet was most appropriate for extracting distinct attributes from images. The trained models can be used to detect diseases in Tomato Plant timely and automatically.


How to Cite
Anshul Sharma, Ashish Chandak, Aryan Khandelwal, & Raunak Gandhi. (2022). Detection of Diseases in Tomato Plant using Machine Learning. International Journal of Next-Generation Computing, 13(5).


  1. Salih, T.A. Deep Learning Convolution Neural Network to Detect and Classify Tomato Plant Leaf Diseases. Open Access Libr. J. 2020, 7, 12 DOI:
  2. Gavhale, K.R. and Gawande, U. (2014). An Overview of the Research on Plant Leaves Disease detection using Image Processing Techniques. IOSR Journal of Computer Engineering (IOSR-JCE), 16(1), pp. 10– 16 DOI:
  3. Fuentes, A., Youngki, H., Park, D.S., Yoon, S. and Lee, Y. (2016). Characteristics of Tomato Plant Diseases - A Study for Tomato Plant Disease Identification. International Symposium on Information Technology Convergence (ISITC). pp. 226–230.
  4. Hasan, M.; Tanawala, B.; Patel, K.J. Deep learning precision farming: Tomato leaf disease detection by transfer learning. In Proceeding of the 2nd International Conference on Advanced Computing and Software Engineering (ICACSE), Sultanpur, India, 8–9 February 2019 DOI:
  5. Ishak, S.; Rahiman, M.H.; Kanafiah, S.N.; Saad, H. Leaf disease classification using artificial neural network. J. Teknol. 2015, 77, 109–114 DOI:
  6. Sabrol, H.; Satish, K. Tomato plant disease classification in digital images using classification tree. In Proceedings of the International Conference on Communication and Signal Processing (ICCSP), Melmaruvathur, India, 6–8 April 2016; pp. 1242–1246. DOI:
  7. Polikar, R. "Ensemble based systems in decision making", 2006 DOI:
  8. Wu, Y.; Xu, L.; Goodman, E.D. Tomato Leaf Disease Identification and Detection Based on Deep Convolutional Neural Net-work. Intelli. Autom. Soft Comput. 2021, 28, 561–576. DOI:
  9. Cortes C. and Vapnik V., “Support vector networks”, Machine Learning, 20:1--25, 1995 DOI:
  10. Osuna E., Freund R., and Girosi F., “Support Vector Machines: Training and Applications”, A.I. Memo No. 1602, Artificial Intelligence Laboratory, MIT, 1997.
  11. Patil, A., Rane, M. Convolutional Neural Networks: An Overview and Its Applications in Pattern Recognition. In: Senjyu, T., Mahalle, P.N., Perumal, T., Joshi, A. (eds) Information and Communication Technology for Intelligent Systems. ICTIS 2020. Smart Innovation, Systems and Technologies, vol 195, 2021 DOI:
  12. Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun, “Deep Residual Learning for Image Recognition”, December 2015
  13. Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, Zbigniew Wojna, “Rethinking the Inception Architecture for Computer Vision”, December 2015 DOI:

Most read articles by the same author(s)