Deep Learning Framework for Food Item Recognition and Nutrition Assessment

Prabodh Panindre, Praneeth Kumar Thummalapalli, Tanmay Mandal, Sunil Kumar

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The increasing prevalence of dietary-related health conditions necessitates the development of precise, automated nutritional analysis systems leveraging advancements in artificial intelligence. This paper presents a novel approach to food image analysis using a YOLOv8 object detection model and a custom nutritional assessment, to provide detailed nutritional information from food images. The system ingests user-uploaded food images and employs advanced preprocessing pipelines to standardize the input. The YOLOv8 model, implemented via ONNX Runtime, identifies food items and delineates them in bounding boxes with high confidence. To address dataset heterogeneity, novel algorithms for class merging, underrepresented class removal, and dynamic class weighting were devised, culminating in a refined dataset of 95,000 instances across 214 food categories. Nutritional values, including macronutrient breakdowns, are derived through a custom volumetric computation function, correlating plate areas occupied by detected items with database-derived density metrics. Experimental evaluations reveal superior model performance, achieving mean Average Precision (mAP) scores of 0.7941 at IoU=0.5. Qualitative analyses further validate the system’s efficacy under diverse real-world conditions such as overlapping objects and inconsistent lighting. Deployed on Heroku as a Flask web application, this system exhibits computational efficiency and scalability, supporting real-time dietary monitoring through mobile devices. The proposed system serves as a proof-of-concept that can be improved to provide a robust, scientifically grounded tool for health management by bridging gaps between AI capabilities and practical nutritional needs, with potential extensions to broader healthcare applications.

Original languageEnglish (US)
Title of host publication6th International Conference on Mobile Computing and Sustainable Informatics, ICMCSI 2025 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1648-1653
Number of pages6
ISBN (Electronic)9798331522667
DOIs
StatePublished - 2025
Event6th International Conference on Mobile Computing and Sustainable Informatics, ICMCSI 2025 - Goathgaun, Nepal
Duration: Jan 7 2025Jan 8 2025

Publication series

Name6th International Conference on Mobile Computing and Sustainable Informatics, ICMCSI 2025 - Proceedings

Conference

Conference6th International Conference on Mobile Computing and Sustainable Informatics, ICMCSI 2025
Country/TerritoryNepal
CityGoathgaun
Period1/7/251/8/25

Keywords

  • AI-driven dietary monitoring
  • Image analysis
  • YOLOv8 object detection

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems
  • Signal Processing
  • Information Systems and Management
  • Renewable Energy, Sustainability and the Environment
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Deep Learning Framework for Food Item Recognition and Nutrition Assessment'. Together they form a unique fingerprint.

Cite this