IAES International Journal of Artificial Intelligence (IJ-AI)
Vol 14, No 6: December 2025

Classification of single origin Indonesian coffee beans using convolutional neural network

Rifai, Achmad Pratama (Unknown)
Sari, Wangi Pandan (Unknown)
Rabbani, Haidar (Unknown)
Safitri, Tari Hardiani (Unknown)
Hajad, Makbul (Unknown)
Sutoyo, Edi (Unknown)
Nguyen, Huu-Tho (Unknown)



Article Info

Publish Date
01 Dec 2025

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.

Copyrights © 2025






Journal Info

Abbrev

IJAI

Publisher

Subject

Computer Science & IT Engineering

Description

IAES International Journal of Artificial Intelligence (IJ-AI) publishes articles in the field of artificial intelligence (AI). The scope covers all artificial intelligence area and its application in the following topics: neural networks; fuzzy logic; simulated biological evolution algorithms (like ...