Vision Tracker

Track objects across video frames with Apple Vision, seeded by regions drawn in the viewport or fed from a detection node.

What it does

Vision Tracker follows objects across video frames from a seed region. Draw one or more seed regions over the image in the viewport, or feed in boxes from an upstream detection node, and each region is locked and followed frame to frame, reporting where it moved to, how confident the lock is, and a stable ID per tracked target.

Multiple targets are tracked at once, each with its own independent lock. This node runs on Apple's built-in vision tracking and is available on macOS only.

When to use it

ParameterTypeDefault
imageOneOf([FieldOf(Raster)])
seed_inputOneOf([Collection])
levelString"fast"
confidence_thresholdNumber0.300
enabledBooleantrue
seed_regionsString""

Gotchas

A target that leaves frame, is occluded, or drops below Confidence Threshold has its track dropped rather than held onto indefinitely. Raise the threshold for stricter locks, or lower it to keep following through brief occlusions and motion blur at the risk of drifting onto the wrong thing.

Worked example

  1. Wire a video or camera image into Vision Tracker's Image input.

  2. In the viewport, draw a box around the object to follow. This becomes a seed region. Draw more boxes to track several objects at once.

  3. Leave Level on Fast for a live feed, or switch to Accurate for recorded footage where the extra processing time is affordable.

  4. Raise or lower Confidence Threshold until tracks survive the motion in your footage without drifting onto the wrong object.

  5. Use the tracked output for position, box, and ID data downstream, or Positions for a simple list of centre points.

See also

Object Detect · Blob Tracker · Point Tracker · Collections