Enroll by face
PresentID Face Enroll API allows you to register your users for future authentication. This API stores two image files along with the user’s personal information. Before saving, it is checked whether these two images belong to one person or not so allows you to authenticate your user face image and personID.
Features
Use Cases
Rules & Restrictions
photo1: file (binary)
Your user first photo [required]
photo2: file (binary)
Your user second photo [required]
email: string
Your user email [required]
group: string
You can categorize your users [required]
first name: string
Your user first name [optional]
Lastname: string
Your user last name [optional]
mobile: string
Your user phone number [optional]
{
"statusCode":200,
"statusMessage":"OK",
"details":NULL,
"hasError":false,
"data":{
"personID":"585AF702-1A33-464B-9636-DE87E009F7D2"
}
}
> After calling the API, save the personID
field value to be used in the login step.
The face login API allows the user to authenticate by sending the face and personID
. The parameters must be submitted in multipart form. The API is called by POST method.
###Parameters
photo: file (binary)
Your user photo [required]
personID: string (GUID)
Your unique user ID that you received from the Face Registration API. [required]
{
"statusCode":200,
"statusMessage":"Login Successfully.",
"hasError":false,
"data":
{
"firstName":"",
"lastName":"",
"personId":"585af702-1a33-464b-9636-de87e009f7d2",
"isLogin":true
}
}
If the value of the isLogin
field is true
, the submitted image matches the registered user.