Skip to main content
Back

Google DeepMind's TapNet Unifies Seven Video Tracking Models in One Repo

Google DeepMind's TAPNet repository bundles every generation of their point tracker, from TAP-Net to TAPNext++, in one open-source hub.

Pro

  • Google DeepMind's tapnet repo trends on GitHub, bundling the full TAP model family.
  • Includes TAP-Net, TAPIR, BootsTAPIR, TAPNext, TAPNext++, RoboTAP, and TRAJAN with Apache 2.0 weights.
  • TAPNext++ reaches 67.0% AJ on DAVIS at 512x512 with 40x longer stable tracking.
  • Checkpoints available in both JAX and PyTorch via Hugging Face.
  • Causal TAPIR runs around 17 fps on a 2018 mobile GPU with the included live webcam demo.
  • Ships TAP-Vid, RoboTAP, and TAPVid-3D benchmarks plus eleven Colab notebooks for offline, online, and clustering workflows.

Google DeepMind’s TapNet repository has climbed GitHub’s trending list while serving as the official home for the lab’s Tracking Any Point models, benchmarks, checkpoints, and demos. For video and robotics developers, the repository replaces a search across separate papers and implementations with one maintained codebase.

With roughly 2,200 GitHub stars, the project includes JAX and PyTorch code, pretrained checkpoints, eleven Colab notebooks, TAP-Vid evaluation tools, and a live webcam demo. Support varies by model, so deployment choices still depend on the required framework, latency, resolution, and tracking horizon.

A pixel becomes a trajectory

Given a video and one or more query points placed on any frame, a Tracking Any Point model estimates the corresponding 2D location on every other frame. It also predicts whether each point remains visible, allowing a track to disappear behind an object and reappear later.

A TAP system combines pixel-scale localization, deformable-surface tracking, long-range association, and occlusion handling. A query can sit on fabric, masonry, skin, or a robot gripper, with the resulting trajectory describing how that precise surface location moves through the clip.

  • Input: a video plus query points defined by frame and image coordinates.
  • Output: per-frame coordinates and visibility estimates for every query.
  • Modes: offline tracking can inspect the full video, while causal tracking processes frames as they arrive.
  • Applications: robot imitation, video editing, dynamic 3D reconstruction, motion analysis, and generative-video evaluation.

Seven systems, distinct jobs

The repository packages several generations of tracking research, with each model targeting a different balance of accuracy, speed, training data, or downstream use:

  • TAP-Net is the baseline introduced with the TAP-Vid benchmark and includes pretrained weights.
  • TAPIR first finds an independent candidate match in each frame, then refines the trajectory and query features using local visual correlations.
  • RoboTAP turns TAPIR tracks into geometric signals for imitation-based robotic manipulation.
  • BootsTAP trains on unlabeled real-world video by enforcing consistent predictions across spatial transformations, visual corruptions, and query choices. The resulting tracker is called BootsTAPIR.
  • TAPNext treats tracking as next-token prediction, representing a trajectory as a sequence and propagating point information through the network.
  • TAPNext++ improves the TAPNext checkpoint through fine-tuning on 1,024-frame synthetic sequences. Its project page reports 40 times longer stable tracking, including stronger recovery after occlusion.
  • TRAJAN is a trajectory autoencoder that reconstructs held-out query tracks from supporting trajectories. It produces motion representations for video comparison and generative-video scoring.

Accuracy across three workloads

The repository reports results on TAP-Vid using Average Jaccard, or AJ, which combines localization accuracy with correct visibility predictions across distance thresholds. “First AJ” initializes each point from its first visible frame, and higher scores indicate better tracking.

Published TAP-Vid First AJ results
Model DAVIS Kinetics RoboTAP
TAP-Net 33.0% 38.5% 45.1%
TAPIR 58.5% 50.0% 59.6%
BootsTAPIR 62.4% 55.8% 69.2%
TAPNext 65.25% 57.3% 64.1%
TAPNext++ at 512 67.0% Not reported Not reported

On DAVIS, TAPNext’s 65.25% nearly doubles TAP-Net’s 33.0%, while TAPNext++ reaches 67.0% at 512 by 512 resolution. BootsTAPIR records the strongest published RoboTAP result in this table, showing that the best model depends on the video domain rather than a single aggregate ranking.

From clone to live camera

The repository code uses the Apache 2.0 license, while pretrained checkpoints are available through Hugging Face and Google Cloud Storage. The included notebooks cover offline and causal inference, rainbow trajectory visualization, point clustering for robot imitation, and TRAJAN embeddings.

A local causal TAPIR demo can be launched from the repository root with the following commands:

git clone https://github.com/google-deepmind/tapnet.git
cd tapnet
pip install .
mkdir -p checkpoints
wget -P checkpoints https://storage.googleapis.com/dm-tapnet/causal_tapir_checkpoint.npy
python3 tapnet/live_demo.py

DeepMind reports about 17 frames per second on 480 by 480 images using a Quadro RTX 4000. Actual throughput will vary with the selected model, input size, accelerator, framework, and number of tracked points.

Tracks become training signal

Point trajectories provide a compact geometric description of motion that downstream systems can consume without processing raw appearance from scratch. That representation supports manipulation policies, video effects, object-motion analysis, and reconstruction pipelines such as OmniMotion.

In RoboTAP’s reported experiments, a manipulation system learned tasks from five demonstrations because the tracked points captured the motion needed for imitation. The authors compare that setup with generative-model-based approaches that can require hundreds or thousands of demonstrations.

Dynamic 3D systems can use the same tracks to connect scene locations over time, while TRAJAN converts groups of trajectories into motion representations. For generative-video research, those representations support evaluation of temporal consistency with less dependence on texture, color, or visual style.

Choose by latency and task

Model selection depends on whether an application prioritizes streaming inference, long-horizon recovery, benchmark accuracy, robotics data, or trajectory representation:

  • Live or streaming video: use the causal TAPIR path and webcam demo.
  • Long offline sequences: evaluate TAPNext++ and its 1,024-frame fine-tuning.
  • Robot-focused tracking: compare BootsTAPIR, which leads the published RoboTAP column, and RoboTAP’s imitation pipeline.
  • Motion comparison: use TRAJAN to encode and reconstruct trajectory sets.
  • Regression testing: retain TAP-Net as the original TAP-Vid baseline.

By collecting model generations, inference recipes, TAP-Vid and TAPVid-3D benchmarks, and framework implementations in one repository, TapNet gives developers a consistent place to measure trackers and connect their outputs to larger video or robotics systems.