@Generated(value="software.amazon.awssdk:codegen") public class CompareFacesMatch extends Object implements StructuredPojo, ToCopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
Provides information about a face in a target image that matches the source image face analysed by
CompareFaces
. The Face
property contains the bounding box of the face in the target image.
The Similarity
property is the confidence that the source image face matches the face in the bounding
box.
Modifier and Type | Class and Description |
---|---|
static interface |
CompareFacesMatch.Builder |
Modifier and Type | Method and Description |
---|---|
static CompareFacesMatch.Builder |
builder() |
boolean |
equals(Object obj) |
ComparedFace |
face()
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CompareFacesMatch.Builder> |
serializableBuilderClass() |
Float |
similarity()
Level of confidence that the faces match.
|
CompareFacesMatch.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Float similarity()
Level of confidence that the faces match.
public ComparedFace face()
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
public CompareFacesMatch.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
public static CompareFacesMatch.Builder builder()
public static Class<? extends CompareFacesMatch.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.