MUSEFood: Multi-Sensor-Based Food Volume Estimation on Smartphones

Junyi Gao, Weihao Tan, Liantao Ma, Yasha Wang, Wen Tang

Abstract

Accurate dietary monitoring is essential for managing chronic conditions like diabetes, yet estimating food volume from smartphone images remains challenging due to scale ambiguity and segmentation errors. This paper introduces MUSEFood, a system that leverages acoustic ranging to determine camera-to-table distance and a multi-task fully convolutional network (MFCN) for precise food segmentation. By integrating these sensors, MUSEFood eliminates the need for reference objects and achieves high accuracy in volume estimation across diverse food types and containers.

1. Introduction

While modern computer vision can identify food types with high accuracy, determining the quantity consumed remains a significant hurdle. Existing smartphone-based volume estimation methods typically suffer from two issues: the "Scale Problem," where 2D images lack depth information without inconvenient reference objects (e.g., coins), and the "Segmentation Problem," where separating food from complex backgrounds or similar-looking containers is error-prone. MUSEFood addresses these by turning the smartphone into a multi-sensor suite using sonar-like acoustic ranging and context-aware image segmentation.

2. Methodology

MUSEFood employs a three-stage pipeline: Sensing, Data Processing, and Data Aggregation.

2.1 Acoustic Ranging for Scale Estimation

To resolve scale without external references, MUSEFood uses Maximum Length Sequence (MLS) sound waves. The smartphone speaker emits a specific audio signal while the user captures a top-down photo. By calculating the cross-correlation between the emitted signal and the echo captured by the microphone, the system determines the vertical distance ($H$) from the camera to the table. This measurement allows the system to convert pixel dimensions into physical units (millimeters).

2.2 Multi-task Learning for Food Segmentation

The system utilizes a Multi-task Fully Convolutional Network (MFCN) that simultaneously identifies food pixels and classifies the container type (e.g., bowl, plate, or cup). This approach leverages the geometric context of the container to refine food boundaries, particularly at the edges where food and container textures may overlap.

Examples of food segmentation in bowls using the proposed MFCN architecture.

2.3 Differential Volume Modeling

By combining a top-down view and a side-view profile, the system models food as a stack of horizontal columns. The top-down area and side-view height profile are integrated to calculate the final volume, assuming a degree of uniformity within the container.

3. The SUEC Food Dataset

The researchers developed the SUEC Food dataset, extending the UEC Food-256 benchmark. It contains 31,395 images annotated via Grabcut and 600 high-precision manually annotated masks. The dataset specifically focuses on Asian cuisine and diverse container types, providing a robust training ground for the MFCN model.

4. Experimental Results

MUSEFood was evaluated against several state-of-the-art baselines, demonstrating superior performance in both speed and accuracy.

  • Segmentation Accuracy: The MFCN-B model achieved a Mean Intersection over Union (mIoU) of 0.921, significantly higher than the 0.74–0.77 range achieved by traditional Grabcut methods.
  • Efficiency: The system processed 100 images in 12.6 seconds, more than twice as fast as the fastest Grabcut baseline.
  • Volume Precision: In real-world tests, MUSEFood achieved relative errors as low as -0.27% for congee and 2.7% for chicken drumsticks. In contrast, methods relying on fingers or chopsticks as references often saw errors exceeding 20%.
Segmentation of a vegetable dish on a plate, demonstrating the system's ability to handle different container types.

5. Conclusion

MUSEFood demonstrates that sensor fusion—specifically combining acoustic ranging with multi-task computer vision—can solve the long-standing scale and segmentation problems in mobile nutrition tracking. By removing the need for reference objects and improving segmentation through container context, the system provides a practical and accurate tool for dietary management. Future work will focus on handling non-homogeneous food arrangements and streamlining the multi-photo requirement into a single video or AR-based workflow.

Summary updated

BibTeX
@inproceedings{gao2019musefood,
  author = {Junyi Gao and Weihao Tan and Liantao Ma and Yasha Wang and Wen Tang},
  title = {{MUSEFood: Multi-Sensor-Based Food Volume Estimation on Smartphones}},
  booktitle = {SmartWorld/SCALCOM/UIC/ATC/CBDCom/IOP/SCI},
  year = {2019},
  url = {https://openreview.net/forum?id=mE1e1SQzIw0},
}
Figure