# facebookresearch/sam2

> The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.

- Group: Vision
- Kind: Code on GitHub
- License: Apache-2.0
- Language: Jupyter Notebook
- Stars: 20259
- Last change: 2026-05-30
- Address: https://github.com/facebookresearch/sam2
- On RoboGeeks: https://robogeeks.org/software/facebookresearch-sam2
