/mask2yolo

Primary LanguagePython

mask2yolo

This is a python script that convert mask annotations(.png) to yolo annotations(.txt)

Modify here

# Your mask image path
mask_image_dir = 'annotations/val'
# Output YOLO txt path
output_dir = 'yolo_annotations'

And run it

Happy training!!!