A segment anything gradio ui, supports automatic and prompt modes(point or box prompt). The prompt mode is based on gradio-image-prompter.
- Install Segment Anything following official tutorial
pip install -r requirements
- Download the SAM checkpoints from links: ViT-H SAM model, ViT-L SAM model,ViT-B SAM model. Put the checkpoints to directory
models
.
- point prompts
- batch prompts
- select differernt models
- show image with masks
- add some examples
- support mobile SAM