Abstract
Accurate dietary monitoring is essential for nutritional science but currently relies on unreliable self-reporting. This paper presents a zero-shot pipeline developed at the University of Waterloo to track the 6D pose of hands and spoons during eating activities. By integrating state-of-the-art models including Grounding DINO, SAM2, UniDepth, and BundleSDF, the system achieves robust tracking in "in-the-wild" video scenarios without requiring specialized training for specific utensils.
Introduction
Dietary monitoring often suffers from "self-reporting" bias, where participants under- or over-estimate intake. Automated vision-based systems offer a non-intrusive alternative; however, tracking eating behaviors is technically demanding due to the vast variety of object shapes, rapid movements causing motion blur, and frequent occlusions (e.g., a spoon entering the mouth). To accurately quantify intake, a system must estimate the 6D pose—the exact 3D position and orientation (pitch, yaw, and roll)—of the tools involved.
Methodology
The proposed system utilizes a multi-stage "zero-shot" pipeline designed to handle novel objects without prior training on specific geometries.
- Detection & Initial Segmentation: Grounding DINO identifies "spoons" and "hands" in the initial frame via text prompts. SAM2 (Segment Anything Model 2) then generates a precise initial mask.
- Video Object Segmentation (VOS): The pipeline tracks masks across time using SAM2’s video predictor, which leverages temporal relationships to maintain a "lock" on objects during movement.
- Depth Estimation: Since standard video lacks depth data, UniDepth estimates the 3D scene structure and camera intrinsics from monocular frames.
- 6D Pose Estimation: BundleSDF performs 6-DoF tracking by reconstructing the "unknown" objects on the fly using the segmentation masks and estimated depth maps.
Experimental Results
The pipeline was evaluated on a custom dataset of real-world eating videos sourced from YouTube, featuring significant motion blur and occlusions. Performance was measured using the Dice Similarity Coefficient (DSC), where 1.0 represents a perfect match with manual ground-truth annotations.
Segmentation Performance
SAM2 demonstrated superior accuracy compared to the Cutie model in both categories:
- Hands: SAM2 (0.8255) vs. Cutie (0.8133)
- Spoons: SAM2 (0.9286) vs. Cutie (0.8477)
Qualitative Pose Tracking
The integration of SAM2 and BundleSDF allowed for visually accurate 6D tracking through complex motions.
The system maintained consistent orientation estimates even as utensils approached the user's mouth. However, researchers noted that "deep" occlusion—such as a spoon being fully submerged in opaque soup—remains a significant challenge for current models.
Discussion and Limitations
While robust, the pipeline faces several hurdles:
- Motion Blur: Rapid lifting motions can cause segmentation errors that disrupt downstream 3D tracking.
- Semantic Confusion: Models occasionally misidentify food or accessories (like watches) as part of the target object mask.
- Total Occlusion: Prolonged occlusion often leads to failures in re-acquiring the correct pose, sometimes resulting in orientation flips once the object reappears.
Conclusion
This research demonstrates a viable zero-shot approach for 6D pose estimation in dietary monitoring. By leveraging temporal logic through VOS models, the system maintains tracking through moderate blur and partial occlusion. Future work will focus on improving re-acquisition after total occlusion and refining mask boundaries to better distinguish utensils from the food they carry.
Summary updated