frs__DetectFaceByBase64
Detect faces in Base64-encoded images and return their positions, facial keypoints, and requested attributes for face analysis.
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__DetectFaceByBase64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attributes | No | 是否返回人脸属性,希望获取的属性列表,多个属性间使用逗号(,)隔开。目前支持的属性有: | |
| project_id | Yes | 项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。 | |
| image_base64 | Yes | 图像数据,Base64编码,要求: |