Register RGB Palmprint
1. Interface Description
Interface request domain: open.intl.palm.tencent.com Interface description: Upload RGB palm image to create palmprint and bind to specified user, single-factor authentication. Default interface request rate limit: 20 times/second.
2. Input Parameters
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UserId | Yes | String | User unique identifier. |
| RgbImage | Yes | Image | RGB image data, Data and ImageType are required. |
| IsForce | No | Boolean | Whether to force rebind. |
3. Output Parameters
| Parameter Name | Type | Description |
|---|---|---|
| PalmId | String | User's palmprint ID. If the user has already bound palmprint information, the system will automatically update the existing palmprint data (original palmprint ID remains unchanged) and return the user's registered palmprint ID. |
4. Example
Input Example
POST /palm/openai/register_rgb_palm HTTP/1.1
Host: open.intl.palm.tencent.com
Content-Type: application/json; charset=utf-8
Authorization: ak_*********************************
{
"UserId": "user001",
"RgbImage": {
"Data": "base64 image data",
"ImageType": 1
},
"IsForce": false,
"AlgorithmStrategy": 2
}
Output Example
{
"code": 0,
"message": "ok",
"requestId": "4d5912a82af144f8a982c2da031c1035",
"data": {
"PalmId": "8db884f9-1fb8-44f5-bdaa-f98fdcb3cd47"
}
}