{'fraction_non_alphanumeric': 0.014754098360655738, 'fraction_numerical': 0.010655737704918032, 'mean_word_length': 5.635869565217392, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Prediction of water content in biscuits using near infrared hyperspectral imaging spectroscopy and chemometrics

The possibility of using near infrared hyperspectral imaging spectroscopy to quantify the water content in commercial biscuits was investigated. Principal component analysis was successfully applied to hyperspectral images of commercial biscuits to monitor their water contents. Variables were selected and water contents quantified using analysis of variance, followed by multiple linear regression, and the results were compared with those obtained with variable importance in projection partial least squares. Initially equal to 212, the number of variables after application of analysis of variance was equal to 10. Analysis of variance–multiple linear regression gave better results: the coefficient of determination (R2) was higher than 0.92 and the root mean square error of validation was less than 0.015. The “prediction images” obtained were very relevant and can be used to study biscuit defects. The methodology developed could be implemented at the industrial level for biscuit quality control and for online monitoring of the uniform distribution of water in the superficial layer of biscuits.