Coffee bean quality analysis using convolutional neural networks

Abstract


Coffee grading is the main procedure in its production. One of the processes to grade coffee is done manually, requiring a lot of training and experience from experts. The main objective of this work is to use technologies based on Artificial Intelligence, with Convolutional Neural Network models, and together with the application of image processing techniques, to improve the quality analysis of coffee beans. We performed a comparison of pre-trained models, namely AlexNet and DenseNet, using a coffee bean dataset. A total of 4272 coffee bean images from the USK-COFFEE database were used in this work. The model training, testing and validation processes were performed with an 80/10/10 division of the obtained images. Classification metrics such as Recall, F-1 Score, were used for the detailed analysis of the performance models. ROC curves were used to analyze their distinction.

Keywords: Coffee, Neural Network, Classification, Analysis

References

GOV (14 de abril de 2023). Brasil é o maior produtor mundial e o segundo maior consumidor de café. Acesso em: [link]

ARUNKUMAR, J. R.; BERIHUN MENGIST, Tagele. Developing Ethiopian Yirgacheffe Coffee Grading Model using a Deep Learning Classifier. International Journal of Innovative Technology and Exploring Engineering, v. 9, n. 4, p. 3303-3309, 2020

RONNEBERGER, Olaf; FISCHER, Philipp; BROX, Thomas. U-net: Convolutional networks for biomedical image segmentation. In: Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18. Springer International Publishing, 2015. p. 234-241. DOI: 10.1007/978-3-319-24574-4_28

FossAnalytics. Disponível em: [link]

A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet Classification with Deep Convolutional Neural Networks,” in Advances in Neural Information Processing Systems, 2012, pp. 1097–1105.

Karel Zuiderveld. Graphics gems iv. chapter Contrast Limited Adaptive Histogram Equalization, pages 474–485. Academic Press Professional, Inc., San Diego, CA, USA, 1994. DOI: 10.1016/B978-0-12-336156-1.50061-6

WANG, Ping et al. Deep convolutional neural network for coffee bean inspection. Sensors and Materials, v. 33, n. 7, p. 2299-2310, 2021. DOI: 10.18494/SAM.2021.3277

PINTO, Carlito et al. Classification of Green coffee bean images basec on defect types using convolutional neural network (CNN). In: 2017 international conference on advanced informatics, concepts, theory, and applications (ICAICTA). IEEE, 2017. p. 1-5.

UNAL, Yavuz et al. Application of pre-trained deep convolutional neural networks for coffee beans species detection. Food Analytical Methods, v. 15, n. 12, p. 3232-3243, 2022.

K. Eves and J. Valasek, "Adaptive control for singularly perturbed systems examples," Code Ocean, Aug. 2023. [Online]. Available: [link]

BELCIUG, S. Artificial intelligence in cancer: diagnostic to tailored treatment. Cambridge: Academic, 2020

Hassan, E. Enhancing coffee bean classification: a comparative analysis of pre-trained deep learning models. Neural Comput & Applic 36, 9023–9052 (2024). DOI: 10.1007/s00521-024-09623-z
Published
2024-11-06
DUARTE, Bernardo Silva Ribeiro; CARNEIRO, Alan Diego Aurelio; SOUSA, Pedro Moises de. Coffee bean quality analysis using convolutional neural networks. In: WORKSHOP ON INFORMATION SYSTEMS (WSIS), 15. , 2024, Rio Paranaíba/MG. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2024 . p. 39-44. DOI: https://doi.org/10.5753/wsis.2024.33670.