PortraitProcessor.resolutionThreshold Property

Module: PortraitProcessor

Type: int

Definition

Threshold indicating whether the image resolution is sufficient.

Hint

Default value is 90.

resolution_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get resolutionThreshold => getResolutionThreshold();
set resolutionThreshold(int value) => setResolutionThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int resolutionThreshold
{
    get => GetresolutionThreshold();
    set => SetresolutionThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getResolutionThreshold() throws FaceException
public void setResolutionThreshold(int resolutionThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetResolutionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * resolutionThreshold)
int id3FacePortraitProcessor_SetResolutionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int resolutionThreshold)

Returns

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