frs__DetectLiveFaceByBase64
Detects whether a face in a Base64-encoded image comes from a live person, helping block printed photos, screen replays, and video spoofing; supports one face per image.
Instructions
[FRS] 静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_base64": "<image_base64>",
"project_id": "<project_id>"
},
"name": "frs__DetectLiveFaceByBase64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。 | |
| image_base64 | Yes | 图像数据,Base64编码,要求: |