frs__AddFacesByFile
Add faces from a single image to a Huawei Cloud face set, supporting either the largest face or all detected faces for identity and access workflows.
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": {
"face_set_name": "<face_set_name>",
"project_id": "<project_id>"
},
"name": "frs__AddFacesByFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。 | |
| face_set_name | Yes | 人脸库名称。 |