English

A SAM based Tool for Semi-Automatic Food Annotation

Computer Vision and Pattern Recognition 2024-11-12 v1 Artificial Intelligence

Abstract

The advancement of artificial intelligence (AI) in food and nutrition research is hindered by a critical bottleneck: the lack of annotated food data. Despite the rise of highly efficient AI models designed for tasks such as food segmentation and classification, their practical application might necessitate proficiency in AI and machine learning principles, which can act as a challenge for non-AI experts in the field of nutritional sciences. Alternatively, it highlights the need to translate AI models into user-friendly tools that are accessible to all. To address this, we present a demo of a semi-automatic food image annotation tool leveraging the Segment Anything Model (SAM). The tool enables prompt-based food segmentation via user interactions, promoting user engagement and allowing them to further categorise food items within meal images and specify weight/volume if necessary. Additionally, we release a fine-tuned version of SAM's mask decoder, dubbed MealSAM, with the ViT-B backbone tailored specifically for food image segmentation. Our objective is not only to contribute to the field by encouraging participation, collaboration, and the gathering of more annotated food data but also to make AI technology available for a broader audience by translating AI into practical tools.

Keywords

Cite

@article{arxiv.2410.19756,
  title  = {A SAM based Tool for Semi-Automatic Food Annotation},
  author = {Lubnaa Abdur Rahman and Ioannis Papathanail and Lorenzo Brigato and Stavroula Mougiakakou},
  journal= {arXiv preprint arXiv:2410.19756},
  year   = {2024}
}

Comments

Accepted Demo Paper - ECAI 2024

R2 v1 2026-06-28T19:35:52.409Z