# setNmsIouThreshold method

void setNmsIouThreshold(

1. int nmsIouThreshold

)

Sets the 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.

param nmsIouThreshold 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

    void setNmsIouThreshold(int nmsIouThreshold) {
      var err = faceSDK.id3FaceDetector_SetNmsIouThreshold(_pHandle.value, nmsIouThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }