@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnindexedFace extends Object implements Serializable, Cloneable, StructuredPojo
A face that detected, but didn't index. Use the Reasons
response attribute to determine why a face
wasn't indexed.
Constructor and Description |
---|
UnindexedFace() |
Modifier and Type | Method and Description |
---|---|
UnindexedFace |
clone() |
boolean |
equals(Object obj) |
FaceDetail |
getFaceDetail()
The structure that contains attributes of a face that
IndexFaces detected, but didn't index. |
List<String> |
getReasons()
An array of reasons that specify why a face wasn't indexed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that
IndexFaces detected, but didn't index. |
void |
setReasons(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UnindexedFace |
withFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that
IndexFaces detected, but didn't index. |
UnindexedFace |
withReasons(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
|
UnindexedFace |
withReasons(Reason... reasons)
An array of reasons that specify why a face wasn't indexed.
|
UnindexedFace |
withReasons(String... reasons)
An array of reasons that specify why a face wasn't indexed.
|
public List<String> getReasons()
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
Reason
public void setReasons(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
Reason
public UnindexedFace withReasons(String... reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection)
or withReasons(java.util.Collection)
if you want to override
the existing values.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
Reason
public UnindexedFace withReasons(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
Reason
public UnindexedFace withReasons(Reason... reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
Reason
public void setFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that IndexFaces
detected, but didn't index.
faceDetail
- The structure that contains attributes of a face that IndexFaces
detected, but didn't index.public FaceDetail getFaceDetail()
The structure that contains attributes of a face that IndexFaces
detected, but didn't index.
IndexFaces
detected, but didn't index.public UnindexedFace withFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that IndexFaces
detected, but didn't index.
faceDetail
- The structure that contains attributes of a face that IndexFaces
detected, but didn't index.public String toString()
toString
in class Object
Object.toString()
public UnindexedFace 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.