Home / Insights / Video Object Tracking Annotation: Persistent IDs, Interpolation and Occlusion

Video Object Tracking Annotation: Persistent IDs, Interpolation and Occlusion

How video object tracking annotation works: persistent IDs, keyframes and interpolation, occlusion rules and the QC checks that catch ID switches before they reach your dataset.

DataVision Labs · 25 November 2026 · 3 min read

Labeling a single image tells a model what is there. Labeling a video tells it what is there over time: which car is which, where each person goes, and what happens when something disappears behind a truck. That extra dimension is what makes video annotation valuable, and also what makes it easy to get wrong. This guide covers the essentials of object tracking annotation.

What tracking annotation produces

For each object, a track: a box, polygon or cuboid on every frame where the object is present, all sharing one persistent ID. Tracks usually carry attributes too, such as class, occlusion level, whether the object is moving and, for people, actions.

You can see a working example in the Tracking tab of our annotation lab, where each vehicle and pedestrian keeps its ID through a 60-frame sequence, including while hidden behind another vehicle.

Keyframes and interpolation

Annotators rarely draw every frame by hand. They place boxes on keyframes and let the tool interpolate in between. This is efficient for smooth motion, but interpolation drifts when objects turn, accelerate, change size quickly or are partly hidden. Good practice is to add keyframes wherever motion changes and to review interpolated frames, not just keyframes.

Persistent IDs: the rules that matter most

  • One object keeps one ID for as long as it is in the sequence.
  • Decide what happens when an object leaves the frame and comes back: same ID or a new one. Most projects keep the ID if the object is clearly the same.
  • Decide how to handle groups, such as a crowd that splits, and objects that merge, such as a person getting into a car.

Occlusion

When an object is hidden, there are two common approaches: keep the track running with an “occluded” flag and an estimated box, or end the track and resume it with the same ID when the object reappears. Either can be right; what matters is that everyone does the same thing. Occlusion level as an attribute, such as none, partial or heavy, helps models and makes the data easier to filter.

Temporal events and actions

Many video projects also label events: a lane change, a pedestrian starting to cross, a hand grasping an object. Events need start and end frames with an agreed tolerance. Our egocentric video guide explains action boundaries in detail.

QC checks for tracking

  1. ID switches: one object changing ID, or two objects swapping IDs after crossing.
  2. Fragmentation: one object split into several short tracks.
  3. Drift: boxes sliding off objects between keyframes.
  4. Missed frames: gaps where the object is visible but unlabeled.
  5. Attribute consistency: class and attributes stable along the track.

Reviewers should play sequences back at speed as well as stepping frame by frame, because ID switches and drift are much easier to see in motion.

See our video annotation and LiDAR tracking services, or request a pilot on a few of your sequences.

Related

Frequently asked questions

What is an ID switch?

An error where the same object gets a different ID partway through a sequence, or two objects swap IDs. It breaks the track and confuses tracking models.

Is interpolation accurate enough?

For smooth, predictable motion, yes, if interpolated frames are reviewed. For turns, sudden speed changes or occlusion, add more keyframes.

Should occluded objects be labeled?

Usually yes, with an occlusion flag, so the track continues and models learn that hidden objects still exist.

Send a sample. Judge the labels.

Share a representative sample and your guidelines. We label a pilot set, you measure it against agreed criteria, then decide.