Class: Aws::Rekognition::Types::Celebrity

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

Overview

Provides information about a celebrity recognized by the operation.

Instance Attribute Summary collapse

Instance Attribute Details

#faceTypes::ComparedFace

Provides information about the celebrity’s face, such as its location on the image.

Returns:



126
127
128
129
130
131
132
133
# File 'lib/aws-sdk-rekognition/types.rb', line 126

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence)
  include Aws::Structure
end

#idString

A unique identifier for the celebrity.

Returns:

  • (String)


126
127
128
129
130
131
132
133
# File 'lib/aws-sdk-rekognition/types.rb', line 126

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence)
  include Aws::Structure
end

#match_confidenceFloat

The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.

Returns:

  • (Float)


126
127
128
129
130
131
132
133
# File 'lib/aws-sdk-rekognition/types.rb', line 126

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence)
  include Aws::Structure
end

#nameString

The name of the celebrity.

Returns:

  • (String)


126
127
128
129
130
131
132
133
# File 'lib/aws-sdk-rekognition/types.rb', line 126

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence)
  include Aws::Structure
end

#urlsArray<String>

An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

Returns:

  • (Array<String>)


126
127
128
129
130
131
132
133
# File 'lib/aws-sdk-rekognition/types.rb', line 126

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence)
  include Aws::Structure
end