# Frame Interpolation

When annotating videos, Hub automatically linearly interpolates the position of certain labeling tools such that, instead of having to tweak the position of each label every frame, Hub can take on most of the work when performing object tracking workflows on videos.

Frame interpolation is available for all video file types.

## How to Use Frame Interpolation

In a video asset, once you have created an object, move forward some frames, then edit the label to its new position on the video. Ango Hub will automatically interpolate the position of the object in the frames where the label was not manually placed.

{% hint style="info" %}
Interpolation is currently only available for the Bounding Box, Polygon, Segmentation, and Point labeling tools.
{% endhint %}

<div data-full-width="true"><figure><img src="/files/6HoAbcsbai52fLkSAoYA" alt=""><figcaption></figcaption></figure></div>

## Keyframes

Whenever you create or edit an object, you are creating a keyframe for that object.

For example, if I create a new bounding box on frame 1, I will have created a keyframe for it on frame 1. Keyframes are marked with white diamonds on the video timeline:

<figure><img src="/files/dkThMedff36t4kEDCFKW" alt=""><figcaption></figcaption></figure>

If I navigated to frame 20 and edited the position of the bounding box, I will have created a new keyframe for it:

<figure><img src="/files/gtWVN0vUomNSrF4lPR1Q" alt=""><figcaption></figcaption></figure>

The position of the bounding box will be interpolated between frames 1 and 20. You can add, remove, and edit keyframes using the video labeling editor interface.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imerit.net/core-concepts/frame-interpolation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
