Classification of Pistachio Species based on Deep Learning Models
DOI:
https://doi.org/10.61173/y7tgwq87Keywords:
Pistachio, Convolutional Neural Networks, Vision Transformer, Data AugmentationAbstract
Pistachios are highly nutritious and have a large market presence. Since different species vary in quality and can be sold at different prices, it is crucial to classify prominent species accurately. Additionally, given the large number of species, improving the speed of species identification is also important. However, traditional methods for identifying pistachio species can be challenging in both accuracy and efficiency. This study examines the utilization of Deep Learning technologies to automatically classify the two pistachio species from Turkey: Kirmizi and Siirt. The performance of Convolutional Neural Networks (CNNs) is compared to that of Vision Transformers. Evaluated CNN models include ResNet and EfficientNet, which were trained and tested using both actual and augmented images. The experimental results show that ResNet achieves the best accuracy and fastest inference time, the peak accuracy is 99.30%. Data augmentation improves performance but increases inference time. The research findings emphasize the potential of Deep Learning for improving pistachio species classification.
References
[1] Mateos R, Salvador M D, Fregapane G, et al. Why Should Pistachio Be a Regular Food in Our Diet?. Nutrients, 2022, 14(15): 3207.
[2] Singh D, Taspinar Y S, Kursun R, et al. Classification and analysis of pistachio species with pre-trained deep learning models. Electronics, 2022, 11(7): 981.
[3] Ozkan IA, Koklu M, Saraçoğlu R. Classification of pistachio species using improved k-NN classifier. Health, 2021, 23: e2021044.
[4] Dini A, Zadeh H G, Rahimifard A, Fayazi A, Eftekhari M, Abbaszadeh M. Designing a hardware system to separate defective pistachios from healthy ones using deep neural networks. Iran. J. Biosyst. Eng, 2020, 51: 149-159.
[5] Kheiralipour K, Nadimi M, Paliwal J. Development of an intelligent imaging system for ripeness determination of wild pistachios. Sensors, 2022, 22(19): 7134.
[6] Rahimzadeh M, Attar A. Detecting and counting pistachios based on deep learning. Iran Journal of Computer Science, 2022, 5(1): 69-81.
[7] Duta I C, Liu L, Zhu F, et al. Improved residual networks for image and video recognition. International Conference on Pattern Recognition (ICPR) IEEE, 2021, 25: 9415-9422.
[8] Reddy A S B, Juliet D S. Transfer learning with ResNet-50 for malaria cell-image classification. International conference on communication and signal processing (ICCSP) IEEE, 2019, 0945-0949.
[9] Liang J. Image classification based on RESNET. Journal of Physics: Conference Series, 2020, 1634.
[10] Sarwinda D, Paradisa R H, Bustamam A, et al. Deep learning in image classification using residual network (ResNet) variants for detection of colorectal cancer. Procedia Computer Science, 2021, 179: 423-431.
[11] Koonce B. EfficientNet. Convolutional neural networks with swift for Tensorflow: image recognition and dataset categorization, 2021, 109-123.
[12] Khan S, Naseer M, Hayat M, et al. Transformers in vision: A survey. ACM computing surveys (CSUR), 2022, 54(10s): 1-41.
[13] Raghu M, Unterthiner T, Kornblith S, et al. Do vision transformers see like convolutional neural networks?. Advances in neural information processing systems, 2021, 34: 12116- 12128.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 by the authors.

This work is licensed under a Creative Commons Attribution 4.0 International License.
