← All demos

Click to segment

SAM 2.1 (Hiera-Tiny), running entirely in your browser on LiteRT.js. Pick a photo, click anything in it, get its mask. Nothing is uploaded.
Loading runtime…
encoder per photo · decoder per click
click anywhere on the photo — each click makes a new mask · drop or paste a new photo anytime
Choose a photo, use the camera, drop or paste an image — or try the example.
Drop the photo