File size: 5,840 Bytes
2c7aa39
 
 
 
 
 
 
 
 
b80438f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c7aa39
b80438f
 
 
2c7aa39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b80438f
 
 
2c7aa39
 
 
 
 
b80438f
2c7aa39
b80438f
2c7aa39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b80438f
 
 
 
 
 
 
 
 
 
 
 
2c7aa39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b80438f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
pretty_name: "DanceTrack"
license: cc-by-4.0
task_categories:
- object-detection
tags:
- tracking
- multi-object-tracking
- trackbench
dataset_info:
- config_name: preview
  features:
  - name: image
    dtype: image
  - name: sequence
    dtype: string
  - name: frame
    dtype: int32
  - name: timestamp
    dtype: float64
  - name: track_ids
    sequence: int32
  - name: boxes
    sequence:
      sequence: float64
  - name: ignore
    sequence: bool
configs:
- config_name: preview
  data_files: preview/preview.parquet
  default: true
- config_name: boxes
  data_files: annotations/boxes.parquet
- config_name: sequences
  data_files: sequences.parquet
- config_name: splits
  data_files: splits.parquet
---

# DanceTrack

Group dance videos where people look alike and move in non linear ways, 100 videos.

This repository is a repackaging of the original dataset in the TrackBench layout. The annotations are unchanged in value. Only the container changed, from text files to Parquet.

## Source and licence

- Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- Licence stated at: https://github.com/DanceTrack/DanceTrack
- Note: Annotations are CC BY 4.0. The README says the dataset is for non commercial research and the videos are from the internet. Mirrored by project decision of 2026-11-28 because the authors publish the full set on the Hub tagged CC BY 4.0.
- Website: https://dancetrack.github.io/
- Github: https://github.com/DanceTrack/DanceTrack
- Paper: https://arxiv.org/abs/2111.14690
- Dataset: https://huggingface.co/datasets/noahcao/dancetrack
- Arxiv: https://arxiv.org/abs/2111.14690
- Hub: https://huggingface.co/datasets/noahcao/dancetrack

Please cite the original paper and follow the original licence. All credit for the data belongs to its authors.

## Contents

| File | Content |
| --- | --- |
| `sequences.parquet` | One row per sequence: frame rate, length, resolution, source split |
| `splits.parquet` | Splits as frame ranges over whole sequences |
| `annotations/boxes.parquet` | Ground truth boxes with track ids, frames 0 based |
| `frames/<sequence>.tar` | Original image bytes, one uncompressed tar per sequence |
| `frames/index_<source>.parquet` | Byte offset and size of every frame inside the tar files |
| `preview/preview.parquet` | About one frame per second for browsing. Original image bytes, unmodified, with the boxes of that frame as columns |

## Counts

| Item | Count |
| --- | --- |
| sequences | 100 |
| sequences with gt | 65 |
| frames | 105,855 |
| boxes | 574,078 |
| boxes not ignored | 574,078 |
| tracks | 692 |
| splits | train, val |

## Units and conventions

- Frames are numbered from 0. The first image of a sequence is frame 0.
- Time is in seconds from the start of the sequence: timestamp = frame / fps.
- Boxes are x, y, w, h in pixels of the original image. x and y are the top left corner, the origin is the top left of the image, x grows to the right and y grows down.
- Box values are stored exactly as the source gives them. They can be fractional and can reach outside the image.
- Track ids are unique inside one sequence, not across sequences.

### Columns of `annotations/boxes.parquet`

| Column | Unit | Meaning |
| --- | --- | --- |
| `sequence` | name | Sequence the box belongs to |
| `frame` | frame index, from 0 | Frame the box is in |
| `timestamp` | seconds | Time of the frame from the start of the sequence, frame / fps |
| `track_id` | id | Identity of the object, unique inside the sequence |
| `x` | pixels | Left edge of the box |
| `y` | pixels | Top edge of the box |
| `w` | pixels | Width of the box |
| `h` | pixels | Height of the box |
| `state` | one of visible, occluded, out_of_view, absent, unknown | Whether the object can be seen in this frame |
| `visibility` | ratio, 0 to 1 | Visible fraction of the object as given by the source. Empty if the source has none |
| `class_name` | name | Class as named by the source |
| `category` | name | Coarse class: person, vehicle, ball, animal, other |
| `ignore` | true or false | True for rows the benchmark does not score. See the note below |
| `source_conf` | source value | The confidence or consider flag column of the source file, unchanged |
| `source_class` | source value | The class id column of the source file, unchanged |

About `ignore`. Rows with ignore = true are in the source ground truth but are not targets. In MOTChallenge sets they are boxes the source flags as not to be considered, and boxes of other classes such as static people, people on vehicles, cars, occluding objects and reflections. They are kept because the official evaluation needs them: a prediction that lands on one of them is removed and not counted as a false positive. For counting or training on targets, filter them out. For evaluation, keep them.

### Columns of `preview/preview.parquet`

| Column | Unit | Meaning |
| --- | --- | --- |
| `image` | image | The original frame file, unmodified |
| `sequence` | name | Sequence name |
| `frame` | frame index, from 0 | Frame number |
| `timestamp` | seconds | Time from the start of the sequence |
| `track_ids` | list of ids | Track id of each box, in the same order as boxes |
| `boxes` | list of [x, y, w, h] in pixels | Top left corner, width and height of each box |
| `ignore` | list of true or false | Per box: true if the benchmark does not score it |

## Things to know about this dataset

- Test ground truth is on a server.

## Task

Multi-object tracking. Track every object of the target categories through a video and keep one identity per object. The tracker gets no initial boxes. It works from its own or from supplied detections.

## Usage

```python
import trackbench as tb

ds = tb.load("dancetrack")
ds.boxes.collect()
```

Built 2026-11-29 with adapter `motchallenge`, format version 2.