Amazon Rekognition · Schema

Label

Structure containing details about the detected label.

Celebrity RecognitionComputer VisionContent ModerationCustom LabelsDeep LearningFace LivenessFacial RecognitionImage AnalysisMachine LearningObject DetectionText DetectionVideo Analysis

Properties

Name Type Description
Name string The name of the label detected in the image or video.
Confidence number Level of confidence for the label.
Instances array Bounding boxes for each instance of the detected object.
Parents array The parent labels for a label in the taxonomy hierarchy.
View JSON Schema on GitHub

JSON Schema

amazon-rekognition-label-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-rekognition/refs/heads/main/json-schema/amazon-rekognition-label-schema.json",
  "title": "Label",
  "description": "Structure containing details about the detected label.",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the label detected in the image or video.",
      "example": "Person"
    },
    "Confidence": {
      "type": "number",
      "format": "float",
      "description": "Level of confidence for the label.",
      "example": 98.5
    },
    "Instances": {
      "type": "array",
      "description": "Bounding boxes for each instance of the detected object.",
      "items": {
        "type": "object",
        "properties": {
          "BoundingBox": {
            "$ref": "#/components/schemas/BoundingBox"
          },
          "Confidence": {
            "type": "number",
            "format": "float"
          }
        }
      }
    },
    "Parents": {
      "type": "array",
      "description": "The parent labels for a label in the taxonomy hierarchy.",
      "items": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string"
          }
        }
      }
    }
  }
}