Saltar para o conteúdo principal
POST
/
face
/
detect-live
Detect Live
curl --request POST \
  --url https://api.acedata.cloud/face/detect-live \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_url": "<string>",
  "face_model_version": 123
}
'
{
  "score": 6,
  "face_model_version": "3.0"
}

Autorizações

Authorization
string
header
obrigatório

Cabeçalhos

accept
enum<string>

Specifies the format of the response from the server.

Opções disponíveis:
application/json,
application/x-ndjson

Corpo

application/json
image_url
string
obrigatório

The link to images need to be processed.

face_model_version
number

Version of the algorithm model used by the face recognition service. Currently, the input support is 3.0.

Resposta

OK, the request was successful.

score
string

Live score, the value range [0,100], according to the threshold interval corresponding to the live score to determine whether it is a remake. Currently, the threshold can be divided into 5,10,40,70, and 90. The recommended threshold is 40.

face_model_version
string

Version of the algorithm model used for face recognition..