You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::FaceDetail

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

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 . 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 and 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#age_rangeTypes::AgeRange

The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.

Returns:

#beardTypes::Beard

Indicates whether or not the face has a beard, and the confidence level in the determination.

Returns:

  • (Types::Beard)

    Indicates whether or not the face has a beard, and the confidence level in the determination.

#bounding_boxTypes::BoundingBox

Bounding box of the face. Default attribute.

Returns:

#confidenceFloat

Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.

Returns:

  • (Float)

    Confidence level that the bounding box contains a face (and not a different object such as a tree).

#emotionsArray<Types::Emotion>

The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.

Returns:

  • (Array<Types::Emotion>)

    The emotions detected on the face, and the confidence level in the determination.

#eyeglassesTypes::Eyeglasses

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

Returns:

  • (Types::Eyeglasses)

    Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

#eyes_openTypes::EyeOpen

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

Returns:

  • (Types::EyeOpen)

    Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

#genderTypes::Gender

Gender of the face and the confidence level in the determination.

Returns:

  • (Types::Gender)

    Gender of the face and the confidence level in the determination.

#landmarksArray<Types::Landmark>

Indicates the location of landmarks on the face. Default attribute.

Returns:

  • (Array<Types::Landmark>)

    Indicates the location of landmarks on the face.

#mouth_openTypes::MouthOpen

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

Returns:

  • (Types::MouthOpen)

    Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

#mustacheTypes::Mustache

Indicates whether or not the face has a mustache, and the confidence level in the determination.

Returns:

  • (Types::Mustache)

    Indicates whether or not the face has a mustache, and the confidence level in the determination.

#poseTypes::Pose

Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.

Returns:

  • (Types::Pose)

    Indicates the pose of the face as determined by its pitch, roll, and yaw.

#qualityTypes::ImageQuality

Identifies image brightness and sharpness. Default attribute.

Returns:

#smileTypes::Smile

Indicates whether or not the face is smiling, and the confidence level in the determination.

Returns:

  • (Types::Smile)

    Indicates whether or not the face is smiling, and the confidence level in the determination.

#sunglassesTypes::Sunglasses

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

Returns:

  • (Types::Sunglasses)

    Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.