MOT17数据集格式

版权声明:转载请联系博主 https://blog.csdn.net/zxtalentwolf/article/details/80324760

本文引用自 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

猜你喜欢

转载自blog.csdn.net/zxtalentwolf/article/details/80324760
MOT