Comparative Evaluation of Convolutional Neural Network Full Learning Model with Transfer Learning (VGG-16) for Coffee Bean Roasting Level Classification
DOI:
https://doi.org/10.59395/ijadis.v6i2.1358Keywords:
Machine Learning, CNN, Roasting, Classification, VGG-16, deep learning, neural networkAbstract
Indonesia is the 3rd largest coffee producing country in the world in 2022-2023 with coffee production reaching 11.85 million bags per 60 kg of coffee. One of the important processes in coffee production is roasting because the roasting level of coffee beans can affect the taste and aroma of coffee. The problem faced is that the process of assessing the level of coffee roasting is traditionally carried out through visual observation by an expert (roaster). This method produces a subjective level of assessment and requires high skills and experience, making the assessment of the level of coffee roasting less efficient and prone to human error. Therefore, in this study the author aims to develop a Convolutional Neural Network (CNN) model for the classification of the level of coffee bean roasting that can achieve better and faster accuracy. In this study, the author compared two CNN architecture approaches for the classification of the level of coffee bean roasting. The first approach is full learning with an architecture consisting of three convolution layers. The second approach is transfer learning based on the VGG-16 model. From the results of the analysis, it is known that the full learning model has a better level of accuracy and a faster running time than the VGG-16 transfer learning. The CNN full learning model for coffee bean roasting level classification is able to classify the coffee bean roasting level, with an accuracy of 98.75% and a running time of 856 ms per step. The application of CNN for coffee roasting level classification can provide benefits such as improving quality control and reducing the level of subjectivity of a roaster in assessing the roasting level of coffee beans.
Downloads
References
[1] Almayda, N., & Najih, R. R. (2024). Analysis of Caffeine Content of Liberica Coffee (Coffea liberica) with Variations of Roasting Methods at Kalipuro Research Center, Banyuwangi District. Journal of Coffee and Sustainability, 1(1), 17-21.
[2] Anu, T. A., Rosnelly, R., Irawan, D., Hasibuan, U., & Bulolo, P. (2023). KLASIFIKASI FITUR WARNA LEVEL ROASTING BIJI KOPI MENGGUNAKAN ARTIFICIAL NEURAL NETWORK. Device, 13(1), 8-13.
[3] Freitas, V. V., Borges, L. L. R., Vidigal, M. C. T. R., dos Santos, M. H., & Stringheta, P. C. (2024). Coffee: A comprehensive overview of origin, market, and the quality process. Trends in Food Science & Technology, 104411.
[4] Li, G., Huang, Y., Chen, Z., Gary D. Chesser Jr, Purswell, J. L., Linhoss, J., & Zhao, Y. (2024). Practices and Applications of Convolutional Neural Network-Based Computer Vision Systems in Animal Farming: AReview. Sensors 24(23), 1-44.
[5] Na'im, M. Z., Chusnah, M., & Hartanti, D. A. S. (2024). Effect of Roasting Time on The Organoleptic Characteristics of Excelsa Wonosalam Jombang Coffee. AGARICUS: Advances Agriculture Science & Farming, 4(1), 19-22.
[6] Nissa, N. F., Janiati, A., Cahya, N., Anton, & Astuti, P. (2021). Application of Deep Learning Using Convolutional Neural Network (CNN) Method for Women’s Skin Classification. Scientific Journal of Informatics 8(1), 144-153.
[7] Reghunandanan, K., Lakshmi, V., Raj, R., Viswanath, K., Davis, C., & Chandramohanadas, R. (2024). A Convolutional Neural Network- Based Deep Learning To Detect Reticulocytes From Human Peripheral Blood. Intelligence-Based Medicine 10, 1-10.
[8] Sagita, D., Mardjan, S. S., Purwandoko, P. B., & Widodo, S. (2024). Low-cost IoT-based multichannel spectral acquisition systems for roasted coffee beans evaluation: Case study of roasting degree classification using machine learning. Journal of Food Composition and Analysis, 133, 106478.
[9] Severin, H. G., & Lindemann, B. (2024). Elasticity of coffee beans: A novel approach to understanding the roasting process. Journal of Food Engineering, 383, 112212.
[10] Solikhin, Wicaksono, P. A., & Santoso, A. W. (2023). PENERAPAN TEKNOLOGI TEPAT GUNA MESIN ROASTING KOPI PADA UKM KOPI PINANGGIH. JURNAL PASOPATI 5(3), 138-143.
[11] Tripathi, M. (2021). Analysis of Convolutional Neural Network based Image Classification Techniques. Journal of Innovative Image Processing 3(2), 100-117.
[12] Wang, C., Liu, S., Wang, Y., Xiong, J., Zhang, Z., Zhao, B., . . . He, P. (2022). Application of Convolutional Neural Network-Based [12] Detection Methods in Fresh Fruit Production: A Comprehensive Review. Frontiers in Plant Science 13, 1-28.
[13] M. Brahimi, M. Arsenovic, S. Laraba, S. Sladojevic, K. Boukhalfa, and A. Moussaoui, “Deep learning for plant diseases: detection and saliency map visualisation,” In Human and machine learning, pp. 93-117, Springer, Cham, 2018. https://doi.org/10.1007/978-3-319-90403-0_6.
[14] G. Wang, Y. Sun, and J. Wang, “Automatic image-based plant disease severity estimation using deep learning,” Computational Intelligence and Neuroscience, 2017, https://doi.org/10.1155/2017/2917536.
[15] J. Wang, L. Chen, J. Zhang, Y. Yuan, M. Li, and W. Zeng, “CNN Transfer Learning for Automatic Image-Based Classification of Crop,” In Image and Graphics Technologies and Applications: 13th Conference on Image and Graphics Technologies and Applications, IGTA 2018, Beijing, China, April 8-10, 2018, vol. 875, pp. 319-392, 2018, https://doi.org/10.1007/978-981-13-1702-6_32.
[16] Anvesh, N., Yuvaraj, G., Lakshmi, A. V., & Reddy, S. S. (2024, April). Comparative Analysis of Deep CNN and VGG-16 for Anomaly Detection. In 2024 Third International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE) (pp. 1-7). IEEE.
[17] Ontoum, S., Khemanantakul, T., Sroison, P., Triyason, T., & Watanapa, B. (2022). Coffee roast intelligence. arXiv preprint arXiv:2206.01841.
[18] Shihab, M., & Perdana, A. S. (2024). PENDAMPINGAN KOMUNIKASI PEMASARAN KEDAI KOPI JEVERA COFFEE AND EATERY CIKARANG. Jurnal Abdi Panca Marga, 5(1), 20-26.
[19] Aquil, M. A. I., & Wan Ishak, W. H. W. (2021). Evaluation of scratch and pre-trained convolutional neural networks for the classification of tomato plant diseases. IAES International Journal of Artificial Intelligence (IJ-AI), 10(2), 467–475.
Published
Issue
Section
License
Copyright (c) 2025 Mradipta Nindya Tama, Amanat Bintang Saptomo, Afrido, Dawi Karomati Baroroh, Achmad Pratama Rifai, Nguyen Huu Tho

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.