Skip to main content
. 2020 Apr 10;20(7):2145. doi: 10.3390/s20072145
Algorithm 1. The pseudo code of NMS method
Input:B={b1,,bN}, C={c1,,cN}, λnms
    B is the list of initial detection boxes
    C contains corresponding detection confidences
    λnms is the NMS threshold
Output: List of final detection boxes O
1: O{}
2: while  B do
3:  margmaxC
4:  OObm;BBbm;CCcm
5:  for  biB do
6:   if IoU(bm,bi)λnms  then
7:    BBbi;CCci
8:   end if
9:  end for
10: end while