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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#faceTypes::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 '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

#idString

A unique identifier for the celebrity.

Returns:

  • (String)


359
360
361
362
363
364
365
366
367
368
# File '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_genderTypes::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 '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_confidenceFloat

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 '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

#nameString

The name of the celebrity.

Returns:

  • (String)


359
360
361
362
363
364
365
366
367
368
# File '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

#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>)


359
360
361
362
363
364
365
366
367
368
# File '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