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

# PortraitProcessor.noFlashReflectionThreshold Property

Module: PortraitProcessor

Type: int

## Definition

Flash reflexion detection threshold.

Above this threshold, the flash reflexion is probably present on the face.

Hint

Default value is 70.

Python

    no_flash_reflection_threshold: int

Exceptions

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

Dart

    int get noFlashReflectionThreshold => getNoFlashReflectionThreshold();
    set noFlashReflectionThreshold(int value) => setNoFlashReflectionThreshold(value);

Exceptions

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

C#

    public int noFlashReflectionThreshold
    {
        get => GetnoFlashReflectionThreshold();
        set => SetnoFlashReflectionThreshold(ref value);
    }

Exceptions

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

Java

    public int getNoFlashReflectionThreshold() throws FaceException
    public void setNoFlashReflectionThreshold(int noFlashReflectionThreshold) throws FaceException

Exceptions

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

Swift

    public var noFlashReflectionThreshold: Int
        get {
            return Int(try! getNoFlashReflectionThreshold())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetNoFlashReflectionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * noFlashReflectionThreshold)
    int id3FacePortraitProcessor_SetNoFlashReflectionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int noFlashReflectionThreshold)

Returns

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