Track points
Follow points through a video: give their positions in the first frame and get their positions in every frame.
Authorization
AuthorizationheaderrequiredBearer sk-orb-v1-…, your API key, or a free test key (sk-orb-test-…; no account? get one withPOST /sandbox/keys).
Request body
JSON, with Content-Type: application/json.
modelstringrequiredThe tracking model to run, e.g.
google-deepmind/tapnext. The live models for this endpoint are listed below.framesstring[]requiredThe video, 2–64 frames, oldest first. Each a base64 JPEG or PNG under 4 MB of base64.
pointsnumber[][]required1–256
[x, y]pixel positions in the first frame.depthsstring[]RGB-D trackers (TAPIP3D) require it: one depth map per frame, the same size, as a base64 16-bit grayscale PNG in millimetres (0 = no measurement). 2-D trackers refuse it.
intrinsicsnumber[]RGB-D trackers: the camera's
[fx, fy, cx, cy]in pixels, shared by all frames. Required withdepths.posesnumber[][]RGB-D trackers, optional: one camera-to-world pose per frame (16 numbers, row-major 4×4, meters) for a moving camera. Without them the camera is taken as static.
Response
idstringUnique id of this call, e.g.
trk_48213. It matches the call in your Activity dashboard.modelstringThe model that answered.
backendstring"http": the real model ran on a GPU."simulated": stand-in output of the same shape, as test keys get.sandboxbooleantruewhen the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.tracksobject[][]One list per point, in the order you sent them, with one entry per frame:
{ x, y, visible }, wherevisibleis false while the point is hidden. RGB-D trackers addpoint: [x, y, z]in meters, in the world frame ofposes(without poses, the camera's: x right, y down, z forward).usageobjectWhat the call cost.
Show 2 child attributes
cost_usdnumberCharged to your credits, in US dollars.
latency_msintegerTime the model took, in milliseconds.
Errors
The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.
Models
5 live models for /track. Each page has a ready-made request.