Filters repeated objects based on the area size.
1 | void NmsSortByArea(std::vector<DetectBox>& detBoxes, const float iouThresh, const IOUMethod method = UNION); |
1 | void NmsSortByArea(std::vector<ObjectInfo>& detBoxes, const float iouThresh, const IOUMethod method = UNION); |
Parameter |
Input/Output |
Description |
|---|---|---|
detBoxes |
Input/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:
|