Class CompareFacesMatch
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.CompareFacesMatch
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
@Generated("software.amazon.awssdk:codegen") public final class CompareFacesMatch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
Provides information about a face in a target image that matches the source image face analyzed by
CompareFaces. TheFaceproperty contains the bounding box of the face in the target image. TheSimilarityproperty is the confidence that the source image face matches the face in the bounding box.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompareFacesMatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompareFacesMatch.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ComparedFaceface()Provides face metadata (bounding box and confidence that the bounding box actually contains a face).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CompareFacesMatch.Builder>serializableBuilderClass()Floatsimilarity()Level of confidence that the faces match.CompareFacesMatch.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
similarity
public final Float similarity()
Level of confidence that the faces match.
- Returns:
- Level of confidence that the faces match.
-
face
public final ComparedFace face()
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
- Returns:
- Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
-
toBuilder
public CompareFacesMatch.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
-
builder
public static CompareFacesMatch.Builder builder()
-
serializableBuilderClass
public static Class<? extends CompareFacesMatch.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
-
-