PortraitProcessor.noiseThreshold Property

Module: PortraitProcessor

Type: int

Definition

Threshold for confirming the presence of noise in the image.

Hint

Default value is 90.

noise_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get noiseThreshold => getNoiseThreshold();
set noiseThreshold(int value) => setNoiseThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int noiseThreshold
{
    get => GetnoiseThreshold();
    set => SetnoiseThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getNoiseThreshold() throws FaceException
public void setNoiseThreshold(int noiseThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetNoiseThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * noiseThreshold)
int id3FacePortraitProcessor_SetNoiseThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int noiseThreshold)

Returns

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