arnoldfychen / coco2yolo

Converts MS COCO to YOLO,given data foramt to COCO and DOTA to COCO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coco2yolo

1. coco2yolo

Converts MSCOCO dataset to Yolo format

将MS COCO数据集转换为Yolo格式

2. datset2coco

Converts the data in the given format to MSCOCO instance dataset

将给定格式的数据转换为coco instance数据集

[
    {
        file_name: 图片名称
        width:  宽   
        height:  高
        annos: [
                    {
                        segmentation: 边界
                        area:  面积
                        bbox:   水平矩形框
                        iscrowd:    是否多个目标
                        category_id:    类别id
                    },
                ]
    },
]

3. dota2coco

Converts DOTA dataset to MSCOCO format

将DOTA数据集转换为MSCOCO格式

DOTA的标注格式为

x1 y1 x2 y2 x3 y3 x4 y4 category_id

About

Converts MS COCO to YOLO,given data foramt to COCO and DOTA to COCO

License:Apache License 2.0


Languages

Language:Python 100.0%