Class: Aws::Rekognition::Types::Label

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

Overview

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aliasesArray<Types::LabelAlias>

A list of potential aliases for a given label.

Returns:



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end

#categoriesArray<Types::LabelCategory>

A list of the categories associated with a given label.

Returns:



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceFloat

Level of confidence.

Returns:

  • (Float)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end

#instancesArray<Types::Instance>

If ‘Label` represents an object, `Instances` contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

Returns:



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name (label) of the object or scene.

Returns:

  • (String)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end

#parentsArray<Types::Parent>

The parent labels for a label. The response includes all ancestor labels.

Returns:



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/aws-sdk-rekognition/types.rb', line 4717

class Label < Struct.new(
  :name,
  :confidence,
  :instances,
  :parents,
  :aliases,
  :categories)
  SENSITIVE = []
  include Aws::Structure
end