AWSRekognitionFaceDetail Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSRekognitionModel.h
AWSRekognitionModel.m

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.

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.

  ageRange

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

@property (nonatomic, strong) AWSRekognitionAgeRange *ageRange

Declared In

AWSRekognitionModel.h

  beard

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

@property (nonatomic, strong) AWSRekognitionBeard *beard

Declared In

AWSRekognitionModel.h

  boundingBox

Bounding box of the face. Default attribute.

@property (nonatomic, strong) AWSRekognitionBoundingBox *boundingBox

Declared In

AWSRekognitionModel.h

  confidence

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

@property (nonatomic, strong) NSNumber *confidence

Declared In

AWSRekognitionModel.h

  emotions

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

@property (nonatomic, strong) NSArray<AWSRekognitionEmotion*> *emotions

Declared In

AWSRekognitionModel.h

  eyeglasses

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

@property (nonatomic, strong) AWSRekognitionEyeglasses *eyeglasses

Declared In

AWSRekognitionModel.h

  eyesOpen

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

@property (nonatomic, strong) AWSRekognitionEyeOpen *eyesOpen

Declared In

AWSRekognitionModel.h

  gender

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

@property (nonatomic, strong) AWSRekognitionGender *gender

Declared In

AWSRekognitionModel.h

  landmarks

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

@property (nonatomic, strong) NSArray<AWSRekognitionLandmark*> *landmarks

Declared In

AWSRekognitionModel.h

  mouthOpen

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

@property (nonatomic, strong) AWSRekognitionMouthOpen *mouthOpen

Declared In

AWSRekognitionModel.h

  mustache

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

@property (nonatomic, strong) AWSRekognitionMustache *mustache

Declared In

AWSRekognitionModel.h

  pose

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

@property (nonatomic, strong) AWSRekognitionPose *pose

Declared In

AWSRekognitionModel.h

  quality

Identifies image brightness and sharpness. Default attribute.

@property (nonatomic, strong) AWSRekognitionImageQuality *quality

Declared In

AWSRekognitionModel.h

  smile

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

@property (nonatomic, strong) AWSRekognitionSmile *smile

Declared In

AWSRekognitionModel.h

  sunglasses

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

@property (nonatomic, strong) AWSRekognitionSunglasses *sunglasses

Declared In

AWSRekognitionModel.h