
Bounding Boxes to Masks in Computer Vision
transcript
show notes
Counting objects in photos using modern computer vision often relies on a two-stage handoff: open-set detectors like Grounding DINO propose bounding boxes from text prompts, while segmenters like Segment Anything turn those coordinates into pixel-level masks. This episode examines how that handoff works, why thresholds make counting a dial rather than a law of nature, the architectural split that makes SAM fast, and the silent coordinate bugs that plague these pipelines.
Key sources:
• IDEA Research, Grounding DINO repo (README, thresholds, 900-box output, AP table), retrieved 2026-11-29 — https://github.com/IDEA-Research/GroundingDINO
• Meta, Segment Anything repo (prompt types, model variants, mask JSON schema, Apache 2.0), retrieved 2026-11-29 — https://github.com/facebookresearch/segment-anything
• Kirillov et al., Segment Anything (2023-04-05), retrieved 2026-11-29 — https://arxiv.org/abs/2304.02643
Episode 6805 — myweirdprompts.com/n/6805 (permanent short link: myweirdprompts.com/099030)
Listen on Android: MWP FM Player — myweirdprompts.com/apk





