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 RecognizeCelebrities operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#face ⇒ Types::ComparedFace

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

Returns:



359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

A unique identifier for the celebrity.

Returns:

  • (String)


359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end

#known_gender ⇒ Types::KnownGender

The known gender identity for the celebrity that matches the provided ID. The known gender identity can be Male, Female, Nonbinary, or Unlisted.

Returns:



359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end

#match_confidence ⇒ Float

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

Returns:

  • (Float)


359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the celebrity.

Returns:

  • (String)


359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end

#urls ⇒ Array<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>)


359
360
361
362
363
364
365
366
367
368
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 359

class Celebrity < Struct.new(
  :urls,
  :name,
  :id,
  :face,
  :match_confidence,
  :known_gender)
  SENSITIVE = []
  include Aws::Structure
end