NmsSort
Function Usage
Filters repeated objects based on the confidence score.
Prototype
1 | void NmsSort(std::vector<DetectBox>& detBoxes, float iouThresh, IOUMethod method = UNION); |
1 | void NmsSort(std::vector<ObjectInfo>& detBoxes, float iouThresh, IOUMethod method = UNION); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
detBoxes |
Output |
DetectBox (central point)/ObjectInfo (corner point) to be filtered. The filtered object information is output. |
iouThresh |
Input |
Filtering threshold. |
method |
Input |
IoU is calculated as follows:
|
Parent topic: Nms