Facial Comparison

This request will execute Facial Comparison.

Before making the request, please ensure you meet the following prerequisites:

  1. Visit Licensing to see how to get your credentials.

  2. Please ensure that the images follows our input guidelines!

  3. We only support the following image formats: .jpeg, .jpg, .png

Checkout acceptable header values to see what values we accept for each header.

Replace domain with the domain name of your environment.

Extract Document

POST https://{domain}/api/FaceCompare/CompareFace

Headers

NameTypeDescription

Authorization*

string

You need to add the word Bearer Infront of this string when sending. Use the Above call to obtain this token.

CorrelationID

string

This value is managed by the consumer of this API. When this value is set and there is a forwarding service all facial data will be passed to the forwarding service with the CorrelationID to manage the response. This is a security option to store data on another service as the data on the consuming UI could be tampered with.

Content-type

multipart/form-data

Request Body

NameTypeDescription

target

multipart/form-data

This should be an image file. Send image1 as a multi form data.

The target image of the document that you would like to scan for. If multiple images are supplied, only the first will be used. Make sure to follow the input guidelines.

faces

multipart/form-data

This should be an image file. Send image(s)2 as a multi form data. The target image of the document that you would like to scan for. If multiple images are supplied, only the first will be used. Make sure to follow the input guidelines.