@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnindexedFace extends Object implements Serializable, Cloneable, StructuredPojo
A face that IndexFaces 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
IndexFacesdetected, 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
IndexFacesdetected, 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.
|
UnindexedFace |
withFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that
IndexFacesdetected, 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.
Reasonpublic 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.
Reasonpublic 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.
Reasonpublic 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.
Reasonpublic 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.
Reasonpublic void setFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that IndexFacesdetected, but didn't index.
faceDetail - The structure that contains attributes of a face that IndexFacesdetected, but didn't index.public FaceDetail getFaceDetail()
The structure that contains attributes of a face that IndexFacesdetected, but didn't index.
IndexFacesdetected, but didn't index.public UnindexedFace withFaceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that IndexFacesdetected, but didn't index.
faceDetail - The structure that contains attributes of a face that IndexFacesdetected, but didn't index.public String toString()
toString in class ObjectObject.toString()public UnindexedFace clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.