【问题标题】:Convert CSV to COCO JSON format for bounding box annotation将 CSV 转换为 COCO JSON 格式用于边界框标注
【发布时间】:2021-12-06 00:55:07
【问题描述】:

我有一个用于边界框注释的csv 文件格式。

格式如下:

filename    width   height  class   xmin    ymin    xmax    ymax    image_id

图像 id 是每张图像唯一的 id。有多个对象的图像。因此,多行具有相同的filenameimage_id(每个对象一行)。

我想将csv文件转换成COCOJSON文件格式。

你知道我如何转换它吗?

【问题讨论】:

    标签: python json tensorflow pytorch object-detection


    【解决方案1】:

    网上有几个例子解释。我推荐this one

    【讨论】:

      猜你喜欢
      • 2021-09-27
      • 2021-06-23
      • 2019-07-15
      • 2021-05-19
      • 2021-09-06
      • 2021-01-13
      • 2021-09-24
      • 2020-10-14
      • 2020-07-27
      相关资源
      最近更新 更多