AWSRekognitionComparedFace

Objective-C

@interface AWSRekognitionComparedFace

Swift

class AWSRekognitionComparedFace

Provides face metadata for target image faces that are analyzed by CompareFaces and RecognizeCelebrities.

  • Bounding box of the face.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionBoundingBox *_Nullable boundingBox;

    Swift

    var boundingBox: AWSRekognitionBoundingBox? { get set }
  • Level of confidence that what the bounding box contains is a face.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable confidence;

    Swift

    var confidence: NSNumber? { get set }
  • The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include “Happy”, “Sad”, “Angry”, “Confused”, “Disgusted”, “Surprised”, “Calm”, “Unknown”, and “Fear”.

    Declaration

    Objective-C

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

    Swift

    var emotions: [AWSRekognitionEmotion]? { get set }
  • An array of facial landmarks.

    Declaration

    Objective-C

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

    Swift

    var landmarks: [AWSRekognitionLandmark]? { get set }
  • Indicates the pose of the face as determined by its pitch, roll, and yaw.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionPose *_Nullable pose;

    Swift

    var pose: AWSRekognitionPose? { get set }
  • Identifies face image brightness and sharpness.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionImageQuality *_Nullable quality;

    Swift

    var quality: AWSRekognitionImageQuality? { get set }
  • Indicates whether or not the face is smiling, and the confidence level in the determination.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionSmile *_Nullable smile;

    Swift

    var smile: AWSRekognitionSmile? { get set }