Skip to content

gyupro/LabelMeToYoloSegmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LabelMeToYoloSegmentation

Convert labelme format to yolo segmentation format

Now, you can convert back yolo segmentation format to labelme format

Usage

labelme2yolo

python labelme2yolo.py --input /path/to/input.json --output /path/to/output.txt

yolo2labelme

You need create obj.names file that defines your cls

python yolo2labelme.py --input /path/to/input.txt --image /path/to/image.jpg --output /path/to/output.json

Convert segmentation created by labelme format to Yolo Segmentation format

image

image

obj.names example

image