Classification of Some Fruits using Image Processing and Machine Learning

Authors

DOI:

https://doi.org/10.24925/turjaf.v9i12.2189-2196.4445

Keywords:

Fruit classification, image processing, real-time video processing, machine learning, Post-harvest technology

Abstract

In this study, an image processing algorithm and classification unit were developed to classify the fruits according to their size and color characteristics. For this purpose, a total of 300 fruits (50 fruit samples from each of the Starkrimson Delicious and Golden Delicious apple varieties, Washington Navel and Valencia Midknight orange varieties, Ekmek and Eşme quince varieties) were used in the experiments. The size and color values measured with a caliper and a spectrophotometer were entered in the developed image processing algorithm to determine the success rates of classifying the fruits. The integration of image processing algorithm with the classification unit classified 88%, 100%, 96%, 82%, 86%, respectively. On the other hand, the size and color values read in fruits with the image processing algorithm were evaluated using predictive techniques used in data mining. For this purpose, K Nearest Neighbor (KNN), Decision Tree (DT), Naive Bayes classification and Multilayer Perceptron Neural Network (MLP) algorithms were used. Algorithms were run with 10-fold cross validation method. In the training of artificial classifiers, the success was 93.6% for KNN, 90.3% for DT, 88.3% for Naive Bayes, 92.6% for MLP and 94.3% for RF.

Downloads

Published

25.12.2021

How to Cite

Gerdan Koç, D., & Vatandaş, M. (2021). Classification of Some Fruits using Image Processing and Machine Learning. Turkish Journal of Agriculture - Food Science and Technology, 9(12), 2189–2196. https://doi.org/10.24925/turjaf.v9i12.2189-2196.4445

Issue

Section

Research Paper