Three Notes

Sign in, free, to change its props and get its code.

Nucleus: track objects in video with SAM

Template for any AI video segmentation or object-tracking demo. Your clip is attached in Nucleus and SAM is prompted with what to find. The row reads "Concept segmentation · 180 frames" and the annotated video opens beside the chat and plays, with every object's mask, box and ID. The agent then renders what you wanted from the masks and opens it: a highlight, a cut-out, a blur. Pass the annotated video and the result by URL. The default tracks both players and the ball through a 1-on-1 (real SAM 3 masks), then keeps the three of them in colour over a greyed court.