Hello everyone,
I am currently working on a project using Unity Perception to generate synthetic datasets for machine learning. I have successfully set up my scene and used the InstanceSegmentationLabeler
to obtain instance segmentation masks. However, I am particularly interested in obtaining polygon masks as the output for each segmented instance.
I am relatively new to Unity Perception and could use some guidance. Here is what I have done so far:
- Added the
Labeling
component to my objects and assigned labels. - Configured the
Perception Camera
with theInstanceSegmentationLabeler
. - Generated instance segmentation masks, which currently output in PNG format.
Despite this, I am unsure how to configure Unity Perception to output polygon masks instead of the default format. Could anyone provide guidance or point me to relevant documentation or examples on how to achieve polygon mask outputs for instance segmentation?
Right now my Instance Segmentation looks like this!
I hope someone can help me…!
Thank you very much!!