NmsSort
Function Usage
Filters repeated objects based on the confidence score.
Prototype
void NmsSort(std::vector<DetectBox>& detBoxes, float iouThresh, IOUMethod method = UNION);
void NmsSort(std::vector<ObjectInfo>& detBoxes, float iouThresh, IOUMethod method = UNION);
Parameter Description
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