Amazon Rekognition · JSON Structure

Amazon Rekognition Compare Faces Response Structure

CompareFacesResponse schema from Amazon Rekognition

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

CompareFacesResponse is a JSON Structure definition published by Amazon Rekognition, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SourceImageFace FaceMatches UnmatchedFaces

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-compare-faces-response-structure.json",
  "name": "CompareFacesResponse",
  "description": "CompareFacesResponse schema from Amazon Rekognition",
  "type": "object",
  "properties": {
    "SourceImageFace": {
      "type": "object",
      "properties": {
        "BoundingBox": {
          "$ref": "#/components/schemas/BoundingBox"
        },
        "Confidence": {
          "type": "float"
        }
      }
    },
    "FaceMatches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Similarity": {
            "type": "float",
            "example": 95.3
          },
          "Face": {
            "type": "object",
            "properties": {
              "BoundingBox": {
                "$ref": "#/components/schemas/BoundingBox"
              },
              "Confidence": {
                "type": "float"
              }
            }
          }
        }
      }
    },
    "UnmatchedFaces": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}