الانتقال إلى المحتوى الرئيسي
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..