Introduction to Face Vector API


The FaceVector API maps the detected faces on a 128-point vector scale which can be used for performing facial recognition

Using FaceVector for Facial recognition

To perform Recognition using FaceVector API

  1. The Face vectors provided by the API  have to be stored as a template for the person in a database.
  2. When Face recognition has to be done, the new face is run through Face Vector API to obtain the new Face Template
  3. The Euclidean distance between the two Face Templates is to be calculated.
  4. Result: When the Euclidean distance is less than 0.5 it is considered a match and both images belong to the same person.
How to Begin

To start using the FaceVector 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“.


The Face Vector API accepts only a single image as input and the Image should contain a single face or else a bounding box parameter should be provided.

If no bounding box parameter is provided and the image contains more than one face, the Vector API will auto-detect and provide the response for the first face it detects.

Support articles

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

Within the Face Vector Category:

  1. The Post Request
  2. The Post Request with a Bounding box
  3. Face Vector Sample Codes
  4. Bounding Box
  5. Use Face Vector to Compare two faces
  6. Use Face Vector to Search a database

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

Related Articles
Post a Comment