跳轉到主要內容
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"
}

授權

Authorization
string
header
必填

標頭

accept
enum<string>

Specifies the format of the response from the server.

可用選項:
application/json,
application/x-ndjson

主體

application/json
image_url
string
必填

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.

回應

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