What problem does it solve?
This Skill provides zero-shot, promptable image segmentation so users can extract precise object masks from images without task-specific training, accelerating annotation, dataset creation, and downstream vision tasks.
Core Features & Use Cases
- Zero-shot segmentation: Segment objects across domains using point, box, or mask prompts with SamPredictor or HuggingFace SamModel.
- Automatic mask generation: Produce dense object masks for dataset generation, annotation tools, and batch processing using SamAutomaticMaskGenerator.
- Deployment & optimization: Support for ViT-B/L/H checkpoints, ONNX export, Torch/half precision, and TensorRT for speed and memory tradeoffs.
- Use case: Create high-quality segmentation annotations for medical imaging, satellite imagery, e-commerce product isolation, or interactive labeling tools.
Quick Start
Use the segment-anything-model to generate object masks from an input image by providing point or box prompts or by running automatic mask generation.