Class: Aws::Rekognition::Types::ComparedFace

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

Bounding box of the face.

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceFloat

Level of confidence that what the bounding box contains is a face.

Returns:

  • (Float)


606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#emotionsArray<Types::Emotion>

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

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#landmarksArray<Types::Landmark>

An array of facial landmarks.

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#poseTypes::Pose

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

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#qualityTypes::ImageQuality

Identifies face image brightness and sharpness.

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end

#smileTypes::Smile

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

Returns:



606
607
608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 606

class ComparedFace < Struct.new(
  :bounding_box,
  :confidence,
  :landmarks,
  :pose,
  :quality,
  :emotions,
  :smile)
  SENSITIVE = []
  include Aws::Structure
end