facebookresearch/segment-anything
The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model. observed · 2026-08-28
Health v2 · maintenance only
30/100
- Activity 0
- Release rhythm 35
- Longevity 89
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1259
- days_rel: n/a
- days_push: 714
- n_releases_24m: 0
Adoption not part of the score
54759 stars · 6355 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Segment Anything Model (SAM) from Meta AI is a promptable image segmentation foundation model that produces high-quality object masks from point or box prompts, with strong zero-shot performance. This repository provides inference code, pretrained model checkpoints, and example notebooks for using the model.
Use cases
- segment all objects in an image
- generate object masks from point or box prompts
- zero-shot image segmentation
- extract masks for image editing pipelines
- label segmentation data for training other models
- run SAM inference in a Python notebook
When to choose
- you need high-quality promptable segmentation masks without training a custom model
- you want a well-tested, widely adopted segmentation foundation model with pretrained checkpoints
- you need zero-shot segmentation across diverse visual domains
When to avoid
- you need video segmentation or streaming memory - use SAM 2 instead
- you need real-time inference on CPU-constrained hardware
- you need semantic class labels rather than class-agnostic masks
Facets
library · maturity stable
machine-learning computer-vision image-processing deep-learning computer-vision image-processing artificial-intelligence machine-learning python cross-platform segment-anything image-segmentation foundation-model promptable-segmentation object-masks zero-shot pytorch meta-ai gpu
1 source
- readme: https://github.com/facebookresearch/segment-anything · fetched 2026-08-28 · 942cfbb82784
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookresearch/segment-anything | main | 30 |
For agents
markdown · JSON · MCP: product_card(name="facebookresearch/segment-anything")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem