lucasgelfond/webgpu-sam2
Segment Anything 2, 100% in the browser (with WebGPU!)
This tool helps anyone who needs to quickly and precisely select specific objects or regions within an image. You simply upload an image, click on the areas you want to isolate, and the tool generates accurate outlines (masks) around those objects. It's ideal for visual content creators, researchers, or anyone working with image editing and analysis.
167 stars.
Use this if you need to extract specific objects or segments from images directly in your web browser without sending your data to any server.
Not ideal if you primarily work with very low-resolution images or require extreme precision on highly detailed, small objects where the model's fixed input dimensions might be a limitation.
Stars
167
Forks
11
Language
TypeScript
License
—
Category
Last pushed
Jan 10, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/computer-vision/lucasgelfond/webgpu-sam2"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
uber-research/UPSNet
UPSNet: A Unified Panoptic Segmentation Network
augmentedstartups/AS-One
Easy & Modular Computer Vision Detectors, Trackers & SAM - Run YOLOv9,v8,v7,v6,v5,R,X in under...
xuebinqin/U-2-Net
The code for our newly accepted paper in Pattern Recognition 2020: "U^2-Net: Going Deeper with...
shreyas-bk/u2netdemo
Demonstration using Google Colab to show how U-2-NET can be used for Background Removal,...
robustsam/RobustSAM
RobustSAM: Segment Anything Robustly on Degraded Images (CVPR 2024 Highlight)