AI Services

Compare two faces using AI

Changed on

This endpoint is used to compare two faces using AI. It returns the matching percentage for all the images that match. It accepts a Form Data containing the two images and returns the the facial comparison results.

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

Request

Request body multi-part/form-data

source_imagestring binary

The image to be sent as input.

target_imagestring binary

The image to be sent as input.

Response

Successful response

codeinteger
statusstring
processing_timeinteger
processing_idstring
processing_countinteger

Example response

{
  "code": 200,
  "status": "success",
  "data": {
    "analysed_data": [
      {
        "Confidence": 92.51395416259766
      }
    ]
  },
  "processing_time": 1268,
  "processing_id": "492e385b-f1ec-412a-904e-3f55fd36fd86",
  "processing_count": 1
}

Changes

    • breaking

      removed the media type multipart/form-data from the request body

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id facialComparisonV2 removed and replaced with compareFacesV2

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      api tag AI Services added

    • info

      api tag AI removed

    • info

      added the media type multi-part/form-data to the request body

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      api operation id facialComparisonV2 was added

    • info

      api tag AI added

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status