# setNoseOcclusionThreshold method

void setNoseOcclusionThreshold(

1. int noseOcclusionThreshold

)

Sets the nose occlusion threshold. If the score is above this value, the nose is probably occluded. Hint: Default value 50.

param noseOcclusionThreshold Nose occlusion threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setNoseOcclusionThreshold(int noseOcclusionThreshold) {
      var err = faceSDK.id3FacePortraitProcessor_SetNoseOcclusionThreshold(_pHandle.value, noseOcclusionThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }