Amazon Rekognition
Developer Guide

Label

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

The Amazon Rekognition Image operation DetectLabels operation returns a hierarchical taxonomy (Parents) for detected labels and also bounding box information (Instances) for detected labels. Amazon Rekognition Video doesn't return this information and GetLabelDetection returns null for the Parents and Instances attributes.

Contents

Confidence

Level of confidence.

Type: Float

Valid Range: Minimum value of 0. Maximum value of 100.

Required: No

Instances

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.

Note

Amazon Rekognition Video does not support bounding box information for detected labels. The value of Instances is returned as null by GetLabelDetection.

Type: Array of Instance objects

Required: No

Name

The name (label) of the object or scene.

Type: String

Required: No

Parents

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

Note

Amazon Rekognition Video does not support a hierarchical taxonomy of detected labels. The value of Parents is returned as null by GetLabelDetection.

Type: Array of Parent objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: