segment-anything (SAM)
by Community
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
OSS
segment-anything (SAM)
Added 1 June 2026
Overview
Segment Anything Model (SAM) is a foundation model for image segmentation that identifies and isolates objects in images with a single prompt. The repository provides inference code, pre-trained model checkpoints, and example notebooks for integration into applications.
Best for
Best for
Developers building image annotation tools, content moderation systems, or computer vision applications needing zero-shot segmentation.
Use cases
- Automated object detection and masking in images
- Building interactive segmentation interfaces
- Preprocessing images for computer vision pipelines
Notes
Segment Anything Model (SAM) is a foundation model for image segmentation that identifies and isolates objects in images with a single prompt. The repository provides inference code, pre-trained model checkpoints, and example notebooks for integration into applications.
54,274 stars on GitHub. Last updated 2024-09-18. Licensed Apache-2.0.
Use cases
- Automated object detection and masking in images
- Building interactive segmentation interfaces
- Preprocessing images for computer vision pipelines
Pros
- Foundation model trained on diverse data, generalizes across object types without retraining
- Prompt-based interface supports flexible input (points, boxes, text descriptions)
- Well-documented with example notebooks and multiple model size options
Cons
- Requires GPU for practical inference speed
- Model checkpoints are large (100MB to 2.5GB depending on variant)
- Performance degrades on small objects or images with complex occlusion
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Foundation model trained on diverse data, generalizes across object types without retraining
- Prompt-based interface supports flexible input (points, boxes, text descriptions)
- Well-documented with example notebooks and multiple model size options
Cons
- Requires GPU for practical inference speed
- Model checkpoints are large (100MB to 2.5GB depending on variant)
- Performance degrades on small objects or images with complex occlusion
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.