EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Zero-Shot SAM for Food Image Segmentation

Saeed S. Alahmari, Michael R. Gardner, Tawfiq Salem

Electronics · 03.11.2025 · 14 (21) · 4316

DOI: 10.3390/electronics14214316 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 03.11.2025. Verfasst von Saeed S. Alahmari und 2 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 41 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Deanship of Graduate Studies and Scientific Research at Najran University, Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Recent advances in foundation models have enabled strong zero-shot performance across vision tasks, yet their effectiveness for fine-grained domains such as food image segmentation remains underexplored. This study investigates the zero-shot capabilities of the Segment Anything Model (SAM) for segmenting food images. We evaluate two prompting strategies—bounding boxes and coordinate points—and compare SAM’s results against established deep learning baselines, U-Net and DeepLabv3+, both trained on the FoodBin-17k dataset with pixel-wise binary annotations. Using bounding box prompts, zero-shot SAM achieved a Dice coefficient of 0.790, closely matching U-Net (0.759), while DeepLabv3+ attained 0.918. Coordinate-based prompting yielded comparable results, with the optimal configuration (75 coordinate points) also reaching a Dice coefficient of 0.790. These results highlight SAM’s strong potential for generalizing to novel visual categories without task-specific retraining. This study further provides insights into how prompt type influences segmentation quality, offering practical guidance for applying SAM in food-related and other fine-grained segmentation applications.

Förderung

  • Deanship of Graduate Studies and Scientific Research at Najran University
  • Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia

Zitieren

APA

Alahmari, S. S., Gardner, M. R., & Salem, T. (2025). Zero-Shot SAM for Food Image Segmentation. Electronics, 14(21), 4316. https://doi.org/10.3390/electronics14214316

Vancouver

Alahmari SS, Gardner MR, Salem T. Zero-Shot SAM for Food Image Segmentation. Electronics. 2025;14(21):4316. doi:10.3390/electronics14214316

BibTeX
@article{Alahmari2025,
  author = {Alahmari, Saeed S. and Gardner, Michael R. and Salem, Tawfiq},
  title = {Zero-Shot SAM for Food Image Segmentation},
  journal = {Electronics},
  year = {2025},
  volume = {14},
  number = {21},
  pages = {4316},
  doi = {10.3390/electronics14214316}
}
Kostenlos starten →