The coordinates in this example never change between predictions. The tracking score does.
I ran RoboTrack's released scoring function on one invented point moving through five frames. With correct visibility flags, its Average Jaccard is 1.00. Mark the point visible in every frame and it falls to 0.50. Mark it hidden everywhere and it falls to 0.00. Position accuracy remains 1.00 in all three cases.
These are synthetic inputs to the evaluator, not predictions from RoboTracker or another tracking model.
A constructed scoring example using the released routine. Original diagram by the author.
Ai2's new RoboTrack release is the reason I looked at this metric. The benchmark targets point tracking during real manipulation, where a gripper can hide the object it is moving. Its announcement reports Average Jaccard as a measure of both location and visibility. [1]
Read the hidden frames too
Frame zero supplies the query point. In this scorer's first-query mode, only later frames count. My four scored frames contain two visible points and two occluded points. [2]
The invented coordinate estimates exactly match the supplied coordinates. That removes localization error from the example, including at the hidden frames. A real tracker would not receive those hidden coordinates.
For this construction, each distance threshold gives:
Jaccard = true positives / (ground-truth visible count + false positives)
A correctly localized point predicted visible in a visible frame contributes a true positive. Predicting visibility in an occluded frame contributes a false positive. The released function averages over thresholds of 1, 2, 4, 8 and 16 in its normalized coordinate system. [2]
Because every coordinate error here is zero, the threshold does not change any of the counts:
| Visibility prediction | True positives | False positives | Jaccard |
|---|---|---|---|
| Correct flags | 2 | 0 | 2 / 2 = 1.00 |
| Visible everywhere | 2 | 2 | 2 / 4 = 0.50 |
| Hidden everywhere | 0 | 0 | 0 / 2 = 0.00 |
Predicting hidden everywhere avoids false positives, but it also earns no true positives. The denominator still contains the two genuinely visible observations.
Position accuracy asks a different question in this routine: are the coordinates within the distance threshold on ground-truth visible frames? The predicted visibility mask does not enter that calculation. That is why all three constructed predictions retain perfect position accuracy. [2]
Run the released function
Save this as track_scores.py. With uv installed, run uv run --with numpy==2.3.4 python track_scores.py.
The script downloads a pinned scoring file from the official repository and checks its hash before importing it. This executes that Python file, so inspect the linked source as you would any dependency. It downloads no weights or videos.
import hashlib import importlib.util from pathlib import Path from tempfile import TemporaryDirectory from urllib.request import urlopen import numpy as np revision = 'fc5cd87f60fad57c7cbc48c3d09e9aa7b45061a3' url = f'https://raw.githubusercontent.com/allenai/robotrack/{revision}/robotrack/metrics.py' code = urlopen(url).read() assert hashlib.sha256(code).hexdigest() == 'e197af28b1d8285c5769be3f8bd19708b31a3527f684c3b8e253115d3332a7a8' with TemporaryDirectory() as folder: path = Path(folder) / 'metrics.py' path.write_bytes(code) spec = importlib.util.spec_from_file_location('track_metrics', path) module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) # One invented point, five frames; frame zero is the query, not scored. gt = np.array([[[10., 10.], [11., 10.], [12., 10.], [13., 10.], [14., 10.]]]) hidden = np.array([[False, False, False, True, True]]) for name, predicted_hidden in [('honest', hidden), ('always_visible', np.zeros_like(hidden)), ('always_hidden', np.ones_like(hidden))]: result = module.tapvid_metrics(np.array([0]), hidden, gt, predicted_hidden, gt.copy(), (256, 256)) print(f"{name}: position={result['d_avg']:.2f} visibility={result['oa']:.2f} AJ={result['aj']:.2f}") expected_aj = {'honest': 1.0, 'always_visible': 0.5, 'always_hidden': 0.0}[name] assert result['d_avg'] == 1.0 and result['aj'] == expected_aj # Same normalized geometry on a larger pixel grid. scaled = gt * (511 / 255) again = module.tapvid_metrics(np.array([0]), hidden, scaled, predicted_hidden, scaled.copy(), (512, 512)) assert result == again Output:
honest: position=1.00 visibility=1.00 AJ=1.00 always_visible: position=1.00 visibility=0.50 AJ=0.50 always_hidden: position=1.00 visibility=0.50 AJ=0.00 I checked the TP, FP and visibility counts independently with exact fractions. The script also repeats the same geometry on a larger pixel grid, using the scorer's coordinate scaling, and asserts identical results. The test is about this specific clip-level implementation; empty evaluation masks and dataset-level aggregation need their own handling.
Keep the two questions visible
The earlier CoTracker3 post by Jimmy Guerrero at Voxel51 points readers toward tracking models and demonstrations. [3] Reading a score adds another task: inspect the visibility convention as well as the trajectory.
For a manipulation application, a plausible location is only part of the information a controller needs. A hidden point and an observed point should not silently become the same kind of evidence.
I haven't run RoboTracker weights, the benchmark videos or a robot. This example isolates why identical coordinates can produce different tracking scores. It supplies no ranking of tracking models.
References
- Kyle Wiggers / Ai2, RoboTrack: Point tracking for real-world robotic manipulation.
- Ai2 contributors, pinned RoboTrack metrics implementation, adapted from TAP-Vid under Apache 2.0.
- Jimmy Guerrero / Voxel51, Meta AI's CoTracker3: Enhanced Point Tracking with Less Data.
Asset credits
Original frame diagram from the stated synthetic coordinates and computed scores. It contains no robot footage or copied benchmark chart.
AI disclosure
AI was used to draft the article.

