Face Vector API | Post Request

Overview

Face Vector API is the base API used in all of the FaceX facial recognition applications. The basic function of the FaceVector API is to convert the provided face into a 128-Vector Matrix template which can be used for recognition.

Image Requirement

  1. Please refer to the article “Image Quality for Facial Recognition” for best practices.
  2. We recommend an image resolution no higher than 1024x, since it could slow down the request process. Supported image formats are JPEG/PNG format.

Request URL

http://www.facexapi.com/get_face_vec

Note:  If you have more than one face per image, then you need to use bounding box, please refer to the article “The Post Request | Face Vector | Bounding Box

Header

Type

Description

user_id String Your valid User ID

(as shown in your user portal when you log in)

content-type multipart/form-data (if using image file)

application/json (if using Base64/URL)

Note: Your User ID will be valid for Face Vector API only if you have an active FaceAPI plan

Body

Fields

Type

Description

img file or String An image file, supported files jpeg, png or Base64 or Image URL

Result

The output provided by the FaceVector API is a 128-Vector Matrix which can be used as the face template for the face provided

Performing Facial Recognition Using Face Vector

There are different ways you can use the Face Vector API to do facial recognition, read the following articles to get started

Related Articles
Post a Comment