Automated Food Weight and Content Estimation Using Computer Vision and AI Algorithms.

Journal: Sensors (Basel, Switzerland)
PMID:

Abstract

The work aims to leverage computer vision and artificial intelligence technologies to quantify key components in food distribution services. Specifically, it focuses on dish counting, content identification, and portion size estimation in a dining hall setting. An RGB camera is employed to capture the tray delivery process in a self-service restaurant, providing test images for plate counting and content identification algorithm comparison, using standard evaluation metrics. The approach utilized the YOLO architecture, a widely recognized deep learning model for object detection and computer vision. The model is trained on labeled image data, and its performance is assessed using a precision-recall curve at a confidence threshold of 0.5, achieving a mean average precision (mAP) of 0.873, indicating robust overall performance. The weight estimation procedure combines computer vision techniques to measure food volume using both RGB and depth cameras. Subsequently, density models specific to each food type are applied to estimate the detected food weight. The estimation model's parameters are calibrated through experiments that generate volume-to-weight conversion tables for different food items. Validation of the system was conducted using rice and chicken, yielding error margins of 5.07% and 3.75%, respectively, demonstrating the feasibility and accuracy of the proposed method.

Authors

  • Bryan Gonzalez
    Escuela de Ingenieria Electrica, Pontificia Universidad Catolica de Valparaıso, Valparaíso 2340025, Chile.
  • Gonzalo Garcia
    Ocean and Mechanical Engineering Department, Florida Atlantic University, 777 Glades Road EW 190, Boca Raton, FL 33431, USA.
  • Sergio A Velastin
    School of Electronic Engineering and Computer Science, Queen Mary University of London, London E1 4NS, UK.
  • Hamid Gholamhosseini
    School of Engineering, Computer and Mathematical Sciences, Auckland University of Technology, Auckland, New Zealand.
  • Lino Tejeda
    Sourcing, Chile.
  • Gonzalo Farias
    Escuela de Ingeniería Eléctrica, Pontificia Universidad Católica de Valparaíso, Valparaíso, Chile.