用视觉技术估算大学食堂餐后厨余,实现无接触实时监控
Artificial Intelligence in the Food Industry: Food Waste Estimation based on Computer Vision, a Brief Case Study in a University Dining Hall
- 通过前后餐图像对比,用语义分割估算每盘食物浪费量
- 五种食物中至少一种模型达90%以上比例匹配度,轻量模型实现实时推理
- 适合关注可持续餐饮管理的高校和公共食堂管理者参考
在机构餐饮环境中量化餐后食物浪费对推动数据驱动的可持续策略至关重要。本研究提出一种低成本计算机视觉框架,利用餐前餐后RGB图像的语义分割,在五种伊朗菜肴上估算盘级食物浪费。采用受监督的四种模型(U-Net、U-Net++及其轻量变体),使用截断动态逆频损失和AdamW优化器训练,并通过像素准确率、Dice、IoU及自定义的分布像素一致率(DPA)等指标全面评估。所有模型表现良好,每种食物至少一种模型的DPA接近或超过90%,表明像素级比例估计高度一致。轻量模型参数更少,推理更快,可在NVIDIA T4 GPU上实现实时处理。分析显示,干硬食材(如米饭、薯条)分割效果更优,而炖菜等复杂、破碎或黏稠的食物表现较差,尤其在餐后阶段。尽管受限于二维成像、食物种类有限和人工采集数据,该框架仍具有开创性,为大规模餐饮服务环境中的自动化、实时浪费监测提供了可扩展的无接触解决方案,为食堂管理和政策制定者减少机构厨余提供了可行路径与实践启示。
原文摘要 · Abstract (English)
Quantifying post-consumer food waste in institutional dining settings is essential for supporting data-driven sustainability strategies. This study presents a cost-effective computer vision framework that estimates plate-level food waste by utilizing semantic segmentation of RGB images taken before and after meal consumption across five Iranian dishes. Four fully supervised models (U-Net, U-Net++, and their lightweight variants) were trained using a capped dynamic inverse-frequency loss and AdamW optimizer, then evaluated through a comprehensive set of metrics, including Pixel Accuracy, Dice, IoU, and a custom-defined Distributional Pixel Agreement (DPA) metric tailored to the task. All models achieved satisfying performance, and for each food type, at least one model approached or surpassed 90% DPA, demonstrating strong alignment in pixel-wise proportion estimates. Lighter models with reduced parameter counts offered faster inference, achieving real-time throughput on an NVIDIA T4 GPU. Further analysis showed superior segmentation performance for dry and more rigid components (e.g., rice and fries), while more complex, fragmented, or viscous dishes, such as stews, showed reduced performance, specifically post-consumption. Despite limitations such as reliance on 2D imaging, constrained food variety, and manual data collection, the proposed framework is pioneering and represents a scalable, contactless solution for continuous monitoring of food consumption. This research lays foundational groundwork for automated, real-time waste tracking systems in large-scale food service environments and offers actionable insights and outlines feasible future directions for dining hall management and policymakers aiming to reduce institutional food waste.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。