## 聲紋結果
數字密碼JSON示例
`{"num_pwd":["03285469","09734658","53894276","57392804","68294073"]}`
聲紋業務結果(VerifierResult)成員說明
|成員|說明|
|:---:|:---:|
|sst|業務類型,取值為train或verify|
|ret|返回值,0為成功,-1為失敗|
|vid|注冊成功的聲紋模型id|
|voice_score|當前聲紋相似度|
|suc|本次注冊已成功的訓練次數|
|rgn|本次注冊需要的訓練次數|
|ssub|業務類型為ivp|
|err|注冊/驗證返回的錯誤碼|
|decision|描述信息,accepted:驗證成功,rejected:驗證失敗|
聲紋1:N檢索
|JSON字段|類型|說明|
| --- | --- | --- | --- |
|sst|String|業務類型,鑒別業務為identify|
|ssub|String|子業務類型,取值:ivp:聲紋;ifr:人臉。|
|ret|int|返回值,0為請求成功,其他為請求失敗|
|group_id|String|本次鑒別的成員組id|
|group_name|String|本次鑒別的成員組id對應的組名稱|
|topc|int|本次鑒別返回的結果數|
|model_id|String|模型id|
|decision|String|accepted:匹配成功,rejected:匹配失敗|
|score|double|匹配相似度|
|user_name|String|該模型對應用戶名|
~~~
{
"ret": 0,
"group_id": "xxxxxx",
"group_name": "xxxxxx",
"ifv_result": {
"candidates": [
{
"model_id": "xxxxxxxx",
"decision": "accepted",
"score": 88.888888,
"user": "user_name"
}
]
},
"sst": "identify",
"ssub": "ivp",
"topc": 1
}
~~~