Affiliation:
1. Computer and Software Engineering Department, Misr University for Science and Technology, Giza, Egypt
Abstract
Smart farming, also known as precision agriculture or digital farming, is an innovative approach to agriculture that utilizes advanced technologies and data-driven techniques to optimize various aspects of farming operations. One smart farming activity, fruit classification, has broad applications and impacts across agriculture, food production, health, research, and environmental conservation. Accurate and reliable fruit classification benefits various stakeholders, from farmers and food producers to consumers and conservationists. In this study, we conduct a comprehensive comparative analysis to assess the performance of a Convolutional Neural Network (CNN) model in conjunction with four transfer learning models: VGG16, ResNet50, MobileNet-V2, and EfficientNet-B0. Models are trained once on a benchmark dataset called Fruits360 and another time on a reduced version of it to study the effect of data size and image processing on fruit classification performance. The original dataset reported accuracy scores of 95%, 93%, 99.8%, 65%, and 92.6% for these models, respectively. While accuracy increased when trained on the reduced dataset for three of the employed models. This study provides valuable insights into the performance of various deep learning models and dataset versions, offering guidance on model selection and data preprocessing strategies for image classification tasks.