SAM 2 is Meta AI's 2024 successor to the Segment Anything Model that extends promptable segmentation from images to video, tracking an object across frames from a single click using a memory mechanism. It segments in both images and video in real time.
| Capability | SAM | SAM 2 |
|---|---|---|
| Media | Images | Images and video |
| Tracking | None | Across frames, via memory |
| Prompt | Click, box, region | Same, plus propagation |
