http://www.emgu.com
Performs non maximum suppression given boxes and corresponding scores.
Namespace:
Emgu.CV.Dnn
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void NMSBoxes(
VectorOfRect bboxes,
VectorOfFloat scores,
float scoreThreshold,
float nmsThreshold,
VectorOfInt indices,
float eta = 1f,
int topK = 0
)
Public Shared Sub NMSBoxes (
bboxes As VectorOfRect,
scores As VectorOfFloat,
scoreThreshold As Single,
nmsThreshold As Single,
indices As VectorOfInt,
Optional eta As Single = 1F,
Optional topK As Integer = 0
)
public:
static void NMSBoxes(
VectorOfRect^ bboxes,
VectorOfFloat^ scores,
float scoreThreshold,
float nmsThreshold,
VectorOfInt^ indices,
float eta = 1f,
int topK = 0
)
static member NMSBoxes :
bboxes : VectorOfRect *
scores : VectorOfFloat *
scoreThreshold : float32 *
nmsThreshold : float32 *
indices : VectorOfInt *
?eta : float32 *
?topK : int
(* Defaults:
let _eta = defaultArg eta 1f
let _topK = defaultArg topK 0
*)
-> unit
Parameters
- bboxes
- Type: Emgu.CV.UtilVectorOfRect
A set of bounding boxes to apply NMS. - scores
- Type: Emgu.CV.UtilVectorOfFloat
A set of corresponding confidences. - scoreThreshold
- Type: SystemSingle
A threshold used to filter boxes by score. - nmsThreshold
- Type: SystemSingle
A threshold used in non maximum suppression. - indices
- Type: Emgu.CV.UtilVectorOfInt
The kept indices of bboxes after NMS. - eta (Optional)
- Type: SystemSingle
A coefficient in adaptive threshold - topK (Optional)
- Type: SystemInt32
If >0, keep at most top_k picked indices.
See Also