mmdetection3d-之(四)--FCOS3d中的数据流向

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
  }

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值