FaceDetector.nmsIouThreshold Property¶
Module: FaceDetector
Type: int
Definition¶
Non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range is [0;100].
Hint
Default value is 40.
Note
Setting a high threshold allows to detect more overlapping faces which can be useful in a multi-face scenario. On the contrary, in a portrait scenario, a low NMS IOU threshold should be preferred.
nms_iou_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get nmsIouThreshold => getNmsIouThreshold();
set nmsIouThreshold(int value) => setNmsIouThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int nmsIouThreshold
{
get => GetnmsIouThreshold();
set => SetnmsIouThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getNmsIouThreshold() throws FaceException
public void setNmsIouThreshold(int nmsIouThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var nmsIouThreshold: Int
get {
return Int(try! getNmsIouThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FaceDetector_GetNmsIouThreshold (ID3_FACE_DETECTOR hFaceDetector, int * nmsIouThreshold)
int id3FaceDetector_SetNmsIouThreshold (ID3_FACE_DETECTOR hFaceDetector, int nmsIouThreshold)
Returns