Classification of single origin Indonesian coffee beans using convolutional neural network

Rifai, Achmad Pratama and Sari, Wangi Pandan and Rabbani, Haidar and Safitri, Tari Hardiani and Hajad, Makbul and Sutoyo, Edi and Nguyen, Huu Tho (2025) Classification of single origin Indonesian coffee beans using convolutional neural network. IAES International Journal of Artificial Intelligence, 14 (6). 5140 - 5156. ISSN 20894872

[thumbnail of 27379-64226-1-PB (1).pdf] Text
27379-64226-1-PB (1).pdf - Published Version
Restricted to Registered users only

Download (1MB) | Request a copy

Abstract

This research aims to develop a coffee bean type detection model using convolutional neural networks (CNN), leveraging a dataset of 14,525 images from 116 types of Indonesian coffee beans. Pre-processing steps including resizing, rescaling, and augmentation were applied to improve the dataset quality. The dataset was split into training, validation, and testing sets with proportions of 80, 10, and 10, respectively. Two model development approaches were used: transfer learning with Inception V3 in two scenarios and a model built from scratch. The transfer learning Inception V3 model in scenario 1 achieved the best performance, with a test accuracy of 0.87 and optimal evaluation metrics across precision, recall, and F1-score. This model was fine-tuned using pretrained weights, allowing it to adapt effectively to the coffee bean dataset. The results highlight that transfer learning, especially with Inception V3, provides a robust method for classifying coffee beans, offering potential applications in the coffee industry for improving classification efficiency and accuracy. The study demonstrates how deep learning can enhance the objectivity and precision of coffee bean classification, contributing to greater consistency in product sorting and quality assessment.

Item Type: Article
Additional Information: Cited by: 0; All Open Access; Gold Open Access
Uncontrolled Keywords: Coffee bean classification; Convolutional neural network; Deep learning; Indonesia single origin coffee Transfer learning
Subjects: T Technology > TJ Mechanical engineering and machinery
Divisions: Faculty of Engineering > Mechanical and Industrial Engineering Department
Depositing User: Rita Yulianti Yulianti
Date Deposited: 27 Apr 2026 07:10
Last Modified: 27 Apr 2026 07:10
URI: https://ir.lib.ugm.ac.id/id/eprint/24397

Actions (login required)

View Item
View Item