/api/v1/selphid/extract/template/image
Extracts the image contained in a facial template.
HS256 JWT signed with auth_jwt_secret and carrying an exp claim, sent as Authorization: Bearer <jwt>.
Accepted while auth_accept_authorization_header is true (default). Only enforced when auth_enabled is
true.
A raw template, used for image extraction.
Biometric template buffer, obtained through GetFacialTemplate(), base64-encoded.
BAEBGgEroySjGz2C9iIki35J/FA...Result of the facial extraction.
The result of an image extraction operation.
Raw image buffer in .png, .jpg or .bmp format, base64-encoded.
/9j/4AAQSkZJRgABAQEAtAC0AAD...Incorrect parameters in the request.
JWT authentication is enabled and the request carries no token or an invalid one. message is one of
Missing authentication token, JWT token is expired, JWT token is not yet valid,
JWT token does not include exp claim, JWT token validation failed or, when auth_jwt_secret is empty,
Authentication secret is not configured.
An error occurred in the call to the SelphID-SDK backend.
POST /api/v1/selphid/extract/template/image HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"faceTemplate": "BAEBGgEroySjGz2C9iIki35J/FA..."
}{
"image": "/9j/4AAQSkZJRgABAQEAtAC0AAD..."
}Last updated