getNmsIouThreshold method
Gets the non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range is (0;100). Hint: Default value is 40. 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.
return Non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range is (0;100). throws FaceException An error has occurred during Face Library execution.
Implementation
int getNmsIouThreshold() {
Pointer<Int> pNmsIouThreshold = calloc();
try {
var err = faceSDK.id3FaceTracker_GetNmsIouThreshold(_pHandle.value, pNmsIouThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vNmsIouThreshold = pNmsIouThreshold.value;
return vNmsIouThreshold;
} finally {
calloc.free(pNmsIouThreshold);
}
}