Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# 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.

Python

    nose_occlusion_threshold: int

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    int get noseOcclusionThreshold => getNoseOcclusionThreshold();
    set noseOcclusionThreshold(int value) => setNoseOcclusionThreshold(value);

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public int noseOcclusionThreshold
    {
        get => GetnoseOcclusionThreshold();
        set => SetnoseOcclusionThreshold(ref value);
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public int getNoseOcclusionThreshold() throws FaceException
    public void setNoseOcclusionThreshold(int noseOcclusionThreshold) throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var noseOcclusionThreshold: Int
        get {
            return Int(try! getNoseOcclusionThreshold())
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    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.