Compares a target image against a person’s ID photo using facial recognition. Returns (Task)
Compare to Images together. The first Image is from the ID of the designated Person. The Second Image is the target image (the picture taken to compare the ID to).
| Name | Description |
|---|---|
| person | The person whose ID photo will be compared |
| target | The image to compare against the person’s ID photo |
Example in C#
// Returns: Boolean
var item = await client.CompareIdPhotoAsync(PersonInfo person, ImageInfo target);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PEOPLE.KEY/compareimage?category=ID%20Photo \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.ImageInfo, Feenics.Keep.WebApi.Model",
"Category":null,
"Image":BYTE_ARRAY_OF_IMAGE,
"Key":null,
"CommonName":null,
"InFolderHref":null,
"InFolderKey":null,
"Links":[],
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'