Computer vision techniques for modelling the roasting process of coffee (Coffea arabica L.) var. Castillo

Eugenio Ivorra*, Juan Camilo Sarria-González, Joel Girón-Hernández

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)


Artificial vision has wide-ranging applications in the food sector; it is easy to use, relatively low cost and allows to conduct rapid non-destructive analyses. The aim of this study was to use artificial vision techniques to control and model the coffee roasting process. Samples of Castillo variety coffee were used to construct the roasting curve, with captured images at different times. Physico-chemical determinations, such as colour, titratable acidity, pH, humidity and chlorogenic acids, and caffeine content, were investigated on the coffee beans. Data were processed by (i) Principal component analysis (PCA) to observe the aggrupation depending on the roasting time, and (ii) partial least squares (PLS) regression to correlate the values of the analytical determinations with the image information. The results allowed to construct robust regression models, where the colour coordinates (L*, a*), pH and titratable acidity presented excellent values in prediction (R2Pred 0.95, 0.91, 0.94 and 0.92). The proposed algorithms were capable to correlate the chemical composition of the beans at each roasting time with changes in the images, showing promising results in the modelling of the coffee roasting process.

Original languageEnglish
Pages (from-to)388-396
Number of pages9
JournalCzech Journal of Food Sciences
Issue number6
Publication statusPublished - 2020
Externally publishedYes

Cite this