Vai al contenuto principale
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"
}

Autorizzazioni

Authorization
string
header
obbligatorio

Intestazioni

accept
enum<string>

Specifies the format of the response from the server.

Opzioni disponibili:
application/json,
application/x-ndjson

Corpo

application/json
image_url
string
obbligatorio

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.

Risposta

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..