You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Rekognition::Types::Label
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Label
- Defined in:
- (unknown)
Overview
Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.
Returned by:
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Level of confidence.
-
#instances ⇒ Array<Types::Instance>
If
Label
represents an object,Instances
contains 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
#confidence ⇒ Float
Level of confidence.
#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.
#name ⇒ String
The name (label) of the object or scene.
#parents ⇒ Array<Types::Parent>
The parent labels for a label. The response includes all ancestor labels.