Amazon Rekognition · Schema

CompareFacesResponse

CompareFacesResponse schema from Amazon Rekognition

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

Properties

Name Type Description
SourceImageFace object
FaceMatches array
UnmatchedFaces array
View JSON Schema on GitHub

JSON Schema

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