PortraitProcessor.makeupThreshold Property

Module: PortraitProcessor

Type: int

Definition

Make-up detection threshold.

If the detection score is above this value, the persone is definitely wearing make-up.

Hint

Default value 50.

makeup_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get makeupThreshold => getMakeupThreshold();
set makeupThreshold(int value) => setMakeupThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int makeupThreshold
{
    get => GetmakeupThreshold();
    set => SetmakeupThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMakeupThreshold() throws FaceException
public void setMakeupThreshold(int makeupThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMakeupThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * makeupThreshold)
int id3FacePortraitProcessor_SetMakeupThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int makeupThreshold)

Returns

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