Color and Texture Feature Extraction for Disease Identification in Chili Leaves Using K-Nearest Neighbors

Read full text
Authors: Andreyas, Derry Alamsyah
Cited by: 0

Abstract

Manual identification of chili leaf diseases has the weakness of subjectivity, which impacts the decline in harvest productivity. This study aims to build an accurate automatic classification system using a machine learning approach. The research methodology integrates the extraction of Hue, Saturation, Value (HSV) color features and Gray Level Co-occurrence Matrix (GLCM) texture on a dataset of 1,856 images divided with a ratio of 80:20. Hyperparameter optimization was performed using Grid Search on the K-Nearest Neighbors (K-NN) algorithm to find the best performance. The test results show that the optimal configuration is achieved at a value of K = 3 with the Manhattan distance metric, which produces a test accuracy of 92%. It is concluded that the integration of color and texture features with appropriate parameter optimization is proven to be effective as a reliable and efficient diagnostic solution.

Fields of Study & Subjects

Computer Science and Engineering Smart Agriculture and AI Edcuational Technology Systems

Publication details

Journal / source
INOVTEK Polbeng - Seri Informatika
Volume
11
Issue
1
Pages
183–192
Publication date
2 January 2026