BIO Web Conf.
Volume 85, 20243rd International Conference on Research of Agricultural and Food Technologies (I-CRAFT-2023)
|Number of page(s)
|Research of Agricultural and Food Technologies
|09 January 2024
An improved pistachio detection approach using YOLO-v8 Deep Learning Models
1 Yozgat Bozok University, Department of Computer Engineering, Turkey
2 Yozgat Bozok University, Department of Mechatronics Engineering, Turkey
* Corresponding author: email@example.com
Pistachios are an agricultural product widely used in the food industry. It is very important that pistachios are presented to the consumer in good quality on time. At the same time, whether the shells of pistachios are open or closed is an important criterion from a commercial industrial point of view. Pistachios with their shells open have a high unsaturated fat content, a high maturity level and an expensive market value. In this study, the open or closed status of pistachios was determined by using Artificial Intelligence-based deep learning models. For pistachio detection, 423 image data belonging to the Pesteh dataset were classified using models of the Yolov8 algorithm, which detects objects using convolutional neural networks. The data set is divided into 80% training, 10% validation and 10% testing. The performances of the models were evaluated with precision, recall, F1 and mAP score metrics. The highest test mAP value of the Yolov8 algorithm, which was run with image data consisting of pistachios, was obtained with the Yolov8-m model with 94.8%. The Yolov8-m model achieved a very successful result with 49.6 MB weight size, 11.0 ms inference time value and 0.33 hours training time value. In addition, the model's fast classification performance and small file size facilitate its applicability in the industrial field. The results show that the classification and detection of open and closed shell pistachios has been successfully carried out with Yolo models.
Key words: Yolov8 / Pistachios Detection / Deep Learning / Artificial Intelligence
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.