Logo

Matching Anything By Segmenting Anything

CVPR 2024 Highlight

1Computer Vision Lab, ETH Zurich, 2INSAIT

🔈 try sound on!

MASA provides a universal instance appearance model for matching any objects in any domain .

Abstract

The robust association of the same objects across video frames in complex scenes is crucial for many applications, especially Multiple Object Tracking (MOT). Current methods predominantly rely on labeled domain-specific video datasets, which limits the cross-domain generalization of learned similarity embeddings. We propose MASA, a novel method for robust instance association learning, capable of matching any objects within videos across diverse domains without tracking labels. Leveraging the rich object segmentation from the Segment Anything Model (SAM), MASA learns instance-level correspondence through exhaustive data transformations. We treat the SAM outputs as dense object region proposals and learn to match those regions from a vast image collection. We further design a universal MASA adapter which can work in tandem with foundational segmentation or detection models and enable them to track any detected objects. Those combinations present strong zero-shot tracking ability in complex domains. Extensive tests on multiple challenging MOT and MOTS benchmarks indicate that the proposed method, using only unlabeled static images, achieves even better performance than state-of-the-art methods trained with fully annotated in-domain video sequences, in zero-shot association.

Video

Open-vocabulary Tracking

Track and Segment Any object

Using MASA with SAM, you can track and segment any object.

Fast Track Anything

MASA works with any detector. Here are the fast open-vocabulary tracking examples with Yolo-World-X.

Driving Scenes and Ego-centric Tracking

BibTeX

@article{masa,
  author    = {Li, Siyuan and Ke, Lei and Danelljan, Martin and Piccinelli, Luigi and Segu, Mattia and Van Gool, Luc and Yu, Fisher},
  title     = {Matching Anything By Segmenting Anything},
  journal   = {CVPR},
  year      = {2024},
}