Classification and Analysis of Tomato Species with Convolutional Neural Networks

Yavuz Selim Taspınar

Abstract


Tomatoes are one of the most used vegetables. There are varieties that can grow in different climates. The taste, usage area and commercial value of each are different from each other. For this reason, identifying and sorting tomato species after the production stage is a problem. In addition, since tomato is a sensitive vegetable, it is extremely important to separate it from a distance. For this purpose, the classification of tomato images belonging to 9 different tomato species was carried out in the study. In total, a dataset containing 6810 tomato images in 9 classes was used. Three different pre-trained Convolutional Neural Network (CNN) models were used with the transfer learning method to classify the images. AlexNet, InceptionV3 and VGG16 models were used for classification. As a result of the classifications made, the highest classification belongs to the AlexNet model with 100%. Evaluation of the performances of the models was also made with precision, recall, F1 Score and specificity performance metrics. It is foreseen that the proposed methods can be used for the separation of tomatoes.

Keywords


Classification; Computer Vision; Food Quality; Nutrients; Tomato Varieties

Full Text:

PDF

References


Al-Doori SKS, Taspinar YS, Koklu M (2021). Distract-ed Driving Detection with Machine Learning Meth-ods by CNN Based Feature Extraction. Interna-tional Journal of Applied Mathematics Electronics and Computers, 9(4), 116-121.

Al Ohali Y (2011). Computer vision based date fruit grading system: Design and implementation. Jour-nal of King Saud University-Computer and Infor-mation Sciences, 23(1), 29-36.

Arakeri MP (2016). Computer vision based fruit grad-ing system for quality evaluation of tomato in agri-culture industry. Procedia Computer Science, 79, 426-433.

Cinar I, Koklu M (2022). Identification of Rice Varie-ties Using Machine Learning Algorithms. Journal of Agricultural Sciences, 9-9.

Elhariri E, El-Bendary N, Fouad MMM, Platoš J, Has-sanien AE, Hussein AM (2014). Multi-class SVM based classification approach for tomato ripeness. In Innovations in Bio-inspired Computing and Ap-plications (pp. 175-186): Springer.

Jhawar J (2016). Orange sorting by applying pattern recognition on colour image. Procedia Computer Science, 78, 691-697.

Kishore B, Yasar A, Taspinar YS, Kursun R, Cinar I, Shankar VG, Koklu M, Ofori I (2022). Computer-Aided Multiclass Classification of Corn from Corn Images Integrating Deep Feature Extraction. Com-putational Intelligence and Neuroscience, 2022.

Koklu M, Kursun R, Taspinar YS, Cinar I (2021). Clas-sification of date fruits into genetic varieties using image analysis. Mathematical Problems in Engi-neering, 2021.

Mim FS, Galib SM, Hasan MF, Jerin SA (2018). Auto-matic detection of mango ripening stages–An ap-plication of information technology to botany. Sci-entia horticulturae, 237, 156-163.

Moallem P, Serajoddin A, Pourghassem H (2017). Computer vision-based apple grading for golden delicious apples based on surface features. Infor-mation processing in agriculture, 4(1), 33-40.

Muhammad G (2015). Date fruits classification using texture descriptors and shape-size features. Engi-neering Applications of Artificial Intelligence, 37, 361-367.

Mureşan H, Oltean M (2017). Fruit recognition from images using deep learning. arXiv preprint arXiv:1712.00580.

Oo LM, Aung NZ (2018). A simple and efficient meth-od for automatic strawberry shape and size estima-tion and classification. Biosystems engineering, 170, 96-107.

Ramos P, Prieto FA, Montoya E, Oliveros CE (2017). Automatic fruit count on coffee branches using computer vision. Computers and Electronics in Ag-riculture, 137, 9-22.

Singh D, Taspinar YS, Kursun R, Cinar I, Koklu M, Ozkan IA, Lee HN (2022). Classification and Analysis of Pistachio Species with Pre-Trained Deep Learning Models. Electronics, 11(7), 981.

Sofu MM, Er O, Kayacan M, Cetişli B (2016). Design of an automatic apple sorting system using ma-chine vision. Computers and Electronics in Agri-culture, 127, 395-405.

Taspinar YS, Cinar I, Koklu M (2021). Prediction of Computer Type Using Benchmark Scores of Hard-ware Units. Selcuk University Journal of Engineer-ing Sciences, 20(1), 11-17.

Taspinar YS, Dogan M, Cinar I, Kursun R, Ozkan IA, Koklu M (2022). Computer vision classification of dry beans (Phaseolus vulgaris L.) based on deep transfer learning techniques. European Food Re-search and Technology, 248(11), 2707-2725.

Taspinar YS, Koklu M, Altin M (2021). Classification of flame extinction based on acoustic oscillations using artificial intelligence methods. Case Studies in Thermal Engineering, 28, 101561.

Tomato Dataset. Retrieved from https://github.com/Horea94/Fruit-Images-Dataset

Unal Y, Taspinar YS, Cinar I, Kursun R, Koklu M (2022). Application of Pre-Trained Deep Convolu-tional Neural Networks for Coffee Beans Species Detection. Food Analytical Methods, 15(12), 3232-3243.

Wan P, Toudeshki A, Tan H, Ehsani R (2018). A methodology for fresh tomato maturity detection using computer vision. Computers and electronics in agriculture, 146, 43-50.

Wang F, Zheng J, Tian X, Wang J, Niu L, Feng W (2018). An automatic sorting system for fresh white button mushrooms based on image processing. Computers and electronics in agriculture, 151, 416-425.

Zhang Y, Wang S, Ji G, Phillips P (2014). Fruit classifi-cation using computer vision and feedforward neu-ral network. Journal of Food Engineering, 143, 167-177.




DOI: https://doi.org/10.15316/SJAFS.2022.067

Refbacks

  • There are currently no refbacks.


Creative Commons Lisansı
Bu eser Creative Commons Alıntı-GayriTicari-Türetilemez 4.0 Uluslararası Lisansı ile lisanslanmıştır.