Hyperspectral Imaging-Based Adulteration Detection of Edible Oil using Optimized Machine Learning Models
Year: 2026
Type: article
Abstract: Oil adulteration poses a significant risk to public health and compromises food quality and authenticity, necessitating reliable and rapid detection methods. This study proposes a non-destructive method for detecting edible oil adulteration using hyperspectral imaging (HSI) integrated with spectral feature optimization and machine learning (ML) techniques. A total of 480 samples, comprising pure oils (tea tree, rose, turmeric, and rosehip oil) and adulterated variants (orange, vitamin E, lemon, and garlic oil), were analyzed using a Specim FX10 HSI camera system. The Savitzky–Golay filter was used to preprocess spectral data, remove noise, and improve spectral smoothness. Then, the spectral features were optimized and used to train and test various ML models, such as Linear Discriminant Analysis (LDA), CatBoost, Gradient Boosting Machine (GBM), and Extreme Gradient Boosting Machine (XGBM). The best-performing model among the evaluated models was XGBM, with 100% training accuracy, 98% testing and validation accuracy, high precision, recall, F1-score, and balanced accuracy (98%), and low log loss (5%) and Hamming loss (2%). The experimental results point to the usefulness of the proposed method in providing accurate, fast, and non-invasive oil adulteration detection. This study indicates the possibility of using HSI with optimized ML algorithms to achieve high food quality measurements and real-time applications in the industrial sector of food safety and quality control.
Source: Food Analytical Methods
Language: English
Subfield: Analytical Chemistry
Field: Chemistry
Domain: Physical Sciences
SDG: Zero hunger
Open Access status: hybrid
Estimated APC paid: $2,490
OpenAlex ID: W7212059331
