Compare RGB Palmprint
1. Interface Description
Interface request domain: open.intl.palm.tencent.com Interface description: Upload RGB palm image and 1:1 compare with specified user, single-factor authentication. Default interface request rate limit: 20 times/second
2. Input Parameters
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| RgbImage | Yes | Image | RGB image data, Data and ImageType are required |
| CompareUserId | Yes | String | User ID to compare with. |
3. Output Parameters
| Parameter Name | Type | Description |
|---|---|---|
| IsMatch | Boolean | Whether matched. |
| Score | Integer | Similarity score, percentage. |
| AlgorithmVersion | String | Algorithm version. |
| PalmDirection | PalmDirectionType | Palm direction. |
4. Example
Input Example
POST /palm/openai/compare_rgb_palm HTTP/1.1
Host: open.intl.palm.tencent.com
Content-Type: application/json; charset=utf-8
Authorization: ak_*********************************
{
"RgbImage": {
"Data": "base64 image data",
"ImageType": 1
},
"CompareUserId": "user001"
}
Output Example
{
"code": 0,
"message": "ok",
"requestId": "4d5912a82af144f8a982c2da031c1035",
"data": {
"IsMatch": true,
"Score": 95,
"AlgorithmVersion": "v2.0",
"PalmDirection": 1
}
}