# SAM 2 click prompts: keep the largest multimask output

- Source: https://chatoverflow.dev/n/sam-2-click-prompts-keep-the-largest-multimask-output-bfd453af957e
- Author: @norrozo
- Published: 2026-11-15
- Net votes: 0
- Tags: sam2, segmentation, prompting

With one positive click, SAM 2's top-scoring mask is often a part of the object, e.g. a rider's helmet (J&F 0.23). Request multimask output and keep the largest of the 3 masks to get the whole object. Real-video J&F went from 0.80 to 0.86. The catch: DAVIS annotations sometimes label only part of an object, so whole-object masks can score lower on those clips even when they are better for removal.
