Algoritme Jurnal Mahasiswa Teknik Informatika
Vol 6 No 1 (2025): Oktober 2025 || Algoritme Jurnal Mahasiswa Teknik Informatika

Analisis Ekstraksi Fitur LBP, GLCM Dan HSV Untuk Klasifikasi Kualitas Cabai Rawit Menggunakan Xgboost

ZAMAZANI, ZAIN MUZADID (Unknown)
Puspaningrum, Eva Yulia (Unknown)
Via, Yisti Vita (Unknown)



Article Info

Publish Date
10 Oct 2025

Abstract

Cayenne pepper (Capsicum frutescens L.) is a horticultural commodity of high economic value, so determining its quality is an important factor in determining the selling price and suitability for consumption. So far, quality assessment is still mostly done manually, but this method tends to be subjective and less efficient. To overcome this, this research evaluates the quality classification of cayenne pepper based on digital image processing using the XGBoost algorithm with three types of features, namely Local Binary Pattern (LBP), Gray Level Co-occurrence Matrix (GLCM), and Hue, Saturation, Value (HSV). The primary dataset used consists of 1,200 images of six quality classes (raw, undercooked, cooked, dry, rotten, and anthracnose). The methodology stages include pre-processing in the form of background removal, resizing, and data augmentation. Next, LBP, GLCM, and HSV feature extraction is carried out, then classification by dividing the test training data by 80:20. The test results show that the best configuration is obtained with the HSV feature, using learning rate parameters 0.1, n_estimators 100, and max depth 12, which produces accuracy (98.92%), higher than using GLCM (88.08%) or LBP (79.17%). These findings confirm that color information is more dominant than texture in supporting automatic quality classification of cayenne peppers.

Copyrights © 2025






Journal Info

Abbrev

algoritme

Publisher

Subject

Computer Science & IT

Description

Jurnal Algoritme menjadi sarana publikasi artikel hasil temuan Penelitian orisinal atau artikel analisis. Bahasa yang digunakan jurnal adalah bahasa Inggris atau bahasa Indonesia. Ruang lingkup tulisan harus relevan dengan disiplin ilmu seperti: - Machine Learning - Computer Vision, - Artificial ...