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

#faceTypes::ComparedFace

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

Returns:



259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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)


259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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:



259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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)


259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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)


259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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


259
260
261
262
263
264
265
266
267
268
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 259

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