eu.id3.face

## Class GeometricAttributes

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

-     public class GeometricAttributes
      extends java.lang.Object

  Represents the geometric attributes of a portrait image.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `headImageHeightRatio` Value indicating if the distance between the base of the chin and the crown is less than 80% of the total height of the image.
    `int` | `headImageWidthRatio` Value indicating if the image width is conform to the (image width / head width) ratio of 7:5.
    `int` | `horizontalPosition` Value indicating if the head is correctly centered horizontally.
    `int` | `resolution` Value indicating if the image resolution is sufficient.
    `int` | `verticalPosition` Value indicating if the distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GeometricAttributes()` Initializes an empty instance of the GeometricAttributes class.
    `GeometricAttributes(GeometricAttributes geometricAttributes)` Initializes a new instance of the GeometricAttributes class by copying another GeometricAttributes.
    `GeometricAttributes(int headImageHeightRatio, int headImageWidthRatio, int horizontalPosition, int resolution, int verticalPosition)` Initializes a new instance of the GeometricAttributes 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

    - #### headImageHeightRatio

          public int headImageHeightRatio

      Value indicating if the distance between the base of the chin and the crown is less than 80% of the total height of the image. Hint: For ICAO compliance, the value must be in the range 60 to 90.

    - #### headImageWidthRatio

          public int headImageWidthRatio

      Value indicating if the image width is conform to the (image width / head width) ratio of 7:5. The head width is defined as the distance between the left and right ears. Hint: For ICAO compliance, the value must be in the range 50 to 75.

    - #### horizontalPosition

          public int horizontalPosition

      Value indicating if the head is correctly centered horizontally. Hint: For ICAO compliance, the value must be in the range 45 to 55.

    - #### resolution

          public int resolution

      Value indicating if the image resolution is sufficient. Hint: The recommended value is over 90.

    - #### verticalPosition

          public int verticalPosition

      Value indicating if the distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image. Hint: For ICAO compliance, the value must be in the range 30 to 50.

  - ### Constructor Detail

    - #### GeometricAttributes

          public GeometricAttributes()

      Initializes an empty instance of the GeometricAttributes class.

    - #### GeometricAttributes

          public GeometricAttributes(int headImageHeightRatio,
                                     int headImageWidthRatio,
                                     int horizontalPosition,
                                     int resolution,
                                     int verticalPosition)

      Initializes a new instance of the GeometricAttributes class from its members.
      Parameters:
        `headImageHeightRatio` - Value indicating if the distance between the base of the chin and the crown is less than 80% of the total height of the image.
        `headImageWidthRatio` - Value indicating if the image width is conform to the (image width / head width) ratio of 7:5.
        `horizontalPosition` - Value indicating if the head is correctly centered horizontally.
        `resolution` - Value indicating if the image resolution is sufficient.
        `verticalPosition` - Value indicating if the distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image.

    - #### GeometricAttributes

          public GeometricAttributes(GeometricAttributes geometricAttributes)

      Initializes a new instance of the GeometricAttributes class by copying another GeometricAttributes.
      Parameters:
        `geometricAttributes` - The GeometricAttributes 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