cs.CVMar 11, 2026

Colony Grounded SAM2: Zero-shot detection and segmentation of bacterial colonies using foundation models

Authors: Daan Korporaal, Patrick de Kruijf, Ralph H. G. M. Litjens, Bas H. M. van der Velden

Organizations: Wageningen Food Safety Research, Wageningen, The Netherlands

Abstract

The detection and classification of bacterial colonies in images of agar-plates is important in microbiology, but is hindered by the lack of labeled datasets. Therefore, we propose Colony Grounded SAM2, a zero-shot inference pipeline to detect and segment bacterial colonies in multiple settings without any further training. By utilizing the pre-trained foundation models Grounding DINO and Segment Anything Model 2, fine-tuned to the microbiological domain, we developed a model that is robust to data changes. Results showed a mean Average Precision of 93.1% and a Dice@detectionDice@detection score of 0.85, showing excellent detection and segmentation capabilities on out-of-distribution datasets. The entire pipeline with model weights are shared open access to aid with annotation- and classification purposes in microbiology.

Figures & tables

Explore similar work

CardsList
  1. Investigation of cardinality classification for bacterial colony counting using explainable artificial intelligence

    Apr 21, 2026Minghua Zheng, Na Helian, Peter C. R. Lane +2Object CountingClassification

  2. Learning to count small and clustered objects with application to bacterial colonies

    Apr 21, 2026Minghua Zheng, Na Helian, Peter C. R. Lane +2Object CountingCross-Domain Generalization