Evaluation of the Feasibility of Coffee Variety Classification from Bean Images Using Convolutional Neural Networks

Abstract The study evaluates the feasibility of classifying Arabica and Robusta coffee beans using convolutional neural networks (CNNs). A custom CNN model (CNN_Coffee_Classifier) was developed and its performance was compared to that of three state-of-the-art architectures: MobileNet, ResNet50, and ResNet101. The models were trained both from scratch and using transfer learning on a dataset comprising 495 standardized images. The aforementioned dataset was derived from both public repositories and original photographs. Given the limited number of images in the training set, the models were trained using 10-fold cross-validation to ensure robust results. The custom CNN demonstrated an average accuracy of 75% (with 95% confidence interval of [0.68, 0.83]), while models employing transfer learning - particularly ResNet101 - exhibited superior performance, achieving up to 95% accuracy (with 95% confidence interval of [0.92, 0.96]). The findings substantiate the hypothesis that CNNs, particularly when integrated with transfer learning, provide a robust methodology for automated coffee variety classification, even when operating with a modest dataset.

Authors

Institutions

Publication Details

Journal
Acta Universitatis Cibiniensis. Series E: Food Technology
Published
2025-12-01
DOI
https://doi.org/10.2478/aucft-2025-0014
Primary Topic
Coffee research and impacts
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluation of the Feasibility of Coffee Variety Classification from Bean Images Using Convolutional Neural Networks

Katarzyna Pentoś, Michał Zimka
Acta Universitatis Cibiniensis. Series E: Food Technology
Coffee research and impacts
article

Evaluation of the Feasibility of Coffee Variety Classification from Bean Images Using Convolutional Neural Networks

Katarzyna Pentoś, Michał Zimka
article en

Abstract

Abstract The study evaluates the feasibility of classifying Arabica and Robusta coffee beans using convolutional neural networks (CNNs). A custom CNN model (CNN_Coffee_Classifier) was developed and its performance was compared to that of three state-of-the-art architectures: MobileNet, ResNet50, and ResNet101. The models were trained both from scratch and using transfer learning on a dataset comprising 495 standardized images. The aforementioned dataset was derived from both public repositories and original photographs. Given the limited number of images in the training set, the models were trained using 10-fold cross-validation to ensure robust results. The custom CNN demonstrated an average accuracy of 75% (with 95% confidence interval of [0.68, 0.83]), while models employing transfer learning - particularly ResNet101 - exhibited superior performance, achieving up to 95% accuracy (with 95% confidence interval of [0.92, 0.96]). The findings substantiate the hypothesis that CNNs, particularly when integrated with transfer learning, provide a robust methodology for automated coffee variety classification, even when operating with a modest dataset.

Acta Universitatis Cibiniensis. Series E: Food TechnologyVol. 29(2)
Institute of Environmental Engineering (PL)
Openalex Percentile: Top 26%
Coffee research and impacts
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.