Video annotation

Video annotation is labeling objects, events and attributes across the frames of a video, so that each object keeps one identity from the frame it enters to the frame it leaves. In Supervisely, an annotator draws an object on one frame and a tracker such as XMem or CoTracker follows it.

3D and video

The unit is the object, not the frame

A folder of extracted frames can be labeled like images, but then the same car is a new, unrelated object in every frame. Tracking models, action recognition and counting all need to know that the box in frame 40 and the box in frame 41 are one car. Video annotation keeps that identity and stores each object once, with its shape per frame.

Ways to label a video

  • Keyframes and interpolation: draw an object on a few frames and fill the frames between them.
  • AI tracking: draw it once and let a tracker carry the box forward, then correct the frames where it drifts.
  • Mask propagation: segment the object on one frame and a video segmentation model follows the mask.
  • Point and skeleton tracking: points, lines, polygons or keypoint graphs follow the object frame by frame.
  • Segments in time: a tag over a range of frames marks an event, such as a lane change or a fall.

What goes wrong

  • Identity switches where two objects cross; a reviewer has to watch the track, not single frames.
  • Shapes left on frames where the object is fully hidden, which teach a model to see through walls.
  • Choosing the frame rate after labeling: subsampling later can drop the frames where an event happened.

Video annotation in Supervisely

In the video labeling tool an annotator draws an object on one frame and a tracker follows it. Masks propagate with XMem or Segment Anything, while CoTracker moves points, lines, polygons and keypoint graphs. Videos of one scene from several cameras play in sync, and the GPS route and speed of a moving camera sit beside the player. Reviewers check trajectories and consensus rather than every frame. More in the video annotation update and attributed segments on multi-camera videos.

Frequently asked questions.

How do you annotate a video?

Label objects on a keyframe, then carry them through the following frames with interpolation or a tracking model, and correct the frames where they drift. Events can be marked as tags on time ranges.

Is video annotation harder than image annotation?

It takes more care: objects must keep the same identity across frames and labels must stay consistent over time. Tracking models such as SAM 2.1 or CoTracker do most of the frame-by-frame work.