A Fast and Accurate Method for Classifying Tomato Plant Health Status Using Machine Learning and Image Processing


Elektronika ir Elektrotechnika, vol.29, no.2, pp.54-68, 2023 (SCI-Expanded) identifier

  • Publication Type: Article / Article
  • Volume: 29 Issue: 2
  • Publication Date: 2023
  • Doi Number: 10.5755/j02.eie.33866
  • Journal Name: Elektronika ir Elektrotechnika
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Aerospace Database, Applied Science & Technology Source, Central & Eastern European Academic Source (CEEAS), Communication Abstracts, Computer & Applied Sciences, INSPEC, Metadex, Directory of Open Access Journals, Civil Engineering Abstracts
  • Page Numbers: pp.54-68
  • Keywords: Classification algorithms, Image processing, Machine learning algorithms, Smart agriculture
  • Yozgat Bozok University Affiliated: Yes


Agriculture is crucial to economic growth and development, and maintaining high-quality, disease-free plants is crucial to its success. Early detection of plant diseases, which can be caused by environmental factors, fungi, bacteria, and viruses, is essential to implement appropriate treatments. Tomatoes, which are one of the most vital food crops, are susceptible to diseases that can result in significant economic losses in agriculture. This study introduces a method to evaluate the health of tomato leaf using image processing techniques and machine learning algorithms. A dataset of 1,778 images of healthy and infected tomato leaves was collected from tomato planting areas in the Turkish provinces of Samsun and Mersin. Sixteen advanced machine learning algorithms were used for classification, and the optimal hyper parameters for each algorithm were determined using a grid search approach. The classifiers were executed on Jetson Nano and TX2 embedded systems. The experimental results indicate that the Random Forest classifier outperformed other algorithms, achieving approximately 99 % accuracy in detecting and classifying the health status of tomato leaves. The proposed system enables faster and more accurate detection, allowing farmers to classify plants as infected or healthy, ultimately improving decision-making on treatment and pest management strategies.