pycococreator icon indicating copy to clipboard operation
pycococreator copied to clipboard

Panoptic Polygons Overlapping

Open rlangefe opened this issue 3 years ago • 2 comments

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?

rlangefe avatar Jan 16 '21 14:01 rlangefe

@waspinator any ideas?

davodogster avatar Aug 19 '21 10:08 davodogster

Here's what we ended up doing.

  1. 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.
  2. 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.

rlangefe avatar Aug 19 '21 12:08 rlangefe