Affiliation:
1. Department of Agricultural Machinery and Technologies Engineering, Faculty of Agriculture, Ondokuz Mayıs University, 55139 Samsun, Turkey
2. Department of Agricultural Engineering, Hamelmalo Agricultural College, Keren P.O. Box 397, Eritrea
3. Fruit Research Institute, 32500 Isparta, Turkey
4. Department of Biotechnical Systems, Faculty of Biotechnical Systems Engineering, National University of Science and Technology Politehnica Bucharest, 060042 Bucharest, Romania
Abstract
Having the advantages of speed, suitability and high accuracy, computer vision has been effectively utilized as a non-destructive approach to automatically recognize and classify fruits and vegetables, to meet the increased demand for food quality-sensing devices. Primarily, this study focused on classifying apple varieties using machine learning techniques. Firstly, to discern how different convolutional neural network (CNN) architectures handle different apple varieties, transfer learning approaches, using popular seven CNN architectures (VGG16, VGG19, InceptionV3, MobileNet, Xception, ResNet150V2 and DenseNet201), were adopted, taking advantage of the pre-trained models, and it was found that DenseNet201 had the highest (97.48%) classification accuracy. Secondly, using the DenseNet201, deep features were extracted and traditional Machine Learning (ML) models: support vector machine (SVM), multi-layer perceptron (MLP), random forest classifier (RFC) and K-nearest neighbor (KNN) were trained. It was observed that the classification accuracies were significantly improved and the best classification performance of 98.28% was obtained using SVM algorithms. Finally, the effect of dimensionality reduction in classification performance, deep features, principal component analysis (PCA) and ML models was investigated. MLP achieved an accuracy of 99.77%, outperforming SVM (99.08%), RFC (99.54%) and KNN (91.63%). Based on the performance measurement values obtained, our study achieved success in classifying apple varieties. Further investigation is needed to broaden the scope and usability of this technique, for an increased number of varieties, by increasing the size of the training data and the number of apple varieties.
Funder
National University of Science and Technology Politehnica Bucharest
Subject
Plant Science,Agronomy and Crop Science,Food Science
Reference40 articles.
1. Food and Agriculture Organization of the United Nations (2022). FAOSTAT Statistical Database, FAO. Available online: https://www.fao.org/faostat/en/#data/QCL/visualize.
2. Rachmawati, E., Supriana, I., and Khodra, M.L. (2017, January 19–21). Toward a new approach in fruit recognition using hybrid RGBD features and fruit hierarchy property. Proceedings of the 4th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), Yogyakarta, Indonesia.
3. A comprehensive review of fruit and vegetable classification techniques;Hameed;Image Vis Comput.,2018
4. Fault tree event classification by neural network analysis;Barbelian;UPB Sci. Bull. Series D Mech. Eng.,2017
5. Machine learning–based detection and sorting of multiple vegetables and fruits;Bhargava;Food Anal. Methods,2022