trackbench commited on
Commit
e602eb8
·
verified ·
1 Parent(s): ba7eb88

Update TrackBench tables

Browse files
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "TeamTrack"
3
+ license: mit
4
+ task_categories:
5
+ - object-detection
6
+ tags:
7
+ - tracking
8
+ - multi-object-tracking
9
+ - trackbench
10
+ configs:
11
+ - config_name: boxes
12
+ data_files: annotations/boxes.parquet
13
+ default: true
14
+ - config_name: sequences
15
+ data_files: sequences.parquet
16
+ - config_name: splits
17
+ data_files: splits.parquet
18
+ - config_name: videos
19
+ data_files: videos/index.parquet
20
+ ---
21
+
22
+ # TeamTrack
23
+
24
+ Full pitch tracking of all players in soccer, basketball and handball from fisheye and drone views.
25
+
26
+ 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.
27
+
28
+ ## Source and licence
29
+
30
+ - Licence: [MIT](https://opensource.org/license/mit)
31
+ - Licence stated at: https://www.kaggle.com/datasets/atomscott/teamtrack
32
+ - Note: MIT is set by the author on their own Kaggle release. The GitHub README states no dataset licence.
33
+ - Website: https://atomscott.github.io/TeamTrack/
34
+ - Github: https://github.com/AtomScott/TeamTrack
35
+ - Paper: https://arxiv.org/abs/2404.13868
36
+ - Dataset: https://www.kaggle.com/datasets/atomscott/teamtrack
37
+ - Arxiv: https://arxiv.org/abs/2404.13868
38
+
39
+ Please cite the original paper and follow the original licence. All credit for the data belongs to its authors.
40
+
41
+ ## Contents
42
+
43
+ | File | Content |
44
+ | --- | --- |
45
+ | `sequences.parquet` | One row per sequence: frame rate, length, resolution, source split |
46
+ | `splits.parquet` | Splits as frame ranges over whole sequences |
47
+ | `annotations/boxes.parquet` | Ground truth boxes with track ids, frames 0 based |
48
+ | `videos/<sequence>.mp4` | The original video of each sequence, byte for byte as published. Frame N of the video is frame N of the tables |
49
+ | `videos/index.parquet` | One row per video: file, decoded frame count, frame rate, size, codec, SHA-256 |
50
+
51
+ ## Counts
52
+
53
+ | Item | Count |
54
+ | --- | --- |
55
+ | sequences | 287 |
56
+ | sequences with gt | 287 |
57
+ | frames | 243,909 |
58
+ | boxes | 4,140,052 |
59
+ | boxes not ignored | 4,140,052 |
60
+ | tracks | 4,938 |
61
+ | splits | test, train, val |
62
+
63
+ ## Units and conventions
64
+
65
+ - Frames are numbered from 0. The first image of a sequence is frame 0.
66
+ - Time is in seconds from the start of the sequence: timestamp = frame / fps.
67
+ - 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.
68
+ - Box values are stored exactly as the source gives them. They can be fractional and can reach outside the image.
69
+ - Track ids are unique inside one sequence, not across sequences.
70
+
71
+ ### Columns of `annotations/boxes.parquet`
72
+
73
+ | Column | Unit | Meaning |
74
+ | --- | --- | --- |
75
+ | `sequence` | name | Sequence the box belongs to |
76
+ | `frame` | frame index, from 0 | Frame the box is in |
77
+ | `timestamp` | seconds | Time of the frame from the start of the sequence, frame / fps |
78
+ | `track_id` | id | Identity of the object, unique inside the sequence |
79
+ | `x` | pixels | Left edge of the box |
80
+ | `y` | pixels | Top edge of the box |
81
+ | `w` | pixels | Width of the box |
82
+ | `h` | pixels | Height of the box |
83
+ | `state` | one of visible, occluded, out_of_view, absent, unknown | Whether the object can be seen in this frame |
84
+ | `visibility` | ratio, 0 to 1 | Visible fraction of the object as given by the source. Empty if the source has none |
85
+ | `class_name` | name | Class as named by the source |
86
+ | `category` | name | Coarse class: person, vehicle, ball, animal, other |
87
+ | `ignore` | true or false | True for rows the benchmark does not score. See the note below |
88
+ | `source_conf` | source value | The confidence or consider flag column of the source file, unchanged |
89
+ | `source_class` | source value | The class id column of the source file, unchanged |
90
+
91
+ 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.
92
+
93
+ ## Videos
94
+
95
+ This dataset is published as video files and not as images. 287 of its 287 sequences have their video here.
96
+ The files are not re-encoded, so the pixels are the ones every other user of the dataset decodes.
97
+ A frame is obtained by decoding, which gives a picture but no encoded image bytes.
98
+
99
+ ```python
100
+ import trackbench as tb
101
+
102
+ ds = tb.load("teamtrack")
103
+ name = ds.video_index["sequence"][0]
104
+ image = ds.read_image(name, 0) # downloads that one video on first use, then decodes
105
+ for frame in ds[name].frames():
106
+ frame.image, frame.ground_truth.xyxy
107
+ ```
108
+
109
+ ## Things to know about this dataset
110
+
111
+ - SeqLength raised to cover annotated frames in 6 sequences: D_20220220_1_0570_0600 (900 declared, 903 annotated), D_20220220_1_0600_0630 (900 declared, 904 annotated), D_20220220_1_0630_0660 (900 declared, 906 annotated), D_20220220_1_0660_0690 (900 declared, 903 annotated), D_20220220_1_0690_0720 (900 declared, 903 annotated), D_20220220_1_0720_0750 (900 declared, 904 annotated).
112
+
113
+ ## Task
114
+
115
+ 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.
116
+
117
+ ## Usage
118
+
119
+ ```python
120
+ import trackbench as tb
121
+
122
+ ds = tb.load("teamtrack")
123
+ ds.boxes.collect()
124
+ ```
125
+
126
+ Built 2026-11-28 with adapter `motchallenge`, format version 2.
annotations/boxes.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c5590c1b37c2e36f580dd693f4e131d0e38e358c673fb14e1a252e7dfd7d885
3
+ size 12005170
build.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "teamtrack",
3
+ "format_version": 2,
4
+ "built_at": "2026-11-28T21:17:55+00:00",
5
+ "adapter": "motchallenge",
6
+ "adapter_options": {
7
+ "class_map": "single_person",
8
+ "eval_classes": [
9
+ 1
10
+ ],
11
+ "distractor_classes": []
12
+ },
13
+ "license": "MIT",
14
+ "sources": [
15
+ {
16
+ "source": "kaggle",
17
+ "url": "https://www.kaggle.com/api/v1/datasets/download/atomscott/teamtrack",
18
+ "from": "cache"
19
+ }
20
+ ],
21
+ "rows": {
22
+ "sequences.parquet": 287,
23
+ "splits.parquet": 287,
24
+ "annotations/boxes.parquet": 4140052
25
+ },
26
+ "counts": {
27
+ "sequences": 287,
28
+ "sequences_with_gt": 287,
29
+ "frames": 243909,
30
+ "boxes": 4140052,
31
+ "boxes_not_ignored": 4140052,
32
+ "tracks": 4938,
33
+ "detectors": [],
34
+ "splits": [
35
+ "test",
36
+ "train",
37
+ "val"
38
+ ]
39
+ },
40
+ "seconds": {
41
+ "fetch": 0.001,
42
+ "parse": 3.328,
43
+ "write": 0.054
44
+ },
45
+ "bytes_on_disk": 12014343,
46
+ "notes": [
47
+ "seqLength raised to cover annotated frames in 6 sequences: D_20220220_1_0570_0600 (900 declared, 903 annotated), D_20220220_1_0600_0630 (900 declared, 904 annotated), D_20220220_1_0630_0660 (900 declared, 906 annotated), D_20220220_1_0660_0690 (900 declared, 903 annotated), D_20220220_1_0690_0720 (900 declared, 903 annotated), D_20220220_1_0720_0750 (900 declared, 904 annotated)"
48
+ ]
49
+ }
sequences.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad61581d955fde9bba0a0965b7d78e065d904f5a6208bcaab3a241b0690561e
3
+ size 5213
splits.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563423a6f3a1b91d508750dbfd83b9da29a9d418a1acf67e8c5bb09003fa4835
3
+ size 3140
videos/index.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df8c4fcbc2121877632cd88fae4068d2c79860747d1d4cc7faedc34a82323949
3
+ size 17307