PortraitProcessor.enableExpressionDetection Property

Module: PortraitProcessor

Type: bool

Definition

Value indicating whether expression detection is enabled.

Important

This option requires the FaceExpressionClassifier1A model to be loaded.

enable_expression_detection: bool

Exceptions

An error has occurred during Face Library execution.
bool get enableExpressionDetection => getEnableExpressionDetection();
set enableExpressionDetection(bool value) => setEnableExpressionDetection(value);

Exceptions

An error has occurred during Face Library execution.
public bool enableExpressionDetection
{
    get => GetenableExpressionDetection();
    set => SetenableExpressionDetection(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public boolean getEnableExpressionDetection() throws FaceException
public void setEnableExpressionDetection(boolean enableExpressionDetection) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableExpressionDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableExpressionDetection)
int id3FacePortraitProcessor_SetEnableExpressionDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableExpressionDetection)

Returns

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