Comparative analysis of deep learning models for post-roasting coffee bean classification

The classification of coffee beans is crucial for maintaining quality and consistency within the coffee industry. Manual inspection, however, is labor-intensive, error-prone, and susceptible to human biases. To address these challenges, this study aims to automate coffee bean classification using deep learning models to improve accuracy and efficiency. Four pre-trained models—Xception, ResNet50V2, EfficientNetB0, and VGG16—were evaluated for predicting post-roasting coffee bean quality based on two datasets: a Kaggle dataset and a self-collected dataset with an image scanner. The datasets included images of coffee beans at four roast levels: dark, green, light, and medium. The models were trained and tested using standard deep learning techniques, with performance assessed through metrics such as accuracy, precision, recall, and F1-score. The results demonstrated that Xception and EfficientNetB0 achieved the highest classification performance. On the Kaggle dataset, both models achieved 100% accuracy, while on the self-collected dataset, Xception achieved 99.3%, and EfficientNetB0 achieved 99.07%. These findings underscore the robustness of applying deep learning models in automating coffee quality control, reducing human intervention, and enhancing classification reliability.

Authors

Institutions

Publication Details

Journal
Edelweiss Applied Science and Technology
Published
2025-08-11
DOI
https://doi.org/10.55214/2576-8484.v9i8.9393
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative analysis of deep learning models for post-roasting coffee bean classification

Akaraphunt Vongkunghae, Md. Jakir Hossen, Boon Chin Yeo, Jiraporn Pooksook et al.
Edelweiss Applied Science and Technology
Food Supply Chain Traceability
article

Comparative analysis of deep learning models for post-roasting coffee bean classification

Akaraphunt Vongkunghae, Md. Jakir Hossen, Boon Chin Yeo, Jiraporn Pooksook, Kia Wai Liew, Way Soong Lim, Firas Ali Hashim
article en

Abstract

The classification of coffee beans is crucial for maintaining quality and consistency within the coffee industry. Manual inspection, however, is labor-intensive, error-prone, and susceptible to human biases. To address these challenges, this study aims to automate coffee bean classification using deep learning models to improve accuracy and efficiency. Four pre-trained models—Xception, ResNet50V2, EfficientNetB0, and VGG16—were evaluated for predicting post-roasting coffee bean quality based on two datasets: a Kaggle dataset and a self-collected dataset with an image scanner. The datasets included images of coffee beans at four roast levels: dark, green, light, and medium. The models were trained and tested using standard deep learning techniques, with performance assessed through metrics such as accuracy, precision, recall, and F1-score. The results demonstrated that Xception and EfficientNetB0 achieved the highest classification performance. On the Kaggle dataset, both models achieved 100% accuracy, while on the self-collected dataset, Xception achieved 99.3%, and EfficientNetB0 achieved 99.07%. These findings underscore the robustness of applying deep learning models in automating coffee quality control, reducing human intervention, and enhancing classification reliability.

Edelweiss Applied Science and TechnologyVol. 9(8)
Multimedia University (MY), Naresuan University (TH)
Multimedia University, Naresuan University
Openalex Percentile: Top 75%
Food Supply Chain Traceability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.