Dataset Ninja LogoDataset Ninja:

KITTI MOTS Dataset

191033457
Tagself-driving
Taskinstance segmentation
Release YearMade in 2019
LicenseCC BY-NC-SA 3.0 US
Download15 GB

Introduction #

Paul Voigtlaender, Michael Krause, Aljosa Osepet al.

The authors create dense pixel-level annotations for KITTI MOTS: Multi Object Tracking and Segmentation Dataset using a semi-automatic annotation procedure. To facilitate training and evaluation, they divided the 21 training sequences of the KITTI tracking dataset into a training and validation set, respectively. Their split balances the number of occurrences of each class: car and pedestrian roughly equally across training and validation sets.

Note, similar KITTI MOTS: Multi Object Tracking and Segmentation Dataset dataset is also available on the DatasetNinja.com:

Motivation

In recent years, significant strides have been made in the computer vision field, particularly with the advent of deep learning techniques. These advancements have led to remarkable performance improvements in tasks such as object detection and image segmentation. However, tracking multiple objects remains a challenging endeavor, especially as bounding box-level tracking performance appears to have reached a plateau in recent evaluations. To achieve further enhancements, transitioning to pixel-level tracking is deemed necessary. To address this challenge, the authors advocate for a holistic approach that considers detection, segmentation, and tracking as interconnected problems. Currently, datasets suitable for training and evaluating instance segmentation models typically lack annotations on video data or object identities across different frames. Conversely, common datasets for multiobject tracking primarily offer bounding box annotations, which may prove inadequate in scenarios involving partial occlusion, where bounding boxes may contain more information from surrounding objects than the target itself.

image

Segmentations vs. Bounding Boxes. When objects pass each other, large parts of an object’s bounding box may belong to another instance, while per-pixel segmentation masks locate objects precisely. The shown annotations are crops from the KITTI MOTS dataset.

In such scenarios, employing pixel-wise segmentation for object delineation offers a more faithful depiction of the scene, potentially enhancing subsequent processing stages. Unlike bounding boxes, segmentation masks provide a clearly defined ground truth, whereas bounding boxes may vary widely in their fit to an object. Moreover, tracks with overlapping bounding boxes introduce ambiguities during evaluation, often necessitating heuristic matching methods for resolution. In contrast, tracking results derived from segmentation-based approaches are inherently non-overlapping, facilitating a direct comparison with ground truth annotations. The authors have put forth a proposition to expand the conventional multi-object tracking task to include instance segmentation tracking. As far as current knowledge goes, there are no existing datasets tailored specifically for this task. While numerous methods for bounding box tracking are documented in the literature, achieving success in MOTS necessitates the integration of temporal and mask cues.

Dataset description

Creating pixel masks for every object in a video frame is an immensely time-consuming task, leading to limited availability of such data. Currently, there are no existing datasets tailored specifically for the MOTS (Multi-Object Tracking and Segmentation) task. However, some datasets do provide annotations at the bounding box level for MOT, lacking segmentation masks necessary for MOTS. To address this gap, the authors enhanced two MOT datasets by adding segmentation masks to the bounding boxes. In total, they annotated 65,213 segmentation masks, rendering the datasets suitable for training and evaluating modern learning-based techniques. To manage the annotation workload effectively, the authors devised a semi-automatic method to extend bounding box annotations with segmentation masks. This method involves an iterative process of generating and refining masks until achieving pixel-level accuracy for all annotation masks.

To convert bounding boxes into segmentation masks, the authors employed a fully convolutional refinement network utilizing DeepLabv3+. This network operates by taking a crop of the input image specified by the bounding box, alongside a small context region, and an additional input channel encoding the bounding box as a mask. Leveraging these inputs, the refinement network generates a segmentation mask corresponding to the provided box. Initially, the refinement network undergoes pre-training on COCO and Mapillary datasets, followed by further training on manually crafted segmentation masks specific to the target dataset. Initially, the authors annotate two segmentation masks per object in the dataset, delineated as polygons. The refinement network undergoes initial training using all manually created masks, followed by individual fine-tuning for each object. These fine-tuned iterations of the network are then applied to generate segmentation masks for all bounding boxes associated with the corresponding object in the dataset. This approach allows the network to adapt to the specific appearance and context of each object. Although the use of two manually annotated segmentation masks per object for fine-tuning generally yields satisfactory masks for the object’s appearances in other frames, minor errors may persist. Therefore, the authors manually correct some of the imperfectly generated masks and iterate the training procedure accordingly. Additionally, their annotators rectify imprecise or erroneous bounding box annotations present in the original MOT datasets. The authors performed the aforementioned annotation procedure on the bounding box level annotations from the KITTI tracking dataset.

image

Sample Images of the authors Annotations. KITTI MOTS (top) and MOTSChallenge (bottom).

To streamline the training and assessment process, they partitioned the 21 training sequences from the KITTI tracking dataset into distinct training and validation sets. This division ensures a balanced distribution of each class – cars and pedestrians – across both sets. The considerable amount of manual annotations needed underscores the limited efficacy of existing single-image instance segmentation methods for this task. This limitation serves as a primary impetus behind the authors’ creation of the MOTS dataset, which enables the integration of temporal logic into instance segmentation models.

KITTI and MOTS MOTSChallenge
train val train
Sequences 12 9 4
Frames 5,027 2,981 2,862
Tracks Pedestrian 99 68 228
Masks Pedestrian Total 8,073 3,347 26,894
Manually annotated 1,312 647 3,930
Tracks Car 431 151 -
Masks Car Total 18,831 18,06851 -
Manually annotated 1,509 593 -

Statistics of the Introduced KITTI MOTS and MOTSChallenge Datasets.

