PortraitProcessor.enableMakeupDetection Property

Module: PortraitProcessor

Type: bool

Definition

Value indicating whether makeup detection is enabled.

Important

This option requires the FaceAttributesClassifier2A model to be loaded.

enable_makeup_detection: bool

Exceptions

An error has occurred during Face Library execution.
bool get enableMakeupDetection => getEnableMakeupDetection();
set enableMakeupDetection(bool value) => setEnableMakeupDetection(value);

Exceptions

An error has occurred during Face Library execution.
public bool enableMakeupDetection
{
    get => GetenableMakeupDetection();
    set => SetenableMakeupDetection(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public boolean getEnableMakeupDetection() throws FaceException
public void setEnableMakeupDetection(boolean enableMakeupDetection) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableMakeupDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableMakeupDetection)
int id3FacePortraitProcessor_SetEnableMakeupDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableMakeupDetection)

Returns

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