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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/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 'gems/aws-sdk-rekognition/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 'gems/aws-sdk-rekognition/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 'gems/aws-sdk-rekognition/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 'gems/aws-sdk-rekognition/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 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 126

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