Identification of Rice Varieties Using Machine Learning Algorithms

Rice, which has the highest production and consumption rates worldwide, is among the main nutrients in terms of being economical and nutritious in our country as well. Rice goes through some stages of production from the field to the dinner tables. The cleaning phase is the separation of rice from u...

Full description

Saved in:
Bibliographic Details
Main Authors: Murat Koklu, İlkay Çınar
Format: Article
Language:English
Published: Ankara University 2022-04-01
Series:Journal of Agricultural Sciences
Subjects:
Online Access:https://dergipark.org.tr/tr/download/article-file/1513632
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849397098070409216
author Murat Koklu
İlkay Çınar
author_facet Murat Koklu
İlkay Çınar
author_sort Murat Koklu
collection DOAJ
description Rice, which has the highest production and consumption rates worldwide, is among the main nutrients in terms of being economical and nutritious in our country as well. Rice goes through some stages of production from the field to the dinner tables. The cleaning phase is the separation of rice from unwanted materials. During the classification phase, solid ones and broken ones are separated and calibration operations are performed. Finally, in the process of extraction based on color features, the striped and stained ones other than the whiteness on the surface of the rice grain are separated. In this paper, five different varieties of rice belonging to the same trademark were selected to carry out classification operations using morphological, shape and color features. A total of 75,000 rice grain images, including 15,000 for each varieties, were obtained. The images were pre-processed using MATLAB software and prepared for feature extraction. Using a combination of 12 morphological, 4 shape features and 90 color features obtained from five different color spaces, a total of 106 features were extracted from the images. For classification, models were created with algorithms using machine learning techniques of k-nearest neighbor, decision tree, logistic regression, multilayer perceptron, random forest and support vector machines. With these models, performance measurement values were obtained for feature sets of 12, 16, 90 and 106. Among the models, the success of the algorithms with the highest average classification accuracy was achieved 97.99% with random forest for morphological features. 98.04% were obtained with random forest for morphological and shape features. It was achieved with logistic regression as 99.25% for color features. Finally, 99.91% was obtained with multilayer perceptron for morphological, shape and color features. When the results are examined, it is observed that with the addition of each new feature, the success of classification increases. Based on the performance measurement values obtained, it is possible to say that the study achieved success in classifying rice varieties.
format Article
id doaj-art-a92bc9e12d3b4cfdb1b8341673d034b5
institution Kabale University
issn 1300-7580
2148-9297
language English
publishDate 2022-04-01
publisher Ankara University
record_format Article
series Journal of Agricultural Sciences
spelling doaj-art-a92bc9e12d3b4cfdb1b8341673d034b52025-08-20T03:39:09ZengAnkara UniversityJournal of Agricultural Sciences1300-75802148-92972022-04-0128230732510.15832/ankutbd.86248245Identification of Rice Varieties Using Machine Learning AlgorithmsMurat Koklu0İlkay Çınar1SELCUK UNIVERSITYSELCUK UNIVERSITYRice, which has the highest production and consumption rates worldwide, is among the main nutrients in terms of being economical and nutritious in our country as well. Rice goes through some stages of production from the field to the dinner tables. The cleaning phase is the separation of rice from unwanted materials. During the classification phase, solid ones and broken ones are separated and calibration operations are performed. Finally, in the process of extraction based on color features, the striped and stained ones other than the whiteness on the surface of the rice grain are separated. In this paper, five different varieties of rice belonging to the same trademark were selected to carry out classification operations using morphological, shape and color features. A total of 75,000 rice grain images, including 15,000 for each varieties, were obtained. The images were pre-processed using MATLAB software and prepared for feature extraction. Using a combination of 12 morphological, 4 shape features and 90 color features obtained from five different color spaces, a total of 106 features were extracted from the images. For classification, models were created with algorithms using machine learning techniques of k-nearest neighbor, decision tree, logistic regression, multilayer perceptron, random forest and support vector machines. With these models, performance measurement values were obtained for feature sets of 12, 16, 90 and 106. Among the models, the success of the algorithms with the highest average classification accuracy was achieved 97.99% with random forest for morphological features. 98.04% were obtained with random forest for morphological and shape features. It was achieved with logistic regression as 99.25% for color features. Finally, 99.91% was obtained with multilayer perceptron for morphological, shape and color features. When the results are examined, it is observed that with the addition of each new feature, the success of classification increases. Based on the performance measurement values obtained, it is possible to say that the study achieved success in classifying rice varieties.https://dergipark.org.tr/tr/download/article-file/1513632color featuresimage processingmorphological featuresrice classificationshape features
spellingShingle Murat Koklu
İlkay Çınar
Identification of Rice Varieties Using Machine Learning Algorithms
Journal of Agricultural Sciences
color features
image processing
morphological features
rice classification
shape features
title Identification of Rice Varieties Using Machine Learning Algorithms
title_full Identification of Rice Varieties Using Machine Learning Algorithms
title_fullStr Identification of Rice Varieties Using Machine Learning Algorithms
title_full_unstemmed Identification of Rice Varieties Using Machine Learning Algorithms
title_short Identification of Rice Varieties Using Machine Learning Algorithms
title_sort identification of rice varieties using machine learning algorithms
topic color features
image processing
morphological features
rice classification
shape features
url https://dergipark.org.tr/tr/download/article-file/1513632
work_keys_str_mv AT muratkoklu identificationofricevarietiesusingmachinelearningalgorithms
AT ilkaycınar identificationofricevarietiesusingmachinelearningalgorithms