Facial Recognition Pipeline
Index faces in a file.
Indexing could take several minutes.
Body
{
"context": "default",
"identifier": "<user identifier>",
"image_key": "image-key.jpeg"
}
Find a face
Body
{
"image": {
"data": "< base64 encoded jpeg data >",
"type": "base64-jpeg"
},
"context": "default"
}
Response
{
"best": {
"identifier": "<id>",
"similarity": 99.48797607421875,
"confidence": 100,
"updated_at": "2017-12-22T02:10:34.000Z",
"created_at": "2017-12-22T00:43:58.000Z",
"faces_count": 2,
"context": "<context>"
},
"matches": [
{
"identifier": "<id>",
"similarity": 99.48797607421875,
"confidence": 100,
"updated_at": "2017-12-22T02:10:34.000Z",
"created_at": "2017-12-22T00:43:58.000Z",
"faces_count": 2,
"context": "<context>"
},
{
"identifier": "<id>",
"similarity": 95.61024475097656,
"confidence": 99.98919677734375,
"updated_at": "2017-12-22T02:10:34.000Z",
"created_at": "2017-12-22T00:43:58.000Z",
"faces_count": 2,
"context": "<context>"
}
],
"transactionID": "0ad78376-c3ed-49d2-b3c2-00968bc6b170"
}