View on GitHub
Clientside Image Segmentation with onnxruntime-web and Meta's SAM2
Running on
Show Mask
Show Border
Reset Mask
Upload Image
From URL
Export Mask
PNG
JPEG
Quick Guide:
Enable "Show Mask" and click on an object you want to add text to
Hold Shift and click multiple times to merge masks
Click "Add Text" button on the right
Disable "Show Mask" to see your text clearly
Drag text to position, use corner handles to resize
Edit text content and style in the right panel
Text Layers
Add Text
Print stats