PortraitProcessor.mouthOcclusionThreshold Property

Module: PortraitProcessor

Type: int

Definition

Mouth occlusion threshold.

If the mouth occlusion score is above this value, the mouth is probably occluded.

Hint

Default value 70.

mouth_occlusion_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get mouthOcclusionThreshold => getMouthOcclusionThreshold();
set mouthOcclusionThreshold(int value) => setMouthOcclusionThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int mouthOcclusionThreshold
{
    get => GetmouthOcclusionThreshold();
    set => SetmouthOcclusionThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMouthOcclusionThreshold() throws FaceException
public void setMouthOcclusionThreshold(int mouthOcclusionThreshold) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var mouthOcclusionThreshold: Int
    get {
        return Int(try! getMouthOcclusionThreshold())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMouthOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * mouthOcclusionThreshold)
int id3FacePortraitProcessor_SetMouthOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int mouthOcclusionThreshold)

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.