| Algorithm 1 The polygon-based PA-NMS algorithm |
|
Input: B is the list of initial polygon boxes S is the list containing corresponding detection scores D is the list of corresponding detection densities is the initial threshold while : m argmax(S) = max F.append(M) B.remove(M) for p in B: if polygon_IoU remove(p) remove(s) return |