Perform facial comparison

Changed on
post/api/ai/images/v2/facial-comparison

Request

Request body multipart/form-data

source_imagestring binary

The source image for comparison

target_imagestring binary

The target image for comparison

Response

Success

idstring
statusstring
timestampinteger
processing_countinteger

Example response

{
  "id": "3497939b-9e7b-442c-ae00-cb75cc02a64d",
  "status": "success",
  "timestamp": 1687857228707,
  "content": {
    "matched_faces_count": 1,
    "unmatched_faces_count": 1,
    "matched_faces": [
      {
        "similarity": 98.82299041748047,
        "quality": {
          "brightness": 88.67324829101562,
          "sharpness": 16.49492073059082
        },
        "confidence": 99.98194885253906
      }
    ],
    "unmatched_faces": [
      {
        "confidence": 99.99944305419922,
        "quality": {
          "brightness": 89.44940185546875,
          "sharpness": 83.14741516113281
        }
      }
    ]
  },
  "processing_count": 1
}

Changes