Class FaceOccluded

  • All Implemented Interfaces:
    Serializable, SdkPojo, ToCopyableBuilder<FaceOccluded.Builder,​FaceOccluded>

    @Generated("software.amazon.awssdk:codegen")
    public final class FaceOccluded
    extends Object
    implements SdkPojo, Serializable, ToCopyableBuilder<FaceOccluded.Builder,​FaceOccluded>

    FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. FaceOccluded should return "false" with a high confidence score if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.

    You can use FaceOccluded to determine if an obstruction on a face negatively impacts using the image for face matching.

    See Also:
    Serialized Form
    • Method Detail

      • value

        public final Boolean value()

        True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.

        Returns:
        True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
      • confidence

        public final Float confidence()

        The confidence that the service has detected the presence of a face occlusion.

        Returns:
        The confidence that the service has detected the presence of a face occlusion.
      • 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)