.. index:: 
  !PortraitProcessor.noFlashReflectionThreshold Property

.. _id3_face_portrait_processor_no_flash_reflection_threshold_class_member:

===============================================================================
PortraitProcessor.noFlashReflectionThreshold Property
===============================================================================

Module: :ref:`PortraitProcessor<id3_face_portrait_processor_class>`

Type: int

Definition
----------

Flash reflexion detection threshold.

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

.. hint:: Default value is 70.


.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code:: Python

      no_flash_reflection_threshold: int


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Dart
    :sync: Dart

    .. code:: Dart

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


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: C#
    :sync: C#

    .. code:: C#

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


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Java
    :sync: Java

    .. code:: Java

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


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Swift
    :sync: Swift

    .. code:: Swift

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


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: C
    :sync: C

    .. code:: C

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

    **Returns**
   
      .. line-block::

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

