CMD + K

sam-2

Community

SAM 2: Segment Anything in Images and Videos

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::sam-2

Usage Tracking

1.0.0.20241215
1.0.0.20241212
1.0.0.20241014.c2ec8e14a185632b0a5d8b161928ceb50197eddc
1.0.0.20240814.7e1596c0b6462eb1d1ba7e1492430fed95023598
4 / 8 versions selected
Downloads (Last 6 months): 0

Description

Segment Anything Model 2 (SAM 2) is a foundation model towards solving promptable visual segmentation in images and videos. We extend SAM to video by considering images as a video with a single frame. The model design is a simple transformer architecture with streaming memory for real-time video processing. We build a model-in-the-loop data engine, which improves model and data via user interaction, to collect our SA-V dataset, the largest video segmentation dataset to date. SAM 2 trained on our data provides strong performance across a wide range of tasks and visual domains.

About

Summary

SAM 2: Segment Anything in Images and Videos

Last Updated

Oct 31, 2025 at 23:04

License

Apache-2.0

Supported Platforms

linux-aarch64
win-64
macOS-arm64
macOS-64
linux-64

Unsupported Platforms

noarch Last supported version: 1.0.0.20240814.7e1596c0b6462eb1d1ba7e1492430fed95023598