Segment Anything 2 (SAM 2)
Foundation model by Meta for promptable image and video segmentation.
About
Meta's Segment Anything Model 2 extends promptable segmentation from still images to video by treating an image as a single-frame video, so one model handles both modalities. Users point at objects with clicks, bounding boxes, or masks, refine results interactively, and track multiple objects through a clip; a transformer architecture with streaming memory keeps per-frame inference fast enough for real-time use. The SAM 2.1 checkpoints come in four sizes, from a 38.9 million parameter tiny model running at about 91 frames per second to a 224 million parameter large model at about 39, with results reported on the SA-V, MOSE, and LVOS benchmarks. Meta also released SA-V, a large video segmentation dataset built with a model-in-the-loop data engine, along with training code for fine-tuning on custom data. The model and code are open source under Apache 2.0, downloadable directly or through Hugging Face, and are widely used for video object tracking, dataset labeling, and as a segmentation backbone in larger vision pipelines.
Should you use Segment Anything 2 (SAM 2)?
Pick it when
Pick SAM 2 when you are building a labeling or editing tool that needs promptable masks on images and video from one model, or want to fine-tune a segmenter on your own domain with Meta's released training code under Apache 2.0.
Look elsewhere when
Skip it if you lack a GPU with around 8 GB of VRAM, or need objects selected from a text description; SAM 3 handles concept prompts natively and Grounded SAM 2 adds Grounding DINO in front of SAM 2.
Alternatives to Segment Anything 2 (SAM 2)
- SAM (Segment Anything v1)
Image-only predecessor with a 6 GB floor and wide support in older tools, fine when you never need video, but it cannot track across frames.
- SAM 3
Detects every instance of a concept from text or an example box in one model, but larger at 848M parameters and under a custom SAM License.
- X-AnyLabeling
Annotation app that already wraps SAM-style auto-labeling in a GUI, so you skip building a tool, but it is GPL-3.0 where SAM 2 is Apache 2.0.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- Apache-2.0
- Minimum VRAM
- 8 GB
- Added
- Apr 3, 2026