How Does Polygon Annotator Work if it Cuts through a detected image?

  • Clash Of Clans Base Defense Detection/Helper:
  • MacOS:
  • Project Universe Link or Workspace/Project ID:
    I recently finished this project but I’m super curious about how the polygon annotation tool works for the supervision library.

For example, if a line cuts through one detection (archer tower for example), separating it between two sections, which half does it go to?
Does it go to the one where the bounding box is bigger?

Thanks!

In Supervision’s PolygonZone, the triggering_anchors attribute decides where the triggering point on a detection is.

The default is the bottom center point. If that point is within a zone, it triggers.

Hope this helps

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.