Skip to content

Face Match with 2 Photos API

Warning

This API will be deprecated in mid 2021. Please consider to use Asynchronous APIs

Send a POST request to https://api.cloud.nodeflux.io/v1beta1/face/match by providing these arguments as application/json.

Headers

Key Value
Content-type application/json
Authorization Your authorization key.
x-nodeflux-timestamp x-nodeflux-timestamp from the Authorization API.

Request Body

{
   "image_a":{
      "content":"{INSERT_JPEG_IMAGE_AS_BASE64_STRING}"
   },
   "image_b":{
      "content":"{INSERT_JPEG_IMAGE_AS_BASE64_STRING}"
   }
}

Response Body

HTTP Mapping: 200 OK

{
   "face_match":{
      "similarity":0.97,
      "match": true
   }
}

Protocol Reference

Protocol reference available on nodeflux.analytics.v1beta1.FaceMatch