Class FaceOccluded
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.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>
FaceOccludedshould 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.FaceOccludedshould 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
FaceOccludedto determine if an obstruction on a face negatively impacts using the image for face matching.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFaceOccluded.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FaceOccluded.Builderbuilder()Floatconfidence()The confidence that the service has detected the presence of a face occlusion.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FaceOccluded.Builder>serializableBuilderClass()FaceOccluded.BuildertoBuilder()StringtoString()Returns a string representation of this object.Booleanvalue()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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
toBuilder
public FaceOccluded.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FaceOccluded.Builder,FaceOccluded>
-
builder
public static FaceOccluded.Builder builder()
-
serializableBuilderClass
public static Class<? extends FaceOccluded.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-