Document Type : Research Paper
Author
Department of Electrical Engineering, Faculty of Electrical and Computer Engineering, Sirjan University of Technology, Sirjan, Iran.
Abstract
Keywords
Main Subjects
Pistachio is one of Iran’s most significant non-oil export products, contributing substantially to the country's economy. Iran ranks among the top global pistachio producers, with several varieties, including Ahmad Aghaei, Fandoghi, Akbari, Badami, and Kalleh Ghouchi, dominating the market. Given the economic and industrial importance of pistachios, accurate classification of different types is crucial for improving quality control, optimizing processing efficiency, and minimizing waste. Traditional classification methods face challenges in identifying pistachio types with high accuracy. Therefore, leveraging advanced image processing, deep learning, and machine vision techniques has become a promising research direction. Among various texture analysis techniques, Gabor filters have proven effective in extracting meaningful patterns from images, offering a computationally efficient alternative to deep learning-based approaches.
This study proposes a machine vision-based method for pistachio classification using texture analysis. The approach consists of several steps:
The proposed method achieved an overall classification accuracy of 99.5%, significantly outperforming a reference method (Shamsi-Goshki et al., 2013) with 94.8% accuracy. The genetic algorithm effectively reduced computational complexity while maintaining classification performance. Performance metrics, including precision, recall, and F1-score, confirmed the superiority of the proposed approach over previous methods. Additionally, the proposed bulk classification approach is more suitable for industrial applications compared to conventional methods that classify individual pistachios.
This study demonstrates the effectiveness of combining Gabor filters, genetic algorithms, and KNN classification for pistachio type recognition. The approach achieves high accuracy with significantly lower computational costs than deep learning models, making it suitable for large-scale industrial applications. Future research can explore integrating deep learning with texture-based methods for further improvements.
Conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing—original draft preparation, writing—review and editing, visualization, supervision, and project administration by Asma Shams-Kermani. Author has read and agreed to the published version of the manuscript.
Data available on request from the authors.
The authors would like to thank all participants of the present study.
Ethical approval was not required for this study as it did not involve human or animal participants, or any sensitive personal data.
The author declares no conflict of interest.