SpatialTracker: Tracking Any 2D Pixels in 3D Space

Yuxi Xiao, Qianqian Wang, Shangzhan Zhang, Nan Xue, Sida Peng +2 more
4/1/2024

No official code found. Best implementation: henry123-boy/SpaTracker (1,048 stars, last commit 2025-08-08). 1 more below.

Abstract

Recovering dense and long-range pixel motion in videos is a challenging problem. Part of the difficulty arises from the 3D-to-2D projection process, leading to occlusions and discontinuities in the 2D motion domain. While 2D motion can be intricate, we posit that the underlying 3D motion can often be simple and low-dimensional. In this work, we propose to estimate point trajectories in 3D space to mitigate the issues caused by image projection. Our method, named SpatialTracker, lifts 2D pixels to 3D using monocular depth estimators, represents the 3D content of each frame efficiently using a triplane representation, and performs iterative updates using a transformer to estimate 3D trajectories. Tracking in 3D allows us to leverage asrigid-as-possible (ARAP) constraints while simultaneously learning a rigidity embedding that clusters pixels into different rigid parts. Extensive evaluation shows that our approach achieves state-of-the-art tracking performance both qualitatively and quantitatively, particularly in challenging scenarios such as out-of-plane rotation. And our project page is available at https://henry123-boy.github.io/SpaTracker/.

View on arXivView PDF

Code Implementations(2)

[CVPR 2024 Highlight] Official PyTorch implementation of SpatialTracker: Tracking Any 2D Pixels in 3D Space

1,04842Shell, PythonApr 1, 20241 years agoNOASSERTION

I am creating a spatial tracker based on [SpatialTracker: Tracking Any 2D Pixels in 3D Space] that applies better to nonrigid bodies

00PythonApr 23, 20251 years ago

Similar Papers

Cite this paper

@article{xiao2024spatialtracker,
  title  = {SpatialTracker: Tracking Any 2D Pixels in 3D Space},
  author = {Yuxi Xiao and Qianqian Wang and Shangzhan Zhang and Nan Xue and Sida Peng and Yujun Shen and Xiaowei Zhou},
  year   = {2024},
  eprint = {2404.04319},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2404.04319},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04319.svg)](https://codeofpaper.com/paper/2404.04319)

Discussion