Automated Tomato Quality Assessment Using Transfer Learning and Machine Learning Classifiers
Main Article Content
Abstract
With the increasing demand for high-quality tomatoes and the need for efficient large-scale production, an automated grading system has become essential. Manual sorting is time-consuming, labor-intensive, and expensive, making automation a practical alternative. This study introduces a hybrid strategy that blends machine learning with deep learning methods for tomato classification. A custom dataset was created using specialized imaging hardware, followed by preprocessing techniques to enhance feature recognition. While classifiers including Support Vector Machines (SVM), Random Forest (RF), and K-Nearest Neighbors (KNN) were used for grading, For feature extraction, a Convolutional Neural Network (CNN) was employed. High classification accuracy was established by the suggested CNN SVM model, effectively distinguishing between healthy and defective tomatoes, as well as categorizing them based on ripeness levels. When tested against benchmark datasets, It functioned more accurately and efficiently than other hybrid models. Key performance parameters, such as accuracy, precision, recall, specificity, and F1-score, were used to further assess the model's efficacy.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
FAO. (2021). Tomatoes Production. [Online]. Available: https://www.fao. org/faostat/en/#data/QCL/visualize
Tilasto. (2021). World: Tomatoes, Production Quantity. [Online]. Available: https://www.tilasto.com/en/topic/geography-and-agriculture/crop/ tomatoes/tomatoes-production-quantity/world?countries=World
R. Nithya, B. Santhi, R. Manikandan, M. Rahimi, and A. H. Gandomi, ‘‘Computer vision system for mango fruit defect detection using deep convolutional neural network,’’ Foods, vol. 11, no. 21, p. 3483, Nov. 2022.
‘‘International standards for fruit and vegetables-tomatoes,’’ OECD, Org. Econ. Cooperation, Paris, France, Tech. Rep., 2019.
‘‘United states consumer standards for fresh tomatoes,’’ USDA, United States Dept. Agricult., Washington, DC, USA, Tech. Rep., 2018.