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

Class: Aws::Rekognition::Types::CelebrityDetail

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

Overview

Information about a recognized celebrity.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

Bounding box around the body of a celebrity.

Returns:



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end

#confidenceFloat

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

Returns:

  • (Float)


162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end

#faceTypes::FaceDetail

Face details for the recognized celebrity.

Returns:



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end

#idString

The unique identifier for the celebrity.

Returns:

  • (String)


162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end

#nameString

The name of the celebrity.

Returns:

  • (String)


162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end

#urlsArray<String>

An array of URLs pointing to additional celebrity information.

Returns:

  • (Array<String>)


162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 162

class CelebrityDetail < Struct.new(
  :urls,
  :name,
  :id,
  :confidence,
  :bounding_box,
  :face)
  include Aws::Structure
end