ExpandExpand
Dataset LinkHomepageDataset LinkResearch Paper

Summary #

KITTI MOTS: Multi Object Tracking and Segmentation Dataset is a dataset for instance segmentation, semantic segmentation, object detection, and identification tasks. It is used in the automotive industry.

The dataset consists of 19103 images with 139994 labeled objects belonging to 3 different classes including ignore region, car, and pedestrian.

Images in the KITTI MOTS dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. There are 11176 (59% of the total) unlabeled images (i.e. without annotations). There are 3 splits in the dataset: test (11095 images), train (5027 images), and val (2981 images). Additionally, every image marked with its sequence tag. Every label contains information about its instance id and object id. Explore it in Supervisely labelling tool. The dataset was released in 2019 by the RWTH Aachen University, Germany, Max Plank Institute for Intelligent Systems, Germany, and University of Tubingen, Germany.

Dataset Poster

Explore #

KITTI MOTS dataset has 19103 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.

OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
OpenSample annotation mask from KITTI MOTSSample image from KITTI MOTS
👀
Have a look at 19103 images
View images along with annotations and tags, search and filter by various parameters

Class balance #

There are 3 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.

Search
Rows 1-3 of 3
Class
ã…¤
Images
ã…¤
Objects
ã…¤
Count on image
average
Area on image
average
ignore regionâž”
any
7743
53280
6.88
5.52%
carâž”
any
6458
58824
9.11
7.1%
pedestrianâž”
any
2532
27890
11.02
4.52%

Co-occurrence matrix #

Co-occurrence matrix is an extremely valuable tool that shows you the images for every pair of classes: how many images have objects of both classes at the same time. If you click any cell, you will see those images. We added the tooltip with an explanation for every cell for your convenience, just hover the mouse over a cell to preview the description.

Images #

Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.

Object distribution #

Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.

Class sizes #

The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.

Search
Rows 1-3 of 3
Class
Object count
Avg area
Max area
Min area
Min height
Min height
Max height
Max height
Avg height
Avg height
Min width
Min width
Max width
Max width
car
any
58824
1.44%
22.08%
0.01%
3px
0.8%
309px
82.4%
54px
14.37%
3px
0.24%
547px
44.04%
ignore region
any
53280
1.47%
56.47%
0.01%
3px
0.8%
375px
100%
51px
13.54%
2px
0.16%
1199px
96.85%
pedestrian
any
27890
0.65%
8.63%
0.01%
4px
1.07%
270px
72.97%
84px
22.46%
3px
0.24%
178px
14.38%

Spatial Heatmap #

The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.

Spatial Heatmap

Objects #

Table contains all 100468 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.

Search
Rows 1-10 of 100468
Object ID
ã…¤
Class
ã…¤
Image name
click row to open
Image size
height x width
Height
ã…¤
Height
ã…¤
Width
ã…¤
Width
ã…¤
Area
ã…¤
1âž”
pedestrian
any
0019_000135.png
374 x 1238
29px
7.75%
17px
1.37%
0.05%
2âž”
pedestrian
any
0019_000135.png
374 x 1238
29px
7.75%
17px
1.37%
0.11%
3âž”
pedestrian
any
0019_000135.png
374 x 1238
139px
37.17%
51px
4.12%
0.66%
4âž”
pedestrian
any
0019_000135.png
374 x 1238
139px
37.17%
51px
4.12%
1.53%
5âž”
pedestrian
any
0019_000135.png
374 x 1238
77px
20.59%
31px
2.5%
0.29%
6âž”
pedestrian
any
0019_000135.png
374 x 1238
77px
20.59%
31px
2.5%
0.52%
7âž”
pedestrian
any
0019_000135.png
374 x 1238
32px
8.56%
23px
1.86%
0.07%
8âž”
pedestrian
any
0019_000135.png
374 x 1238
32px
8.56%
23px
1.86%
0.16%
9âž”
pedestrian
any
0019_000135.png
374 x 1238
35px
9.36%
17px
1.37%
0.06%
10âž”
pedestrian
any
0019_000135.png
374 x 1238
35px
9.36%
17px
1.37%
0.13%

License #

KITTI MOTS: Multi Object Tracking and Segmentation Dataset is under CC BY-NC-SA 3.0 US license.

Source

Citation #

If you make use of the KITTI MOTS data, please cite the following reference:

@inproceedings{Voigtlaender19CVPR_MOTS,
  author = {Paul Voigtlaender and Michael Krause and Aljo\u{s}a O\u{s}ep and Jonathon Luiten
           and Berin Balachandar Gnana Sekar and Andreas Geiger and Bastian Leibe},
  title = {{MOTS}: Multi-Object Tracking and Segmentation},
  booktitle = {CVPR},
  year = {2019},
}

Source

If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:

@misc{ visualization-tools-for-kitti-mots-dataset,
  title = { Visualization Tools for KITTI MOTS Dataset },
  type = { Computer Vision Tools },
  author = { Dataset Ninja },
  howpublished = { \url{ https://datasetninja.com/kitti-mots } },
  url = { https://datasetninja.com/kitti-mots },
  journal = { Dataset Ninja },
  publisher = { Dataset Ninja },
  year = { 2024 },
  month = { jul },
  note = { visited on 2024-07-27 },
}

Download #

Dataset KITTI MOTS can be downloaded in Supervisely format:

As an alternative, it can be downloaded with dataset-tools package:

pip install --upgrade dataset-tools

… using following python code:

import dataset_tools as dtools

dtools.download(dataset='KITTI MOTS', dst_dir='~/dataset-ninja/')

Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.

The data in original format can be downloaded here:

. . .

Disclaimer #

Our gal from the legal dep told us we need to post this:

Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.

You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.