Introduction to Face Compare API

Introduction

The Face Compare API compares two faces and determines if they belong to the same person.

Using Face Compare for Face authentication

If the result of the comparison between two faces is greater than the threshold (Current Threshold- 0.6), that means the faces belong to the same person. If the compare result is less than 0.6, the faces belong to different people.

How it works

Face Compare API is an extension of the FaceVector API. When the images are sent to the Face Compare API, both of the faces are converted to FaceVector templates and the Euclidian distance is calculated.

The Euclidian distance result is then converted using a function to a confidence value which is returned by the FaceCompare API in its response

How to Begin

To start using the Face Compare API, you need to sign up and subscribe to one of the FaceAPI plans  (View payment plans here). Learn more about signing up to the FaceAPI plans in our article “Getting Started with FaceX APIs“.

Functioning

The Face Compare API accepts two images as input and each Image should contain only a single face each or else bounding box parameter should be provided.

If no bounding box parameter is provided and the images contain more than one face, the Compare API will auto-detect and provide the response for the first face it detects in each image.

Support articles

The following articles will talk about how to send a Face Compare Request and look at the response provided by the API

Within the Face Compare Category:

  1. The Post Request
  2. The Post Request with a Bounding box
  3. API response explained
  4. Face Compare Sample Codes
  5. Bounding Box

Category: Input Feed to API
1. Image Quality for facial recognition

Related Articles
Post a Comment