Segment Any Motion in Videos logo

Segment Any Motion in Videos

Summary

Segment Any Motion in Videos is a method for accurately segmenting moving objects in video sequences, combining long-range trajectory motion cues with semantic features from DINO-based models to overcome the limits of optical-flow approaches that struggle with partial motion, complex deformations, motion blur and background distractions.

Key Features

Combines long-range trajectory motion cues with DINO-based semantic features
Spatio-temporal trajectory attention and motion-semantic decoupled embedding
Processes 2D tracks and depth maps to capture detailed motion patterns
Uses SAM2 for pixel-level mask densification and fine-grained segmentation
Iterative prompting strategy for accurate grouping of dynamic tracks
State-of-the-art performance on complex, multi-object video datasets
Open-source with preprocessing, training, inference and evaluation pipelines

About Segment Any Motion in Videos


The pipeline takes 2D tracks and depth maps from off-the-shelf models, processes them with a motion encoder to capture detailed motion patterns, then a tracks decoder integrates DINO semantic features by separating motion and semantic information, and finally SAM2 groups dynamic tracks belonging to the same object to generate precise pixel-level moving object masks through an iterative prompting strategy.


It has demonstrated state-of-the-art performance on diverse datasets including multi-object scenes, occlusions and complex background motions, and is valuable for autonomous driving, video editing, surveillance and robotics, with an open-source implementation supporting preprocessing, training, inference and evaluation.

Get more likes & reach the top of search results by adding this button on your site!

Embed button preview - Light theme
Embed button preview - Dark theme
TurboType Banner

Subscribe to the AI Search Newsletter

Get top updates in AI to your inbox every weekend. It's free!