API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type UnindexedFace struct { FaceDetail *FaceDetail `type:"structure"` Reasons []*string `type:"list"` }

A face that IndexFaces detected, but didn't index. Use the Reasons response attribute to determine why a face wasn't indexed.


Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter.

  • GetCelebrityRecognition

  • GetPersonTracking

  • GetFaceSearch

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.


Type: []*string

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.



func (s UnindexedFace) GoString() string

GoString returns the string representation


func (s *UnindexedFace) SetFaceDetail(v *FaceDetail) *UnindexedFace

SetFaceDetail sets the FaceDetail field's value.


func (s *UnindexedFace) SetReasons(v []*string) *UnindexedFace

SetReasons sets the Reasons field's value.


func (s UnindexedFace) String() string

String returns the string representation

On this page: