Video segmentation
Video Volume
Drag to turn three seconds of video stacked into a block, where each moving object leaves a shape through time.
Loading analyzed clip…
Source, models and licence
Cat relaxing on a sofa.webm by Ivan Kurmanov, CC BY 2.0. Three-second excerpt; audio removed; resized to 640 × 360. Frames sampled at 12 fps for AI analysis. The excerpt starts at 12 seconds in the original. Clip, poster and frame atlas keep the source licence. The player shows the excerpt at its original frame rate, without outlines.
The outlines were computed in advance on a CPU, so the page loads only images and JSON. DETR finds known object classes, and SAM 2.1 draws a pixel mask for each detected box. Each colour is one object, matched from frame to frame by box overlap (IoU), not by SAM's temporal memory. Fast motion, occlusion and missed detections can split or swap objects, and missed frames stay as gaps.
DETR ResNet-50 (q8), confidence ≥ 0.70, duplicate-box suppression at IoU 0.60, up to 3 detections per class and 4 per frame. SAM 2.1 Hiera Tiny (uint8), highest predicted-IoU mask, logits > 0, 256 × 256 masks. Association IoU ≥ 0.15 with two missed-frame grace (up to 0.25 seconds between detections). Twelve samples per second; no interpolated masks.
Detector · Segmenter · This clip's results and pinned model revisions (JSON)