PortraitProcessor.noseOcclusionThreshold Property

Module: PortraitProcessor

Type: int

Definition

Nose occlusion threshold.

If the score is above this value, the nose is probably occluded.

Hint

Default value 50.

nose_occlusion_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get noseOcclusionThreshold => getNoseOcclusionThreshold();
set noseOcclusionThreshold(int value) => setNoseOcclusionThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int noseOcclusionThreshold
{
    get => GetnoseOcclusionThreshold();
    set => SetnoseOcclusionThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getNoseOcclusionThreshold() throws FaceException
public void setNoseOcclusionThreshold(int noseOcclusionThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetNoseOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * noseOcclusionThreshold)
int id3FacePortraitProcessor_SetNoseOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int noseOcclusionThreshold)

Returns

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