Research Article

Low-Cost Classification of Close and Open Shell Antep Pistachio Nuts based on Image Analysis and Machine Learning

Volume: 34 Number: 1 March 31, 2024
EN

Low-Cost Classification of Close and Open Shell Antep Pistachio Nuts based on Image Analysis and Machine Learning

Abstract

The effectiveness of post-harvest industrial processes is critical to maintaining the economic worth of pistachio nuts, which play an essential role in the agricultural economy. To achieve this level of efficiency, updated applications and technology for pistachio separation and categorization are required. Different pistachio species target different markets, highlighting the need for pistachio species classification. This work aims to develop a classification model that is distinct from existing separation approaches, based on image processing and machine learning, and can provide the required categorization. A computer vision application was done to identify between three types of pistachios. A high-resolution camera was used to capture 385 images of these pistachios. The photos of the pistachio samples were processed using image processing techniques like segmentation and feature extraction. On the given dataset, an advanced classifier based on Decision Tree and Random Forest predictions was constructed, as well as a simple and successful classifier. In the research, an application with feature extraction based on the dimension and pixel measurement is proposed. The proposed approach attained a classification success rate of 100% at 70% train and 30% test, and also, 80% train and 20% test data rate with Random Forest prediction, according to the experimental data. The provided high-performance classification model fills an important demand for the separation of pistachio types while increasing the economic worth of the species.

Keywords

References

  1. Aktaş, H., Kızıldeniz, T., & Ünal, Z. (2022). Classification of pistachios with deep learning and assessing the effect of various datasets on accuracy. Journal of Food Measurement and Characterization, 16(3), 1983-1996. https://doi.org/10.1007/s11694-022-01313-5.
  2. Anonymous. (2022). Different Types of Iranian Pistachios. https://ratinkhosh.com/iranian-pistachio-products/ Access date: 21.10.2022.
  3. Brosnan, T., & Sun, D. W. (2002). Inspection and grading of agricultural and food products by computer vision systems – A review. Computers and Electronics in Agriculture, 36, 193-213. https://doi.org/10.1016/S0168-1699(02)00101-1.
  4. Coban, A., Oztas Akfirat, S., & Coban, O. (2022). Economic Value of Pistachio and Production Problems. 13th Eurasian Conferences on Language and Social Sciences Abstract Book, 347-357.
  5. Dreher, M. L. (2012). Pistachio nuts: Composition and potential health benefits. Nutrition Reviews, 70(4), 234-240. https://doi.org/10.1111/j.1753-4887.2011.00467.x.
  6. Ertürk, Y. E., Geçer M. K., Gülsoy, E., & Yalçın, S. (2011). Production and Marketing of Pistachio. Journal of the Institute of Science and Technology of Igdir University, 5, 43-62.
  7. FAO. (2023). Pistachios in the Shell for the 2021 year. https://www.fao.org/faostat/en/#data/QCL Access date: 21.12.2023.
  8. Farazi, M., Abbas-Zadeh, M. J., & Moradi, H. (2017). A Machine Vision Based Pistachio Sorting Using Transferred Mid-Level Image Representation of Convolutional Neural Network. In 2017 10th Iranian Conference on Machine Vision and Image Processing (MVIP), 145-148.

Details

Primary Language

English

Subjects

Agricultural Machines

Journal Section

Research Article

Early Pub Date

March 25, 2024

Publication Date

March 31, 2024

Submission Date

June 22, 2023

Acceptance Date

January 29, 2024

Published in Issue

Year 2024 Volume: 34 Number: 1

APA
Beyaz, A. (2024). Low-Cost Classification of Close and Open Shell Antep Pistachio Nuts based on Image Analysis and Machine Learning. Yuzuncu Yıl University Journal of Agricultural Sciences, 34(1), 87-105. https://doi.org/10.29133/yyutbd.1318589
Creative Commons License
Yuzuncu Yil University Journal of Agricultural Sciences by Van Yuzuncu Yil University Faculty of Agriculture is licensed under a Creative Commons Attribution 4.0 International License.