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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

Bounding box of the face.

Returns:



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

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

#confidenceFloat

Confidence level that the selected bounding box contains a face.

Returns:

  • (Float)


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

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