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

Class: Aws::Rekognition::Types::Face

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

Overview

Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

Bounding box of the face.

Returns:



659
660
661
662
663
664
665
666
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 659

class Face < Struct.new(
  :face_id,
  :bounding_box,
  :image_id,
  :external_image_id,
  :confidence)
  include Aws::Structure
end

#confidenceFloat

Confidence level that the bounding box contains a face (and not a different object such as a tree).

Returns:

  • (Float)


659
660
661
662
663
664
665
666
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 659

class Face < Struct.new(
  :face_id,
  :bounding_box,
  :image_id,
  :external_image_id,
  :confidence)
  include Aws::Structure
end

#external_image_idString

Identifier that you assign to all the faces in the input image.

Returns:

  • (String)


659
660
661
662
663
664
665
666
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 659

class Face < Struct.new(
  :face_id,
  :bounding_box,
  :image_id,
  :external_image_id,
  :confidence)
  include Aws::Structure
end

#face_idString

Unique identifier that Amazon Rekognition assigns to the face.

Returns:

  • (String)


659
660
661
662
663
664
665
666
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 659

class Face < Struct.new(
  :face_id,
  :bounding_box,
  :image_id,
  :external_image_id,
  :confidence)
  include Aws::Structure
end

#image_idString

Unique identifier that Amazon Rekognition assigns to the input image.

Returns:

  • (String)


659
660
661
662
663
664
665
666
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 659

class Face < Struct.new(
  :face_id,
  :bounding_box,
  :image_id,
  :external_image_id,
  :confidence)
  include Aws::Structure
end