Inference code, checkpoints, and notebooks for Meta's Segment Anything Model (SAM), which produces object masks from points, boxes, or automatically for whole images.
Meta's Segment Anything Model 2 for promptable segmentation in images and videos, with inference code, checkpoints, and example notebooks.