tools/create_data.py
将解析出来的标记保存到txt文件中,保存格式为
Type truncated occlude alpha(写死) box[0, 1, 2, 3] height width
Car 0 0 -10 465.45 629.27 563.18 699.66 1.58 1.81
length x y z rotation_y
3.96 -10.47 1.32 49.81 1.49
{
"file_name": "training/image_0/0068022.jpg",
"image_id": 68022,
"area": 6518.877271339186,
"category_name": "Car",
"category_id": 2,
"bbox": [ 2维 bbox
468.53241232718676,
634.9196325892913,
96.39917317334539,
67.62378822084827
],
"iscrowd": 0,
"bbox_cam3d": [ 7维 3d标注[loc_3d, dim, rot],
-10.470000267028809, loc_3d:[x, y, z length height width rotation_y]
0.5299999713897705,
49.810001373291016,
3.9600000381469727,
1.5800000429153442,
1.809999942779541,
1.4900000095367432
],
"velo_cam3d": -1,
"center2d": [
518.71240234375, x
667.7994995117188, y
49.810001373291016 depth
],
"attribute_name": -1,
"attribute_id": -1,
"segmentation": [],
"id": 22446
}