Home > Published Issues > 2025 > Volume 16, No. 10, 2025 >
JAIT 2025 Vol.16(10): 1423-1429
doi: 10.12720/jait.16.10.1423-1429

X-CoffeeNet: A Novel Framework for Coffee Bean Image Classification Using Explainable Artificial Intelligence (XAI) and MobileNet

Mohamad Jamil 1,*, Suratman Sudjud 2, Sherly Asriany span class="uplabel">3, and Muhammad Said 4
1. Department of Informatics Engineering, Universitas Khairun, Ternate, Indonesia
2. Department of Agrotechnology, Universitas Khairun, Ternate, Indonesia
3. Department of Architecture, Universitas Khairun, Ternate, Indonesia
4. Department of Electrical Engineering, Universitas Khairun, Ternate, Indonesia
Email: jamil@unkhair.ac.id (M.J.); suratman.sudjud@unkhair.ac.id (S.S.); Sherly@unkhair.ac.id (S.A.); muhammad.said@unkhair.ac.id (M.S.)
*Corresponding author

Manuscript received April 11, 2025; revised May 6, 2025; accepted June 23, 2025; published October 14, 2025.

Abstract—This paper presents X-CoffeeNet, a novel deep learning framework for classifying coffee bean images by integrating MobileNetV2 and Explainable Artificial Intelligence (XAI) techniques. The model focuses on accurately classifying Arabica, Robusta, and Liberica beans while ensuring transparency in its decision-making process. The main novelty lies in combining a lightweight convolutional neural network with Local Interpretable Model-agnostic Explanations (LIME), allowing users to visualize and understand which parts of the image influence predictions. To improve generalization and reduce overfitting, the model uses image augmentation methods such as rotation, flipping, zooming, and brightness adjustment. MobileNetV2 is selected for its efficiency and low computational cost, making X-CoffeeNet suitable for deployment on mobile or embedded systems. Experimental evaluation on a dataset of 3,000 images shows that X-CoffeeNet achieves 100% accuracy, precision, recall, and F1-Score across all classes, highlighting its reliability and performance. Beyond coffee classification, the framework has broader applicability in agriculture and food industry automation where both accuracy and interpretability are essential.
 
Keywords—coffee bean classification, deep learning, Explainable Artificial Intelligence (XAI), MobileNet, image processing, computer vision

Cite: Mohamad Jamil, Suratman Sudjud, Sherly Asriany, and Muhammad Said, "X-CoffeeNet: A Novel Framework for Coffee Bean Image Classification Using Explainable Artificial Intelligence (XAI) and MobileNet," Journal of Advances in Information Technology, Vol. 16, No. 10, pp. 1423-1429, 2025. doi: 10.12720/jait.16.10.1423-1429

Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions