Cargando…
A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms
Managing daily nutrition is a prominent concern among individuals in contemporary society. The advancement of dietary assessment systems and applications utilizing images has facilitated the effective management of individuals' nutritional information and dietary habits over time. The determina...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10686975/ https://www.ncbi.nlm.nih.gov/pubmed/38030660 http://dx.doi.org/10.1038/s41598-023-47885-0 |
_version_ | 1785151879717584896 |
---|---|
author | Konstantakopoulos, Fotios S. Georga, Eleni I. Fotiadis, Dimitrios I. |
author_facet | Konstantakopoulos, Fotios S. Georga, Eleni I. Fotiadis, Dimitrios I. |
author_sort | Konstantakopoulos, Fotios S. |
collection | PubMed |
description | Managing daily nutrition is a prominent concern among individuals in contemporary society. The advancement of dietary assessment systems and applications utilizing images has facilitated the effective management of individuals' nutritional information and dietary habits over time. The determination of food weight or volume is a vital part in these systems for assessing food quantities and nutritional information. This study presents a novel methodology for evaluating the weight of food by utilizing extracted features from images and training them through advanced boosting regression algorithms. Α unique dataset of 23,052 annotated food images of Mediterranean cuisine, including 226 different dishes with a reference object placed next to the dish, was used to train the proposed pipeline. Then, using extracted features from the annotated images, such as food area, reference object area, food id, food category, and food weight, we built a dataframe with 24,996 records. Finally, we trained the weight estimation model by applying cross validation, hyperparameter tuning, and boosting regression algorithms such as XGBoost, CatBoost, and LightGBM. Between the predicted and actual weight values for each food in the proposed dataset, the proposed model achieves a mean weight absolute error 3.93 g, a mean absolute percentage error 3.73% and a root mean square error 6.05 g for the 226 food items of the Mediterranean Greek Food database (MedGRFood), setting new perspectives in food image-based weight and nutrition estimate models and systems. |
format | Online Article Text |
id | pubmed-10686975 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-106869752023-11-30 A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms Konstantakopoulos, Fotios S. Georga, Eleni I. Fotiadis, Dimitrios I. Sci Rep Article Managing daily nutrition is a prominent concern among individuals in contemporary society. The advancement of dietary assessment systems and applications utilizing images has facilitated the effective management of individuals' nutritional information and dietary habits over time. The determination of food weight or volume is a vital part in these systems for assessing food quantities and nutritional information. This study presents a novel methodology for evaluating the weight of food by utilizing extracted features from images and training them through advanced boosting regression algorithms. Α unique dataset of 23,052 annotated food images of Mediterranean cuisine, including 226 different dishes with a reference object placed next to the dish, was used to train the proposed pipeline. Then, using extracted features from the annotated images, such as food area, reference object area, food id, food category, and food weight, we built a dataframe with 24,996 records. Finally, we trained the weight estimation model by applying cross validation, hyperparameter tuning, and boosting regression algorithms such as XGBoost, CatBoost, and LightGBM. Between the predicted and actual weight values for each food in the proposed dataset, the proposed model achieves a mean weight absolute error 3.93 g, a mean absolute percentage error 3.73% and a root mean square error 6.05 g for the 226 food items of the Mediterranean Greek Food database (MedGRFood), setting new perspectives in food image-based weight and nutrition estimate models and systems. Nature Publishing Group UK 2023-11-29 /pmc/articles/PMC10686975/ /pubmed/38030660 http://dx.doi.org/10.1038/s41598-023-47885-0 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Konstantakopoulos, Fotios S. Georga, Eleni I. Fotiadis, Dimitrios I. A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title | A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title_full | A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title_fullStr | A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title_full_unstemmed | A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title_short | A novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
title_sort | novel approach to estimate the weight of food items based on features extracted from an image using boosting algorithms |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10686975/ https://www.ncbi.nlm.nih.gov/pubmed/38030660 http://dx.doi.org/10.1038/s41598-023-47885-0 |
work_keys_str_mv | AT konstantakopoulosfotioss anovelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms AT georgaelenii anovelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms AT fotiadisdimitriosi anovelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms AT konstantakopoulosfotioss novelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms AT georgaelenii novelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms AT fotiadisdimitriosi novelapproachtoestimatetheweightoffooditemsbasedonfeaturesextractedfromanimageusingboostingalgorithms |