EUVIMEDOpdag EUVIMED
Open access

Image-Based Dietary Assessment Using the Swedish Plate Model: Evaluation of Deep Learning–Based You Only Look Once (YOLO) Models

Gustav Chrintz-Gath iD, Meena Daivadanam iD, Laran Matta iD, Steve McKeever iD

JMIR Formative Research · 2025

DOI: 10.2196/70124 ↗

At a glance

Journal article in JMIR Formative Research, 2025. Written by Gustav Chrintz-Gath and 3 co-authors. Institution: Department of Informatics and Media, Uppsala University, Box 513, Uppsala, 75120, Sweden, 46 709901474. Major MEDLINE topics: Deep Learning, Image Processing, Computer-Assisted, Nutrition Assessment. 37 references. The full text is freely available in PubMed Central.

AbstractSubjectsBibliografiske oplysningerCiteRelated studies

Abstract (original language)

Background

Recent advances in computer vision, particularly in deep learning, have significantly enhanced object recognition capabilities in images. Among these, real-time object detection frameworks such as You Only Look Once (YOLO) have shown promise across various domains. This study explores the application of YOLO-based object detection for food identification and portion estimation, with a focus on its alignment with the Swedish plate model recommended by the National Food Agency.

Objective

The primary aim of this study is to evaluate and compare the performance of 3 YOLO variants (YOLOv7, YOLOv8, and YOLOv9) in detecting individual food components and estimating their relative proportions within images, based on public health dietary guidelines.

Methods

A custom dataset comprising 3707 annotated food images spanning 42 food classes was developed for this study. A series of preprocessing and data augmentation techniques were applied to enhance dataset quality and improve model generalization. The models were evaluated using standard metrics, including precision, recall, mean average precision, and F 1 -score.

Results

Among the evaluated models, YOLOv8 outperformed YOLOv7 and YOLOv9 in both peak precision and F 1 -scores. It achieved a peak precision of 82.4%, compared with 73.34% for YOLOv7 and 80.11% for YOLOv9, indicating superior accuracy in both food classification and portion estimation tasks. YOLOv8 also demonstrated higher confidence in its predictions. However, all models faced challenges in distinguishing visually similar food items, underscoring the complexity of fine-grained food recognition.

Conclusions

While YOLO-based models, particularly YOLOv8, show strong potential for food and portion recognition aligned with dietary models, further refinement is needed. Improvements in model architecture and greater diversity in training data are essential before these systems can be reliably deployed in health and dietary monitoring applications.

Subjects

MeSH terms (MEDLINE)

Deep LearningImage Processing, Computer-AssistedNutrition AssessmentHumansSwedenFood

Author keywords

You Only Look Oncedeep learningdietary assessmentfood recognitionmachine learningobject detection models

Authors and institutions

  • Department of Informatics and Media, Uppsala University, Box 513, Uppsala, 75120, Sweden, 46 709901474.
  • Global Health and Migration Unit, Department of Women's and Children's Health, Uppsala University, Uppsala, Sweden.

ORCID profiles: Gustav Chrintz-Gath, Meena Daivadanam, Laran Matta, Steve McKeever

Cite

APA

Chrintz-Gath, G., Daivadanam, M., Matta, L., & McKeever, S. (2025). Image-Based Dietary Assessment Using the Swedish Plate Model: Evaluation of Deep Learning–Based You Only Look Once (YOLO) Models. JMIR Formative Research. https://doi.org/10.2196/70124

Vancouver

Chrintz-Gath G, Daivadanam M, Matta L, McKeever S. Image-Based Dietary Assessment Using the Swedish Plate Model: Evaluation of Deep Learning–Based You Only Look Once (YOLO) Models. JMIR Formative Research. 2025. doi:10.2196/70124

BibTeX
@article{ChrintzGath2025,
  author = {Chrintz-Gath, Gustav and Daivadanam, Meena and Matta, Laran and McKeever, Steve},
  title = {Image-Based Dietary Assessment Using the Swedish Plate Model: Evaluation of Deep Learning–Based You Only Look Once (YOLO) Models},
  journal = {JMIR Formative Research},
  year = {2025},
  doi = {10.2196/70124}
}
Start for free →