File size: 583 Bytes
79e0330
 
 
982580e
79e0330
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# SAM Object Isolation Demo

This Space lets you upload an image or use the demo photo, then click on an object to isolate it using Meta's Segment Anything Model (SAM). The output is an RGBA cutout with transparency.
https://github.com/facebookresearch/segment-anything

## Usage
- Upload your own image or click on the demo image.
- Click on the object you want to isolate.
- The isolated cutout will appear with a transparent background.

## Requirements
See `requirements.txt` for dependencies. The SAM checkpoint (`sam_vit_h_4b8939.pth`) must be placed in the root of the Space.