FaceDetail

public struct FaceDetail : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.

    Declaration

    Swift

    public let ageRange: AgeRange?
  • Indicates whether or not the face has a beard, and the confidence level in the determination.

    Declaration

    Swift

    public let beard: Beard?
  • Bounding box of the face. Default attribute.

    Declaration

    Swift

    public let boundingBox: BoundingBox?
  • Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.

    Declaration

    Swift

    public let confidence: Float?
  • 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.

    Declaration

    Swift

    public let emotions: [Emotion]?
  • Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

    Declaration

    Swift

    public let eyeglasses: Eyeglasses?
  • Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

    Declaration

    Swift

    public let eyesOpen: EyeOpen?
  • The predicted gender of a detected face.

    Declaration

    Swift

    public let gender: Gender?
  • Indicates the location of landmarks on the face. Default attribute.

    Declaration

    Swift

    public let landmarks: [Landmark]?
  • Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

    Declaration

    Swift

    public let mouthOpen: MouthOpen?
  • Indicates whether or not the face has a mustache, and the confidence level in the determination.

    Declaration

    Swift

    public let mustache: Mustache?
  • Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.

    Declaration

    Swift

    public let pose: Pose?
  • Identifies image brightness and sharpness. Default attribute.

    Declaration

    Swift

    public let quality: ImageQuality?
  • Indicates whether or not the face is smiling, and the confidence level in the determination.

    Declaration

    Swift

    public let smile: Smile?
  • Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

    Declaration

    Swift

    public let sunglasses: Sunglasses?
  • Undocumented

    Declaration

    Swift

    public init(ageRange: AgeRange? = nil, beard: Beard? = nil, boundingBox: BoundingBox? = nil, confidence: Float? = nil, emotions: [Emotion]? = nil, eyeglasses: Eyeglasses? = nil, eyesOpen: EyeOpen? = nil, gender: Gender? = nil, landmarks: [Landmark]? = nil, mouthOpen: MouthOpen? = nil, mustache: Mustache? = nil, pose: Pose? = nil, quality: ImageQuality? = nil, smile: Smile? = nil, sunglasses: Sunglasses? = nil)