Skip to main navigation Skip to search Skip to main content

Identification of Arabica coffee roasting levels using Nikon D3100 commercial camera and optimized neural network

Research output: Contribution to journal › Conference article › peer-review

Abstract

The roasting levels of coffee beans can be classified into three categories i.e. light roast, medium roast, and dark roast. The roasting level can be identified by a combination of artificial intelligence and computer vision methods. This research aimed to classify the roasting levels of Arabica coffee beans using computer vision (Nikon D3100) and an optimized artificial neural network (ANN). This study used color features i.e. red-green-blue (RGB) and hue-saturation-value (HSV), as well as textural features based on gray-level co-occurrence matrix (GLCM) including energy, contrast, correlation, and homogeneity. Features selection (ReliefF) was used to optimize ANN modeling. Sensitivity analysis was done by varying the learning function, the number of hidden layers, the activation function, and the number of nodes in the hidden layer. The best ANN architecture was obtained with a 9-30-40-1 structure (9 inputs, the first hidden layer using 30 nodes, the second hidden layer using 40 nodes, and 1 output) when using a learning rate of 0.1, a learning function of trainlm, and an activation function of logsig-logsig-purelin. The accuracy showed a mean square error (MSE) value of 0.0089 with an R-value of 0.99293 on training data, and an MSE value of 0.0115 with an R-value of 0.99143 on validation data. The test results showed an accuracy value of 97.78%. In conclusion, a combination of computer vision and ANN methods as non-destructive sensing can be used effectively to classify the roasting levels of Arabica coffee beans.

Original languageEnglish
Article number040002
JournalAIP Conference Proceedings
Volume2903
Issue number1
DOIs
Publication statusPublished - 4 Oct 2023
Event10th International Basic Science International Conference, BaSIC 2022 - Hybrid, Malang, Indonesia
Duration: 13 Sept 2022 → 14 Sept 2022

Fingerprint

Dive into the research topics of 'Identification of Arabica coffee roasting levels using Nikon D3100 commercial camera and optimized neural network'. Together they form a unique fingerprint.

Cite this