Jurnal Teknik Pertanian Lampung (Journal of Agricultural Engineering)
Vol. 15 No. 3 (2026): June 2026

Grading Coffee Beans using Extraction of Shape-Based Features Coupled with Support Vector Machine

Agus Dharmawan (Universitas Jember)
Rudiati Evi Masithoh (Universitas Gadjah Mada)
Siswoyo Soekarno (Universitas Jember)
Hanim Zuhrotul Amanah (Universitas Gadjah Mada)



Article Info

Publish Date
29 Jun 2026

Abstract

Evaluating coffee beans through a computer vision system (CVs) requires a large number of visual attributes to be extracted, but may affect prediction accuracy. Therefore, it is essential to reduce the large features to gain better prediction accuracy by generating new data that represents the most informative dimensions of the original data. Previous studies are limited to comparing different methods of feature extraction. The objective of this research was to explore the comparison of six feature extraction methods (PCA, EFA, LDA, SVD, ICA, and PLS) combined with support vector machine (SVM) as a supervised approach to predict three groups of coffee beans, namely long-berry, normal, and peaberry, for grading issues. SVM with three kernel functions (linear, RBF, and sigmoid) was used to construct a superior classification model. Data were acquired from coffee images processed to generate shape-based features. The results show that LDA provides a better visualization in separating sample classes according to the score plot with 2 variables obtained. The combination of SVM and LDA has a better recognition of coffee beans for grading, which is higher than that of other combinations. A combination of SVM-sigmoid with EFA gave mostly the worst recognition. Our findings proved that the investigation of feature extraction methods and SVM successfully achieve accurate results on grading coffee beans.

Copyrights © 2026






Journal Info

Abbrev

JTP

Publisher

Subject

Agriculture, Biological Sciences & Forestry Engineering

Description

Jurnal Teknik Pertanian Lampung or Journal of Agricultural Engineering (JTEP-L) is a peer-reviewed open-access journal. The journal invites scientists and engineers throughout the world to exchange and disseminate theoretical and practice-oriented researches in the whole aspect of Agricultural ...