1. 程式人生 > >MOT17資料集格式

MOT17資料集格式

本文引用自 link

目錄

Datafromat

gt.txt檔案內容如圖所示

1,1,912,484,97,109,0,7,1
2,1,912,484,97,109,0,7,1
3,1,912,484,97,109,0,7,1
4,1,912,484,97,109,0,7,1
5,1,912,484,97,109,0,7,1
6,1,912,484,97,109,0,7,1
7,1,912,484,97,109,0,7,1
8,1,912,484,97,109,0,7,1
9,1,912,484,97,109,0,7,1
10,1,912,484,97,109,0,7,1

所有的圖片均被轉換為JPEG格式,儲存成6為數字檔名(如000001.jpg)。檢測結果和標記檔案用CSV格式儲存,每一行表是一個物體,擁有9個值如表5所示。


TABLE 5: Data format for the input and output files, both for detection (DET) and annotation/ground truth (GT)files.

Position Name Description
1 Frame number Indicate at which frame the object is present
2 Identity number Each pedestrian trajectory is identified by a unique ID (−1 for detections)
3 Bounding box left Coordinate of the top-left corner of the pedestrian bounding box
4 Bounding box top Coordinate of the top-left corner of the pedestrian bounding box
5 Bounding box width Width in pixels of the pedestrian bounding box
6 Bounding box height Height in pixels of the pedestrian bounding box
7 Confidence score DET: Indicates how confident the detector is that this instance is a pedestrian.GT: It acts as a flag whether the entry is to be considered (1) or ignored (0).
8 Class GT: Indicates the type of object annotated
9 Visibility GT: Visibility ratio, a number between 0 and 1 that says how much of that object is visible. Can be due

第一個數字表示物體出現在哪一幀中,第二個數字表示其出現在哪一個軌跡中,值為-1時表是不屬於任何一個軌跡。後面的四個數表是bounding box的位置,每一個物體只屬於一個軌跡。位置標記以左上角為標記點,4個數字分別表示左上角的位置,高度以及寬度。然後後面是一個單獨的數字,表示一個概率分數,最後兩個數字一個代表分類,一個代表可見程度.
這是其中的一個用例:

1, -1, 794.2, 47.5, 71.2, 174.8, 67.5, -1, -1
1, -1, 164.1, 19.6, 66.5, 163.2, 29.4, -1, -1
1, -1, 875.4, 39.9, 25.3, 145.0, 19.6, -1, -1
2, -1, 781.7, 25.1, 69.2, 170.2, 58.1, -1, -1

TABLE6 Label classes present in the annotation files and
ID appearing in the 7th column of the files as described
in Tab. 5.

Label ID
Pedestrian 1
Person on vehicle 2
Car 3
Bicycle 4
Motorbike 5
Non motorized vehicle 6
Static person 7
Distractor 8
Occluder 9
Occluder on the ground 10
Occluder full 11
Reflection 12