Liveness processing

Allows you to start liveness processing:

Face.startLivenessMatching().then(response => {
response = LivenessResponse.fromJson(JSON.parse(response))
console.log(JSON.stringify(response))
})

Response

LivenessResponse
└── image
└── liveness
└── error

Parameter

Description

image

Image

liveness

Liveness result, one of LivenessStatus enum values

error

Error