@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompareFacesMatch extends Object implements Serializable, Cloneable, StructuredPojo
For the provided the bounding box, confidence level that the bounding box actually contains a face, and the similarity between the face in the bounding box and the face in the source image.
| 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) |
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 ObjectObject.toString()public CompareFacesMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.