Amazon Rekognition · JSON Structure

Amazon Rekognition Detect Labels Request Structure

Request for the DetectLabels operation.

Type: object Properties: 5 Required: 1
Celebrity RecognitionComputer VisionContent ModerationCustom LabelsDeep LearningFace LivenessFacial RecognitionImage AnalysisMachine LearningObject DetectionText DetectionVideo Analysis

DetectLabelsRequest is a JSON Structure definition published by Amazon Rekognition, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Image MaxLabels MinConfidence Features Settings

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-rekognition/refs/heads/main/json-structure/amazon-rekognition-detect-labels-request-structure.json",
  "name": "DetectLabelsRequest",
  "description": "Request for the DetectLabels operation.",
  "type": "object",
  "properties": {
    "Image": {
      "$ref": "#/components/schemas/Image"
    },
    "MaxLabels": {
      "type": "int32",
      "description": "Maximum number of labels to return.",
      "example": 10
    },
    "MinConfidence": {
      "type": "float",
      "description": "Minimum confidence level for labels to return.",
      "example": 75.0
    },
    "Features": {
      "type": "array",
      "description": "A list of the types of analysis to perform.",
      "items": {
        "type": "string",
        "enum": [
          "GENERAL_LABELS",
          "IMAGE_PROPERTIES"
        ]
      }
    },
    "Settings": {
      "type": "object",
      "description": "Optional settings for label detection."
    }
  },
  "required": [
    "Image"
  ]
}