setTrackerNmsIouThreshold method

void setTrackerNmsIouThreshold(
  1. int trackerNmsIouThreshold
)

Sets the non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range (0;100). Hint: Default value is 0. 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.

param trackerNmsIouThreshold Non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range (0;100). throws FaceException An error has occurred during Face Library execution.

Implementation

void setTrackerNmsIouThreshold(int trackerNmsIouThreshold) {
  var err = faceSDK.id3FacePortraitProcessor_SetTrackerNmsIouThreshold(_pHandle.value, trackerNmsIouThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}