Back to Search Start Over

Nutritional composition analysis in food images: an innovative Swin Transformer approach.

Authors :
Wang H
Tian H
Ju R
Ma L
Yang L
Chen J
Liu F
Source :
Frontiers in nutrition [Front Nutr] 2024 Oct 14; Vol. 11, pp. 1454466. Date of Electronic Publication: 2024 Oct 14 (Print Publication: 2024).
Publication Year :
2024

Abstract

Accurate recognition of nutritional components in food is crucial for dietary management and health monitoring. Current methods often rely on traditional chemical analysis techniques, which are time-consuming, require destructive sampling, and are not suitable for large-scale or real-time applications. Therefore, there is a pressing need for efficient, non-destructive, and accurate methods to identify and quantify nutrients in food. In this study, we propose a novel deep learning model that integrates EfficientNet, Swin Transformer, and Feature Pyramid Network (FPN) to enhance the accuracy and efficiency of food nutrient recognition. Our model combines the strengths of EfficientNet for feature extraction, Swin Transformer for capturing long-range dependencies, and FPN for multi-scale feature fusion. Experimental results demonstrate that our model significantly outperforms existing methods. On the Nutrition5k dataset, it achieves a Top-1 accuracy of 79.50% and a Mean Absolute Percentage Error (MAPE) for calorie prediction of 14.72%. On the ChinaMartFood109 dataset, the model achieves a Top-1 accuracy of 80.25% and a calorie MAPE of 15.21%. These results highlight the model's robustness and adaptability across diverse food images, providing a reliable and efficient tool for rapid, non-destructive nutrient detection. This advancement supports better dietary management and enhances the understanding of food nutrition, potentially leading to more effective health monitoring applications.<br />Competing Interests: HT was employed by China Tea Technology Co., Ltd. FL was employed by Beijing Sanyuan Foods Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.<br /> (Copyright © 2024 Wang, Tian, Ju, Ma, Yang, Chen and Liu.)

Details

Language :
English
ISSN :
2296-861X
Volume :
11
Database :
MEDLINE
Journal :
Frontiers in nutrition
Publication Type :
Academic Journal
Accession number :
39469326
Full Text :
https://doi.org/10.3389/fnut.2024.1454466