<!-- # hard line break macro for HTML -->

<a id="dataset-zoo-quickstart-trajectories"></a>

# Quickstart Trajectories

A small video dataset for trajectory annotation.

The dataset consists of the same 10 video segments as
[quickstart-video](quickstart_video.md#dataset-zoo-quickstart-video), but the per-frame
object detections are linked across frames into object trajectories via the
[`Instance`](../../api/fiftyone.core.labels.md#fiftyone.core.labels.Instance) values in their `instance`
attributes (the legacy `index` attribute has been removed).

#### NOTE
Before annotating trajectories, you must compute video metadata and sample
the videos into frames:

```python
dataset.compute_metadata()
dataset.to_frames(sample_frames=True)
```

**Details**

- Dataset name: `quickstart-trajectories`
- Dataset size: 35.20 MB
- Dataset license: CC-BY-4.0
- Tags: `video, quickstart`
- Supported splits: `N/A`
- ZooDataset class:
  [`QuickstartTrajectoriesDataset`](../../api/fiftyone.zoo.datasets.base.md#fiftyone.zoo.datasets.base.QuickstartTrajectoriesDataset)

**Example usage**

Python

CLI

```python
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart-trajectories")

session = fo.launch_app(dataset)
```

```shell
fiftyone zoo datasets load quickstart-trajectories

fiftyone app launch quickstart-trajectories
```

#### NOTE
In order to work with video datasets, you’ll need to have
[ffmpeg installed](../../installation/troubleshooting.md#troubleshooting-video).

![quickstart-trajectories](images/dataset_zoo/quickstart-trajectories.png)
