.. index:: 
  !FaceAttributes.hat Property

.. _id3_face_face_attributes_hat_struct_member:

===============================================================================
FaceAttributes.hat Property
===============================================================================

Structure: :ref:`FaceAttributes<id3_face_face_attributes_struct>`

Definition
----------

Value, from 0 to 100, indicating whether the subject is wearing a hat or not.

.. hint:: The recommended value is less than 10.


.. tab-set::

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

    .. code:: Python

      int hat

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

    .. code:: Dart

      int hat

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

    .. code:: C#

      int Hat

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

    .. code:: Java

      int hat

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

    .. code:: Swift

      Int hat

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

    .. code:: C

      int Hat

