MetaFood3D: 3D Food Dataset with Nutrition Values

Yuhao Chen, Jiangpeng He, Chris Czarnecki, Gautham Vinod, Talha Ibn Mahmud, Siddeshwar Raghavan, Jinge Ma, Dayou Mao, Saeejith Nair, Pengcheng Xi, Alexander Wong, Edward Delp, Fengqing Zhu · Submission to ICLR 2025 · Withdrawn

TL;DR

MetaFood3D is a multimodal 3D dataset designed to bridge computer vision and dietary assessment by pairing 637 real-world scanned food meshes across 108 categories with exact weights and nutritional breakdowns (calories, protein, carbs, fat). By providing 720° RGB-D video captures, textured meshes, camera poses, and standard 2D renders, it establishes comprehensive benchmarks for 3D point cloud perception, novel view synthesis, 3D generative modeling, and portion size estimation.

What Problem Does This Paper Address?

Accurate dietary intake monitoring is an essential biomarker for managing health, yet estimating food portion sizes and nutritional values from 2D photos remains an open challenge. 2D food photography suffers from arbitrary camera angles, variable scales, and severe occlusion (e.g., hidden sandwich fillings or stacked items on a plate).

While 3D modeling offers a natural pathway to determine volume and portion size regardless of viewpoint, existing datasets fall short:

  • Generic 3D repositories (such as Objaverse or Google Scanned Objects) focus heavily on non-perishable household objects and completely lack nutritional annotations.
  • Existing food 3D datasets (such as NutritionVerse3D or OmniObject3D) either lack ground-truth nutrition and physical weight, contain uncalibrated geometries, or exhibit very low intra-class shape variance (e.g., scanning multiple lemons that all share nearly identical geometries).
  • Existing 2D dietary datasets (such as Nutrition5K or ECUSTFD) either omit 3D shape information altogether or do not segment individual food components.

Methods

The authors built an end-to-end capture and processing pipeline prioritizing real-world dietary patterns and intra-class diversity:

  • Taxonomy & Sourcing: The dataset builds upon 74 categories from the VIPER-FoodNet (VFN) benchmark (derived from the What We Eat in America survey) and adds 34 categories from NHANES, totaling 108 categories broken down into 220 fine-grained food items. Each item is mapped to an official 8-digit USDA Food and Nutrient Database for Dietary Studies (FNDDS) code.
  • Data Capture: Food items were sourced from restaurants, supermarkets, or prepared fresh. Scans were captured using a turntable with a Revopoint POP 2 scanner for high-resolution textured 3D meshes. Simultaneous 720° dual-spiral RGB-D videos concluding with overhead captures were recorded via an iPhone with the Record3D app. Fiducial markers were embedded in the scene for metric scale and color calibration, and non-fluid items were flipped to reconstruct the underside.
  • Annotation & Multimodal Exports: Each item was weighed ($w_i$). Total energy, carbohydrates, proteins, and fats were computed from nutrient density vectors ($d_i$) per 100g. Automated segmentation masks were generated using GroundingDINO, SAM, and Cutie. Multi-view 2D images, normal maps, depth maps, and uniform point cloud samplings (1,024 and 4,096 points) were rendered in Blender.

Datasets

  • MetaFood3D (Introduced): 637 meticulously scanned 3D food objects across 108 food categories and 220 sub-items, annotated with weight, calibrated scale, FNDDS food codes, and macronutrients.
  • MetaFood3D-C (Introduced): A corrupted test suite evaluating point cloud classifier robustness across seven common real-world sensor distortions (Scale, Rotate, Jitter, Global/Local Addition, and Global/Local Dropout).
  • External Benchmarks Evaluated: OmniObject3D (used to evaluate intra-class domain transfer).

Key Insights and Ideas

  • The Uniformity Fallacy: Models trained on 3D datasets with uniform food shapes generalize poorly to realistic, diverse food shapes. Classifiers trained on OmniObject3D suffered a ~70% drop in overall accuracy when tested on MetaFood3D’s diverse category variations.
  • 3D Gaussian Splatting (3DGS) Outperforms NeRF on Casual Video: When testing novel view synthesis, 3DGS synthesized food objects cleanly from real video captures (37.75 PSNR), while NeRF-based Nerfacto struggled to separate foreground food from backgrounds without manual masking (achieving only 9.09 PSNR on masked video due to background reconstruction artifacts).
  • Physics- & Nutrition-Grounded 3D Generation: By training generative models (GET3D) on MetaFood3D renders, synthesized objects were assigned accurate metric volumes directly via Blender and automatically linked to FNDDS nutritional tables—enabling the creation of realistic synthetic eating scenes with ground-truth nutrition in simulators like NVIDIA Omniverse.
  • 3D Models Reduce Relative Portion Errors: Incorporating 3D prior models directly into image-based portion estimation dramatically reduces relative percentage errors compared to direct 2D image regression models.

