Class: Aws::Rekognition::Types::Label
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Label
- Defined in:
- gems/aws-sdk-rekognition/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
-
#aliases ⇒ Array<Types::LabelAlias>
A list of potential aliases for a given label.
-
#categories ⇒ Array<Types::LabelCategory>
A list of the categories associated with a given label.
-
#confidence ⇒ Float
Level of confidence.
-
#instances ⇒ Array<Types::Instance>
If
Labelrepresents an object,Instancescontains the bounding boxes for each instance of the detected object. -
#name ⇒ String
The name (label) of the object or scene.
-
#parents ⇒ Array<Types::Parent>
The parent labels for a label.
Instance Attribute Details
#aliases ⇒ Array<Types::LabelAlias>
A list of potential aliases for a given label.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |
#categories ⇒ Array<Types::LabelCategory>
A list of the categories associated with a given label.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |
#confidence ⇒ Float
Level of confidence.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |
#instances ⇒ Array<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.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name (label) of the object or scene.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |
#parents ⇒ Array<Types::Parent>
The parent labels for a label. The response includes all ancestor labels.
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4819 class Label < Struct.new( :name, :confidence, :instances, :parents, :aliases, :categories) SENSITIVE = [] include Aws::Structure end |