Making binary mask images from JSON annotation
-
Updated
Jan 2, 2021 - Python
Making binary mask images from JSON annotation
A utility script to convert Run-Length-Encoded Binary Masks from Darwin 2.0 JSON to PNG.
A script for obtaining a binary mask as png from label_studio json format
This is a made easy code for starters who want to use point prompt for recently released ground breaking foundational model Segment anything (SAM) by Meta AI. This code is to make easy to jump in a project where you can select point then apply to a directory and then evaluate on binary ground truth mask. You will also get binary mask from the code.
Add a description, image, and links to the binary-mask topic page so that developers can more easily learn about it.
To associate your repository with the binary-mask topic, visit your repo's landing page and select "manage topics."