pycococreator
pycococreator copied to clipboard
Panoptic Polygons Overlapping
I've been trying to build polygons for a model that requires me to convert them to panoptic format. I've been running into issues because I can't make everything a crowd, but if I don't, I get polygons that overlap. I should also note that I have double and triple checked (going as far as to subtract all masks from each other). Is there any way around this?
@waspinator any ideas?
Here's what we ended up doing.
- We made extra sure polygons didn't overlap. We ran a script ahead of time to try to take care of this. We created a class hierarchy and at each pixel, chose the class with a segmentation that was the highest in that hierarchy.
- We tuned the threshold parameter in drawing the segmentations so it was very low. By doing that, it made the polygon a lot more exact and avoided a lot of the issues we were running into.