Liveness Detection Linux SDK

Face Liveness Detection Linux SDK

Code

Setup

  1. Build docker image

  1. Run docker image

  1. Get machine code

Call "get machine code" endpoint to get the machine code
  1. Contact us to get the license according to the machine code.

  2. Activate the sever by using the license obtained from us.

Call "activate machine" endpoint to activate the SDK
  1. Liveness detection using raw file

Call "check liveness" endpoint to activate the SDK

APIs

get_machine_code: This API is used to retrieve the code specific to the server on which this SDK is running

Input

None

Return value

The string specific to the server on which this SDK is running

activate_machine: This API is used to activate the SDK

check_liveness: This API is used to determine if the faces are real or fake. This also returns if the faces are occuluded, if the mouth is open, if the eyes are closed, if the face image quality is good and if the face is fronted or not.

Last updated