• SegmentAnything2 (running in the browser with WebGPU to pre-process embeddings) to segment the object at the mouse pointer.
• OpenCV.js to generate a smoothed vector polygon from SAM2 mask.
• Result displayed as SVG.
• SegmentAnything2 (running in the browser with WebGPU to pre-process embeddings) to segment the object at the mouse pointer.
• OpenCV.js to generate a smoothed vector polygon from SAM2 mask.
• Result displayed as SVG.