# setMouthOcclusionThreshold method

void setMouthOcclusionThreshold(

1. int mouthOcclusionThreshold

)

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

param mouthOcclusionThreshold Mouth occlusion threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setMouthOcclusionThreshold(int mouthOcclusionThreshold) {
      var err = faceSDK.id3FacePortraitProcessor_SetMouthOcclusionThreshold(_pHandle.value, mouthOcclusionThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }