{
 "schema_version": 1,
 "generated": "2026-10-31",
 "repo": "facebookresearch/sam2",
 "name": "sam2",
 "owner": "facebookresearch",
 "slug": "facebookresearch-sam2",
 "github": "https://github.com/facebookresearch/sam2",
 "what": "SAM 2 is Meta FAIR's Segment Anything Model 2, a foundation model for promptable visual segmentation in images and videos. You give it points or boxes and it returns masks, and in video it tracks objects across frames as masklets. The repo includes SAM 2.1 checkpoints, image and video predictors, Hugging Face loading, training code and a web demo.",
 "why": "20k stars, talked about in 2 AI sources we track",
 "language": "Jupyter Notebook",
 "requirements": [
  "Python 3.10 or newer with torch 2.5.1 and torchvision 0.20.1 or newer",
  "An NVIDIA GPU with CUDA is recommended; Windows users should use WSL with Ubuntu",
  "A model checkpoint from the download script or Hugging Face"
 ],
 "audience_note": "Researchers, video editors and vision engineers who need accurate object masks without training a model.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Research",
 "url": "https://dedupedai.com/use-cases/facebookresearch-sam2/",
 "use_case_count": 3,
 "use_cases": [
  {
   "id": "facebookresearch-sam2--segment-objects-in-an-image-with-sam2",
   "title": "Segment an object in an image from a click",
   "best": true,
   "url": "https://dedupedai.com/use-cases/facebookresearch-sam2/segment-objects-in-an-image-with-sam2/",
   "json": "https://dedupedai.com/use-cases/u/facebookresearch-sam2/segment-objects-in-an-image-with-sam2.json"
  },
  {
   "id": "facebookresearch-sam2--track-an-object-through-a-video-with-sam2",
   "title": "Track an object through a video",
   "best": false,
   "url": "https://dedupedai.com/use-cases/facebookresearch-sam2/track-an-object-through-a-video-with-sam2/",
   "json": "https://dedupedai.com/use-cases/u/facebookresearch-sam2/track-an-object-through-a-video-with-sam2.json"
  },
  {
   "id": "facebookresearch-sam2--load-sam2-from-hugging-face",
   "title": "Load SAM 2 from Hugging Face without the checkpoint script",
   "best": false,
   "url": "https://dedupedai.com/use-cases/facebookresearch-sam2/load-sam2-from-hugging-face/",
   "json": "https://dedupedai.com/use-cases/u/facebookresearch-sam2/load-sam2-from-hugging-face.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
