Use keyframe interpolation
Keyframe interpolation is the process of creating intermediate values between a set of keyframes. In Segments.ai, this technique applies to object labels that change across video frames, such as a moving car's bounding box. Users set labels at key moments, and the system automatically generates intermediate values.
Keyframe interpolation is available for 2D bounding box labels, and for 3D cuboid labels.
Understanding keyframes
A keyframe marks a frame where you've explicitly defined an object's state (position, size, rotation, etc.). Between keyframes, the system automatically interpolates the object's properties.
A remove-keyframe marks a frame where you've explicitly removed an object. It indicates the object is absent from that point until the next regular keyframe.
Keyframes are managed through the timeline interface at the bottom of the editor. See Track timeline for details on the timeline interface.
Object attributes and interpolation
Object-level attribute edits create new keyframes, with values copying between them. To modify attributes on objects with existing keyframes, you must update the value across all necessary keyframes.
View the keyframes of an object
The timeline is always visible at the bottom of the editor and displays tracks across frames.
Timeline views
The timeline content changes based on your selection and the active view:
No track selected:
Use the View dropdown in the timeline header to switch between:
Tracks view: Displays all tracks with their visibility across frames
Scene attributes view: Displays scene-level attributes
Track selected:
The timeline automatically shows the selected track with its track attributes below
Keyframe indicators
Select a track in the viewer to see its keyframes in the timeline:
White diamond icons (◆): Mark frames with keyframes
White cross icons (×): Mark remove-keyframes
Colored bar: Shows where the track is visible
When you select a track in the viewer, the timeline automatically switches to show only that track with its attributes. The View dropdown is disabled while a track is selected.
Add a keyframe
Keyframes are created automatically when you modify an object:
Select a track in the viewer
Navigate to a frame using the timeline navigation buttons or arrow keys
Modify the object (move, resize, rotate, change shape)
A keyframe is automatically created at that frame
You don't need to manually create keyframes — they're added whenever you make changes to an object.
Move a keyframe
Drag keyframes to different frames in the timeline:
Select a track in the viewer (timeline switches to show that track)
In the timeline, click and hold on a keyframe diamond (◆)
Drag it to the desired frame
Release to confirm — interpolation is automatically recalculated
Keyframes can only be moved within the track's visibility range (where the colored bar appears).
Remove a keyframe
Delete a keyframe to simplify your annotation:
Select a track in the viewer
Navigate to a frame with a keyframe
Press
Backspace
The keyframe is removed and interpolation is recalculated based on the remaining keyframes.
A track must have at least one keyframe. When there exists only one keyframe, this keyframe cannot be removed.
View the deleted-keyframes of an object
Remove-keyframes appear as white cross icons (×) on blank spaces in the timeline. They indicate frames where you've explicitly removed the object.
Add a deleted-keyframe
Create a remove-keyframe to mark where an object disappears:
Select a track in the viewer
Navigate to the frame where the object should disappear
Press
Backspace
The object is removed from that frame onward until the next keyframe.
Move a deleted-keyframe
Drag remove-keyframes just like regular keyframes:
Select a track in the viewer
In the timeline, click and hold on a remove-keyframe cross (×)
Drag it to the desired frame
Release to confirm
Remove a deleted-keyframe
Delete a remove-keyframe to restore object visibility:
Select a track in the viewer
Navigate to a frame with a remove-keyframe
Press
Backspace
The object becomes visible again from that frame onward.
Label occluded objects
Two approaches exist for objects that disappear and reappear:
Adjust on reappearance: Adjust the object on its reappearance frame (creating a keyframe), then remove it where occlusion begins.
Remove and merge: Remove the object where occlusion starts, label a new object where it reappears, then merge them by matching their track IDs. See Use track IDs - Merge tracks for details.
For more information on managing tracks and navigating the timeline, see Track timeline.
Last updated
Was this helpful?