Golden Ratio of Data in Summary
Vol. 5 No. 1 (2025): November - January

Classification of Pear Varieties Using the K-Nearest Neighbor Algorithm and Extraction of Shape, Color, Texture, and Size Features

Putri, Rezkya Nadilla (Unknown)
Kiswanto, Dedy (Unknown)
Sitepu, Keysa Shifa Adwitia (Unknown)



Article Info

Publish Date
01 Feb 2025

Abstract

This study develops a pear variety classification system based on digital images using the K-Nearest Neighbor (KNN) algorithm. The data used included 195 images from three pear varieties, namely Century, Forel Afrika, and Singo, which were analyzed by utilizing various features such as color (RGB), texture (Local Binary Pattern), shape (area, circumference, length-width ratio), and size (bounding box dimensions). The preprocessing process removes the image's background to increase focus on the main object, thus allowing for more optimal feature extraction. The dataset is divided into 80% for training and 20% for model testing. The evaluation results show that the KNN model can achieve an accuracy of 85%, with an average precision value of 0.85, recall of 0.89, and F1-score of 0.85. These results prove that the KNN algorithm is effective in accurately classifying pear varieties, which can significantly contribute to applying digital image-based technology for automatic classification needs in the agricultural sector.

Copyrights © 2025






Journal Info

Abbrev

grdis

Publisher

Subject

Economics, Econometrics & Finance Social Sciences

Description

Golden Ratio of Data in Summary Golden Ratio of Data in Summary with e-ISSN 2776-6411, welcomes submissions that describe data from all research areas. Please note: almost any piece of information can be defined as data. However, to merit publication in Golden Ratio of Data, in Summary, should be a ...