PortraitProcessor.enableMouthOpeningDetection Property

Module: PortraitProcessor

Type: bool

Definition

Value indicating whether mouth opening detection is enabled.

Important

This option requires the FaceAttributesClassifier2A model to be loaded.

enable_mouth_opening_detection: bool

Exceptions

An error has occurred during Face Library execution.
bool get enableMouthOpeningDetection => getEnableMouthOpeningDetection();
set enableMouthOpeningDetection(bool value) => setEnableMouthOpeningDetection(value);

Exceptions

An error has occurred during Face Library execution.
public bool enableMouthOpeningDetection
{
    get => GetenableMouthOpeningDetection();
    set => SetenableMouthOpeningDetection(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public boolean getEnableMouthOpeningDetection() throws FaceException
public void setEnableMouthOpeningDetection(boolean enableMouthOpeningDetection) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var enableMouthOpeningDetection: Bool
    get {
        return try! getEnableMouthOpeningDetection()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableMouthOpeningDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableMouthOpeningDetection)
int id3FacePortraitProcessor_SetEnableMouthOpeningDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableMouthOpeningDetection)

Returns

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