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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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:



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 475

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