mot20 / README.md
trackbench's picture
Update TrackBench tables
49a2479 verified
|
Raw History Blame Contribute Delete
5.84 kB
metadata
pretty_name: MOT20
license: cc-by-nc-sa-3.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
  - config_name: detections_public
    data_files: detections/public.parquet

MOT20

Pedestrian tracking in 8 very crowded sequences from static 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

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
detections/public.parquet Public detections (public)
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 8
sequences with gt 4
frames 13,410
boxes 1,336,920
boxes not ignored 1,134,614
tracks 2,332
splits test, train, train_half, val_half

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

  • Per box visibility ratio. No explicit absence label.
  • Test ground truth is withheld and the evaluation server is offline since April 2026.

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

import trackbench as tb

ds = tb.load("mot20")
ds.boxes.collect()

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