Export labels as image #1100
-
Is there any functionality to export the final image as mask image having different classes. Like we are using the labels to be exported as json file. Instead of json file, it should be exported as a single image having different labels. Kindly guide. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The script below are the workable codes to translate the json file to mask image. Wish this is helpful for you. : ) def json2seg_label(json_root_dir, image_root_dir, save_dir):
def parse_json(json_dir):
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
labelme2voc.py
saves labels as PNG file.