检测及分割常用标注格式转换

1.seg label

  • labelmeseg2coco.py: convert labelme json seg label to one coco json label
  • labelmeseg2yolo.py: convert labelme json seg label to one yolo txt label
  • png2labelmejson.py: convert png seg label to labelme json label
  • labelmeseg2mmseg.py: convert labelme json seg label to mmseg semantic segmentation label

2. det label

  • vocdet2coco.py: convert voc xml det label to one coco json label
  • yolodet2coco.py: convert yolo txt det label to one coco json label
  • xml2yolo.py: convert xml det label to yolo txt label
  • labelme2yolodet.py: convert labelme json seg label to yolo det txt label

 1.1  labelmeseg2coco.py

import json
import os

def c

你可能感兴趣的:(视觉大作战,深度学习,人工智能,YOLO)