eu.id3.face

## Class FaceAttributes

- java.lang.Object
- - eu.id3.face.FaceAttributes

-     public class FaceAttributes
      extends java.lang.Object

  Represents the face attributes.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `glasses` Value, from 0 to 100, indicating whether the subject is wearing glasses or not.
    `int` | `hat` Value, from 0 to 100, indicating whether the subject is wearing a hat or not.
    `int` | `makeUp` Value, from 0 to 100, indicating whether the subject is wearing makeup or not.
    `int` | `male` Value, from 0 to 100, indicating the estimated gender of the subject.
    `int` | `mouthOpen` Value, from 0 to 100, indicating whether the subject's mouth is open or not.
    `int` | `smile` Value, from 0 to 100, indicating whether the subject is smiling or not.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FaceAttributes()` Initializes an empty instance of the FaceAttributes class.
    `FaceAttributes(FaceAttributes faceAttributes)` Initializes a new instance of the FaceAttributes class by copying another FaceAttributes.
    `FaceAttributes(int glasses, int hat, int makeUp, int male, int mouthOpen, int smile)` Initializes a new instance of the FaceAttributes class from its members.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### glasses

          public int glasses

      Value, from 0 to 100, indicating whether the subject is wearing glasses or not. Hint: The recommended threshold is 10.

    - #### hat

          public int hat

      Value, from 0 to 100, indicating whether the subject is wearing a hat or not. Hint: The recommended value is less than 10.

    - #### makeUp

          public int makeUp

      Value, from 0 to 100, indicating whether the subject is wearing makeup or not. Hint: The recommended value is less than 50.

    - #### male

          public int male

      Value, from 0 to 100, indicating the estimated gender of the subject. A value near 0 suggests that the subject is estimated to be female. A value near 100 suggests that the subject is estimated to be male.

    - #### mouthOpen

          public int mouthOpen

      Value, from 0 to 100, indicating whether the subject's mouth is open or not. Hint: The recommended value is less than 35.

    - #### smile

          public int smile

      Value, from 0 to 100, indicating whether the subject is smiling or not. Hint: The recommended value is less than 75.

  - ### Constructor Detail

    - #### FaceAttributes

          public FaceAttributes()

      Initializes an empty instance of the FaceAttributes class.

    - #### FaceAttributes

          public FaceAttributes(int glasses,
                                int hat,
                                int makeUp,
                                int male,
                                int mouthOpen,
                                int smile)

      Initializes a new instance of the FaceAttributes class from its members.
      Parameters:
        `glasses` - Value, from 0 to 100, indicating whether the subject is wearing glasses or not.
        `hat` - Value, from 0 to 100, indicating whether the subject is wearing a hat or not.
        `makeUp` - Value, from 0 to 100, indicating whether the subject is wearing makeup or not.
        `male` - Value, from 0 to 100, indicating the estimated gender of the subject.
        `mouthOpen` - Value, from 0 to 100, indicating whether the subject's mouth is open or not.
        `smile` - Value, from 0 to 100, indicating whether the subject is smiling or not.

    - #### FaceAttributes

          public FaceAttributes(FaceAttributes faceAttributes)

      Initializes a new instance of the FaceAttributes class by copying another FaceAttributes.
      Parameters:
        `faceAttributes` - The FaceAttributes to copy.

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

Copyright © id3 Technologies. All rights reserved. eu.id3.face