Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 897 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 897 Bytes

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