This command converts a Labelme JSON file to mask files.
As the argument, you can pass either JSON files or directories of JSON files.
labelmetk json-to-masks [OPTIONS] FILES_OR_DIRS...
If you only have a single JSON file, pass it to the command:
labelmetk json-to-masks small_dataset/2011_000003.json
to get mask images:
<aside>
<img src="/icons/light-bulb_gray.svg" alt="/icons/light-bulb_gray.svg" width="40px" /> It converts each “group” represented by group_id
(in this case 0
):
</aside>