GET /livenessdetection
Performs a liveness detection on the previously uploaded samples (see Upload Web API) that are associated with the token provided for authorization.
The samples are fetched from the BWS storage (and removed from the storage so that they cannot be used for any other purpose) and sent to the live data detection procedure.
You need to send two images in between which the user has moved slightly. Therefore, please implement the following:
The LivenessDetection Web API returns a LivenessDetectionResult
object, that contains the flag Success, which indicates, whether the liveness detection succeeded or not.
In case that the liveness detection failed, an Error is reported:
Successful LivenessDetectionResult Sample:
{
"Success": true,
}
Failed LivenessDetectionResult Sample:
{
"Success": false,
"Error": "ChallengeResponseFailed"
}
LivenessDetectionResult
object in the body text. With erroneous codes you typically get a Message field within the body text describing the error.
The most commonly returned codes are:
LivenessDetectionResult
object.