@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceMatch extends Object implements Serializable, Cloneable, StructuredPojo
Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.
Constructor and Description |
---|
FaceMatch() |
Modifier and Type | Method and Description |
---|---|
FaceMatch |
clone() |
boolean |
equals(Object obj) |
Face |
getFace()
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image
ID that you assigned.
|
Float |
getSimilarity()
Confidence in the match of this face with the input face.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image
ID that you assigned.
|
void |
setSimilarity(Float similarity)
Confidence in the match of this face with the input face.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FaceMatch |
withFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image
ID that you assigned.
|
FaceMatch |
withSimilarity(Float similarity)
Confidence in the match of this face with the input face.
|
public void setSimilarity(Float similarity)
Confidence in the match of this face with the input face.
similarity
- Confidence in the match of this face with the input face.public Float getSimilarity()
Confidence in the match of this face with the input face.
public FaceMatch withSimilarity(Float similarity)
Confidence in the match of this face with the input face.
similarity
- Confidence in the match of this face with the input face.public void setFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
face
- Describes the face properties such as the bounding box, face ID, image ID of the source image, and
external image ID that you assigned.public Face getFace()
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
public FaceMatch withFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
face
- Describes the face properties such as the bounding box, face ID, image ID of the source image, and
external image ID that you assigned.public String toString()
toString
in class Object
Object.toString()
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.