/login
Login by Face image for signup with user details api.
This API is used to perform login operations for already registered users using the face image of the person, Make sure you will open a camera and capture the live face image as the system will not bypass any face image like image in mobile, paper, or any other kind of masking on the face.
Key points to consider here are:-
Face minimal side is less than 300 pix or distance between eyes is less than 90 pix
Face out-of-plane rotation is greater than 20 degrees
The distance between the face and camera is very small, and the face can be significantly distorted
The luminous power is insufficient
High motion or gaussian blur rate or light shot
*Image file type of png, jpeg, jpg (*Mandatory)
Other Error Codes
FACE_TOO_CLOSE: A distance between face and camera is too small for preprocessing issues
FACE_CLOSE_TO_BORDER: Face is too close to one or more borders. May reduce the accuracy of spoofing detection because edges of face may not be seen
FACE_CROPPED: Face is cropped. May reduce the accuracy of spoofing detection because edges of face may not be seen
FACE_NOT_FOUND: Face detector can't find face on image
FACE_TOO_SMALL: Facial area is not big enough for analysis. Either interpupillary distance or face size is below the configured value.
FACE_ANGLE_TOO_LARGE: Facial out-of-plane rotation angle is extremely large
FAILED_TO_PREDICT_LANDMARKS: Landmarks prediction error
FAILED_TO_PREPROCESS_IMAGE_WHILE_DETECT: Face detection error
FAILED_TO_PREPROCESS_IMAGE_WHILE_PREDICT: Liveness prediction error
FAILED_TO_READ_IMAGE: File decoding error
FAILED_TO_READ_MODEL: Model deserializing error
FAILED_TO_WRITE_IMAGE: File encoding error
INVALID_CONFIG: Configuration file deserializing error
INVALID_FUSE_MODE: Invalid fuse mode provided
NO_SUCH_OBJECT_IN_BUILD: Engine or backend is not supported by the build
NULLPTR Nullptr provided: TOO_MANY_FACES Too many faces detected (more than maximum faces number in configuration, one face by default)
UNKNOWN: Unhandled exception in the code
POST
https://sdk.faceki.com/facelink/api/login
Query Parameters
Name | Type | Description |
---|---|---|
Headers
Name | Type | Description |
---|---|---|
authorization* | String | Bearer [token] |
Content-Type* | String | multipart/form-data |
Request Body
Name | Type | Description |
---|---|---|
selfie_image* | File | Selfie live image |
Response Parameters
Confidence: *Consider any value above 90 as success.
face_id: *This is a unique identifier for each face, you can keep this to retrieve user information in your DB while Sign up you can store and use here to retrieve information, each face can have multiple images ID's.
client_id: Can verify with your client id for authenticity.
mobile_number: User mobile number.
_id: Faceki user-id.
image_id: Unique image id.
Email: User email.
Name: User name.
Last updated