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
- The Face vectors provided by the API have to be stored as a template for the person in a database.
- When Face recognition has to be done, the new face is run through Face Vector API to obtain the new Face Template
- The Euclidean distance between the two Face Templates is to be calculated.
- 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.
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:
- The Post Request
- The Post Request with a Bounding box
- Face Vector Sample Codes
- Bounding Box
- Use Face Vector to Compare two faces
- Use Face Vector to Search a database
Category: Input Feed to API
1. Image Quality for facial recognition