Monitoring and prediction of chocolate blooming using Vis-NIR and FT-IR hyperspectral imaging and machine learning techniques: A study on tempering and storage effects

Chocolate blooming is one of the main issues in the chocolate industry. Fat blooming is the most common type of chocolate blooming. When blooming occurs, customer satisfaction significantly decreases because of the unpleasant look and undesired texture. The reason for blooming is generally lack of tempering or poor storage conditions. Since blooming occurs with time, it is not easy to detect, especially in the early stages. Therefore, it is necessary to develop tools to monitor chocolate blooming in initial stages and predict the blooming stage. Hyperspectral imaging is a non-destructive imaging technique that can reveal differences related to physical and chemical structure. In this research, commercial chocolate samples were collected and melted to produce untempered chocolate. All samples were remolded into coin size tablets and hyperspectral images were taken in 30 days’ time. Results showed that by using line scan, VIS-NIR hyperspectral camera (400 to 1000 nm), spectral signature differences were observable between tempered, untempered chocolate and different storage times. Prediction accuracy was assessed by the use of chemometric approaches such as k-Nearest Neighbor (KNN), Support Vector Machines (SVM) and Artificial Neural Networks (ANN). All three methods showed high performance, but Neural Networks predicted 99% of the samples correctly with Savitzky-Golay (SG) second derivative preprocessing. In addition, Fourier-transform infrared (FT-IR) imaging confirmed compositional changes between bloomed and non-bloomed regions. Multivariate Curve Resolution–Alternating Least Squares (MCR-ALS) analysis of acquired images revealed distinct spectral contributions from bloomed and non-bloomed regions, highlighting compositional changes related to fat migration. The integration of hyperspectral imaging and chemometrics allowed early detection and monitoring of blooming stages, offering a potential solution for real-time chocolate quality control. • Vis-NIR and FT-IR hyperspectral imaging used to analyze chocolate blooming. • Untempered chocolates showed distinct spectral signatures over 30 days. • FT-IR imaging identified key changes in bloomed vs. non-bloomed regions. • ANN and SVM models excelled in predicting early stages of chocolate blooming. • Non-destructive techniques enable real-time monitoring of chocolate quality.

Authors

Institutions

Publication Details

Journal
LWT
Published
2025-07-01
DOI
https://doi.org/10.1016/j.lwt.2025.118135
Primary Topic
Food Chemistry and Fat Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Monitoring and prediction of chocolate blooming using Vis-NIR and FT-IR hyperspectral imaging and machine learning techniques: A study on tempering and storage effects

Rosario del P. Castillo, Mecit Halil Öztop, Hilmi Eriklioglu
LWT
Food Chemistry and Fat Analysis
article

Monitoring and prediction of chocolate blooming using Vis-NIR and FT-IR hyperspectral imaging and machine learning techniques: A study on tempering and storage effects

Rosario del P. Castillo, Mecit Halil Öztop, Hilmi Eriklioglu
article en

Abstract

Chocolate blooming is one of the main issues in the chocolate industry. Fat blooming is the most common type of chocolate blooming. When blooming occurs, customer satisfaction significantly decreases because of the unpleasant look and undesired texture. The reason for blooming is generally lack of tempering or poor storage conditions. Since blooming occurs with time, it is not easy to detect, especially in the early stages. Therefore, it is necessary to develop tools to monitor chocolate blooming in initial stages and predict the blooming stage. Hyperspectral imaging is a non-destructive imaging technique that can reveal differences related to physical and chemical structure. In this research, commercial chocolate samples were collected and melted to produce untempered chocolate. All samples were remolded into coin size tablets and hyperspectral images were taken in 30 days’ time. Results showed that by using line scan, VIS-NIR hyperspectral camera (400 to 1000 nm), spectral signature differences were observable between tempered, untempered chocolate and different storage times. Prediction accuracy was assessed by the use of chemometric approaches such as k-Nearest Neighbor (KNN), Support Vector Machines (SVM) and Artificial Neural Networks (ANN). All three methods showed high performance, but Neural Networks predicted 99% of the samples correctly with Savitzky-Golay (SG) second derivative preprocessing. In addition, Fourier-transform infrared (FT-IR) imaging confirmed compositional changes between bloomed and non-bloomed regions. Multivariate Curve Resolution–Alternating Least Squares (MCR-ALS) analysis of acquired images revealed distinct spectral contributions from bloomed and non-bloomed regions, highlighting compositional changes related to fat migration. The integration of hyperspectral imaging and chemometrics allowed early detection and monitoring of blooming stages, offering a potential solution for real-time chocolate quality control. • Vis-NIR and FT-IR hyperspectral imaging used to analyze chocolate blooming. • Untempered chocolates showed distinct spectral signatures over 30 days. • FT-IR imaging identified key changes in bloomed vs. non-bloomed regions. • ANN and SVM models excelled in predicting early stages of chocolate blooming. • Non-destructive techniques enable real-time monitoring of chocolate quality.

LWTVol. 228
Middle East Technical University (TR)
Horizon 2020 Framework Programme
Zero hunger
Openalex Percentile: Top 81%
Food Chemistry and Fat Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.