根据置信度大小过滤重复目标。
1 | void NmsSort(std::vector<DetectBox>& detBoxes, float iouThresh, IOUMethod method = UNION); |
1 | void NmsSort(std::vector<ObjectInfo>& detBoxes, float iouThresh, IOUMethod method = UNION); |
参数名 |
输入/输出 |
说明 |
---|---|---|
detBoxes |
输出 |
待过滤DetectBox(中心点) / ObjectInfo(边角点)。输出过滤后的目标信息。 |
iouThresh |
输入 |
过滤阀值。 |
method |
输入 |
IOU计算方式:
|