Class Face

    • Method Detail

      • faceId

        public final String faceId()

        Unique identifier that Amazon Rekognition assigns to the face.

        Returns:
        Unique identifier that Amazon Rekognition assigns to the face.
      • boundingBox

        public final BoundingBox boundingBox()

        Bounding box of the face.

        Returns:
        Bounding box of the face.
      • imageId

        public final String imageId()

        Unique identifier that Amazon Rekognition assigns to the input image.

        Returns:
        Unique identifier that Amazon Rekognition assigns to the input image.
      • externalImageId

        public final String externalImageId()

        Identifier that you assign to all the faces in the input image.

        Returns:
        Identifier that you assign to all the faces in the input image.
      • confidence

        public final Float confidence()

        Confidence level that the bounding box contains a face (and not a different object such as a tree).

        Returns:
        Confidence level that the bounding box contains a face (and not a different object such as a tree).
      • indexFacesModelVersion

        public final String indexFacesModelVersion()

        The version of the face detect and storage model that was used when indexing the face vector.

        Returns:
        The version of the face detect and storage model that was used when indexing the face vector.
      • userId

        public final String userId()

        Unique identifier assigned to the user.

        Returns:
        Unique identifier assigned to the user.
      • serializableBuilderClass

        public static Class<? extends Face.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)