File size: 4,621 Bytes
b2f7c3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
pretty_name: "3D-ZeF"
license: mit
task_categories:
- object-detection
tags:
- tracking
- multi-object-tracking
- trackbench
configs:
- config_name: boxes
  data_files: annotations/boxes.parquet
  default: true
- config_name: sequences
  data_files: sequences.parquet
- config_name: splits
  data_files: splits.parquet
- config_name: positions_3d
  data_files: annotations/positions_3d.parquet
---

# 3D-ZeF

Zebrafish tracking in 3D from two synchronised cameras.

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: [MIT](https://opensource.org/license/mit)
- Licence stated at: https://huggingface.co/datasets/vapaau/3D-ZeF
- Note: MIT on the official Hub card, CC BY-NC-SA 3.0 on MOTChallenge. Apply the stricter one when mirroring.
- Website: https://vap.aau.dk/3d-zef/
- Paper: https://arxiv.org/abs/2006.08466
- Dataset: https://motchallenge.net/data/3D-ZeF20/
- Arxiv: https://arxiv.org/abs/2006.08466
- Hub: https://huggingface.co/datasets/vapaau/3D-ZeF

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 |
| `annotations/positions_3d.parquet` | 3D position of each object per frame |

## Counts

| Item | Count |
| --- | --- |
| sequences | 16 |
| sequences with gt | 16 |
| frames | 28,796 |
| boxes | 86,452 |
| boxes not ignored | 86,452 |
| tracks | 64 |
| splits | train |

## 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.

## Things to know about this dataset

- Each recording is split into a top view and a front view sequence.
- 3D metric in the original protocol. All eight recordings are listed as train. The official train, validation and test assignment is not set yet.

## 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("zef3d")
ds.boxes.collect()
```

Built 2026-11-28 with adapter `zef3d`, format version 2.