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:



632
633
634
635
636
637
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 632

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)


632
633
634
635
636
637
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 632

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