You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Rekognition::Types::ComparedSourceImageFace

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

Overview

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

Bounding box of the face.

Returns:



367
368
369
370
371
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 367

class ComparedSourceImageFace < Struct.new(
  :bounding_box,
  :confidence)
  include Aws::Structure
end

#confidenceFloat

Confidence level that the selected bounding box contains a face.

Returns:

  • (Float)


367
368
369
370
371
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 367

class ComparedSourceImageFace < Struct.new(
  :bounding_box,
  :confidence)
  include Aws::Structure
end