@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompareFacesMatch extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
CompareFacesMatch() |
Modifier and Type | Method and Description |
---|---|
CompareFacesMatch |
clone() |
boolean |
equals(Object obj) |
ComparedFace |
getFace()
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
Float |
getSimilarity()
Level of confidence that the faces match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFace(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
void |
setSimilarity(Float similarity)
Level of confidence that the faces match.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CompareFacesMatch |
withFace(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
CompareFacesMatch |
withSimilarity(Float similarity)
Level of confidence that the faces match.
|
public void setSimilarity(Float similarity)
Level of confidence that the faces match.
similarity
- Level of confidence that the faces match.public Float getSimilarity()
Level of confidence that the faces match.
public CompareFacesMatch withSimilarity(Float similarity)
Level of confidence that the faces match.
similarity
- Level of confidence that the faces match.public void setFace(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
face
- Provides face metadata (bounding box and confidence that the bounding box actually contains a face).public ComparedFace getFace()
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
public CompareFacesMatch withFace(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
face
- Provides face metadata (bounding box and confidence that the bounding box actually contains a face).public String toString()
toString
in class Object
Object.toString()
public CompareFacesMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.