CALORIE ESTIMATION OF FOOD AND BEVERAGE USING DEEP LEARNING
Keywords:
Food image recognition; Xception; NASNetLarge; hybrid ensemble; nutritional recommendation; Random Forest; image preprocessing; Flask; SQLite.”Abstract
Identification of food via photographs and personalised dietary recommendations involve different learning processes. VGG19, Xception, NASNetLarge and an average-probability ensemble of Xception–NASNetLarge are analyzed on 6,269 images of twenty food classes. In the recorded validation trial, the hybrid has achieved 98.9% picture classification accuracy and 98.8% F1-score. A separate pipeline for nutritional recommendations compares the performance of RF, KNN, XGBoost, a soft VC, CNN1D, DNN and LSTM on nutrition descriptors and anthropometric/diet-goal parameters. The RF model attained an accuracy of 84.1% in recommending and macro-F1 of 84.2%. The Flask system loads the hybrid image model and the recommendation model based on random forest, performs 128x128 rgb preprocessing, retrieves the nutrient data stored in the system and displays the nutrient suggestions to the registered users. The output is not a direct assessment of the amount of the food consumed by the bulk of the piece, but rather the result of the food category recognition and the search in the nutrition table. Each set of examined data has its own system behaviour identified both using metrics and interface findings.