获取人脸比对参数配置
GET
https://api2.hik-cloud.com/api/v1/open/intelligents/faceLibs/actions/getFaceContrastCfgs
该接口用于获取不同类型人脸库比对参数配置
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/open/intelligents/faceLibs/actions/getFaceContrastCfgs' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": [
{
"index": 1,
"enable": true,
"faceContrastType": "faceContrast",
"contrastFailureAlarmUpload": true,
"removeDuplicateEnabled": true,
"removeDuplicateTime": 12,
"faceLibs": [
{
"index": 1,
"thresholdValue": 66,
"customFaceLibId": "xxxxx"
},
{
"index": 2,
"thresholdValue": 23,
"customFaceLibId": "xxxxx"
}
]
}
]
}
请求参数
Query 参数
deviceSerial
string
设备序列号
示例值:
xxxxx
channelNo
string
通道号
示例值:
11
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-05-25 09:37:56