1.1. 人脸识别结果

JSON字段类型说明
sstString业务类型,取值为“enroll”或“verify”
retint返回值,0为成功,-1为失败
ssubString业务类型为ifr
face_scoredouble人脸验证的得分(验证时返回)
sidString本次交互会话的id
uidString返回的用户id
decisionString描述信息,accepted:验证成功,rejected:验证失败

注册结果示例:

  1. {
  2. "ret":0,
  3. "suc":1,
  4. "rgn":1,
  5. "sst":"enroll",
  6. "ssub":"ifr",
  7. "fid":"2e7d53cb78deadc67518dd53ac2e2a3a"
  8. }

验证结果示例:

  1. {
  2. "ret":0,
  3. "face_score":99.999,
  4. "voice_score":0,
  5. "ssub":"ifr",
  6. "decision":"accepted",
  7. "fusion_score":99.999,
  8. "sst":"verify"
  9. }

人脸1:N 检索参考附 录声纹结果 —声纹1:N检索