Key Results

1. 3D Food Perception & Robustness

10 popular 3D point cloud classifiers were benchmarked:

  • When trained on OmniObject3D ($OA_{\text{Uniform}} \approx 82\text{--}92\%$) and evaluated on MetaFood3D ($OA_{\text{Diverse}}$), performance crashed to 17.9% – 23.1%.
  • When trained and tested on clean MetaFood3D data, PointNet++ achieved the highest accuracy (76.1%) and best robustness against corruptions (lowest mean Corruption Error, mCE = 0.912), followed by GDANet (74.0% clean OA, 0.935 mCE).

2. Novel View Synthesis & Reconstruction

  • Gaussian Splatting (3DGS) outperformed Nerfacto across both synthetic renders and real videos:
  • Rendered Blender views: 51.24 PSNR / 0.9975 SSIM (3DGS) vs. 19.00 PSNR / 0.9162 SSIM (Nerfacto).
  • Real RGB-D video captures: 37.75 PSNR / 0.9890 SSIM (3DGS) vs. 22.81 PSNR / 0.9611 SSIM (Nerfacto).

3. Food Portion & Energy Estimation

Benchmarking across four paradigm classes revealed the advantage of 3D modeling:

  • 3D Assisted Portion Estimation achieved the lowest Volume Mean Absolute Percentage Error (V-MAPE: 79.33%) and Energy MAPE (E-MAPE: 102.25%).
  • By contrast, standard 2D neural network regression baselines yielded severe percentage errors (e.g., ResNet50 direct energy regression had an E-MAPE of 1124.9%; density-map summing reached 142.44%).

Limitations and Future Work

  • Geographic and Cultural Diet Bias: Categories are curated specifically from the US American diet (WWEIA and NHANES) and do not yet encompass culinary traditions and staple foods from other regions.
  • Challenging Physical Food Properties: Optical scanners struggled with reflective or translucent items (such as popsicles or fruits in light syrup), which had to be excluded. Fluid foods (soups, stews) required containers, and deformable composite foods (e.g., loose burger or sandwich layers) sagged when flipped to scan the underside.
  • Absolute Portion Error: While 3D-assisted portion estimation drastically reduced percentage error (MAPE), its absolute error (MAE) remained higher than voxel-based reconstruction, indicating the need for hybrid geometric methods.

Summary updated

Abstract

Food computing is both important and challenging in computer vision (CV). It significantly contributes to the development of CV algorithms due to its frequent presence in datasets across various applications, ranging from classification and instance segmentation to 3D reconstruction. The polymorphic shapes and textures of food, coupled with high variation in forms and vast multimodal information, including language descriptions and nutritional data, make food computing a complex and demanding task for modern CV algorithms. 3D food modeling is a new frontier for addressing food related problems, due to its inherent capability to deal with random camera views and its straightforward representation for calculating food portion size. However, the primary hurdle in the development of algorithms for food object analysis is the lack of nutrition values in existing 3D datasets. Moreover, in the broader field of 3D research, there is a critical need for domain-specific test datasets. To bridge the gap between general 3D vision and food computing research, we introduce MetaFood3D. This dataset consists of 637 meticulously scanned and labeled 3D food objects across 108 categories, featuring detailed nutrition information, weight, and food codes linked to a comprehensive nutrition database. Our MetaFood3D dataset emphasizes intra-class diversity and includes rich modalities such as textured mesh files, RGB-D videos, and segmentation masks. Experimental results demonstrate our dataset's significant potential for improving algorithm performance, highlight the challenging gap between video captures and 3D scanned data, and showcase the strengths of MetaFood3D in high-quality data generation, simulation, and augmentation.
BibTeX
@misc{chen2024metafood,
  author = {Yuhao Chen and Jiangpeng He and Chris Czarnecki and Gautham Vinod and Talha Ibn Mahmud and Siddeshwar Raghavan and Jinge Ma and Dayou Mao and Saeejith Nair and Pengcheng Xi and Alexander Wong and Edward Delp and Fengqing Zhu},
  title = {{MetaFood3D: 3D Food Dataset with Nutrition Values}},
  year = {2024},
  eprint = {2409.01966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.01966},
}
Figure