Zum Hauptinhalt springen
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"
}

Autorisierungen

Authorization
string
header
erforderlich

Header

accept
enum<string>

Specifies the format of the response from the server.

Verfügbare Optionen:
application/json,
application/x-ndjson

Body

application/json
image_url
string
erforderlich

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.

Antwort

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