Have a personal or library account? Click to login
Evaluation of the Feasibility of Coffee Variety Classification from Bean Images Using Convolutional Neural Networks Cover

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

Open Access
|Feb 2026

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.

DOI: https://doi.org/10.2478/aucft-2025-0014 | Journal eISSN: 2344-150X | Journal ISSN: 2344-1496
Language: English
Page range: 177 - 188
Submitted on: Jun 25, 2025
|
Accepted on: Sep 20, 2025
|
Published on: Feb 9, 2026
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year

© 2026 Michał Zimka, Katarzyna Pentoś, published by Lucian Blaga University of Sibiu
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.