frs__CreateFaceSet
Creates a Huawei Cloud FRS face set to store facial feature data for recognition workflows, with configurable capacity and optional custom fields.
Instructions
[FRS] 创建用于存储人脸特征的人脸库。您最多可以创建10个人脸库,每个人脸库最大容量为10万个人脸特征。如有更大规格的需求请联系客服。
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__CreateFaceSet"
}
}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 | 人脸库名称。 | |
| external_fields | No | 用户自定义数据,自定义字段不能以系统保留字段vector、bounding_box、external_image_id、face_id、create_time、_id、_all、_source等字段命名。Json字符串不校验重复性,自定义字段的key值长度范围为[1,36],string类型的value长度范围为[1,256],具体参见[自定义字段](https://support.huaweicloud.com/api-face/face_02_0012.html)。 | |
| face_set_capacity | No | 人脸库最大的容量,填写1万整数倍的数字,例如:30000。 |