汇总结果解析

如果用户只关心整体的通过/拒绝情况,可以解析汇总结果。 汇总结果返回 suggestion & riskType 字段,分别表示通过/拒绝,风险类型。风险类型从其关联的 taskId 的审核结果,根据分数阈值、标签优先级等规则汇总得出。

suggestion

描述
0 通过
1 拒绝
2 复审

riskType

风险类型 关联的taskId(默认规则)
0 正常
1 涉政 5b7be1f59b0c77a8c2afb351(政治人物搜索)
5e1d634d2809c24f6d909bd3(ocr文本审核)
5de51f28b9700f11b05f6438 (地图识别)
2 色情 54bcfc6c329af61034f7c2fc(色情识别)
5e1d634d2809c24f6d909bd3(ocr文本审核)
3 暴恐 5e1d70adeec2874f7318dc52(暴恐细分)
5e1d634d2809c24f6d909bd3(ocr文本审核)
4 违法违禁 5eddb86afaf52c4ca704ea41(违法违禁)
5ad37309616505867eeac264(低俗)
5e1d634d2809c24f6d909bd3(ocr文本审核)
5 广告 56a8645b0c800bff40990cf1(广告2.0)
5e1d634d2809c24f6d909bd3(ocr文本审核)
6 敏感 5e1d634d2809c24f6d909bd3(ocr文本审核)
7 谩骂 5e1d634d2809c24f6d909bd3(ocr文本审核)
8 黑名单 5c8f44ca25ade48455a63bad(自定义图库)
9 白名单 5c8f44ca25ade48455a63bad(自定义图库)
10 用户自定义
11 图像质量 58b4f9f1fde4795eae4e181e (图像质量)

结果示例

图片响应

{
  "code": 0,
  "message": "success",
  "nonce": "0.010413094889372587",
  "timestamp": 1435385737,
    "summary": [
      {
        "code": 0,
        "message": "success",
        "name": "http://test.com/test1.jpg",
        "suggestion": 0,
        "riskType": 1,
        "riskTask": "5b7be1f59b0c77a8c2afb351",
        "tag": "t1"
      },
      {
        "code": 14,
        "message": "download fail",
        "name": "http://test.com/test2.jpg",
        "tag": "t2"
      }
  ] 
}

视频回调

{
  "code": 0,
  "message": "success",
  "nonce": 0.266604533,
  "timestamp": 1628515201266,
  "suggestion": 1,
  "riskType": 3,

  "5eddb86afaf52c4ca704ea41": {
    "fileList": [
      {
        "label": 8,
        "rate": 0.8766029965725564,
        "review": false,
        "url": "https://static.tuputech.com/api/image/original/%2Fcloud-api%2Fstorage-0831%2F2021-08-09%2F21-7%2F60d5a703f5790e00946ea229%2F1628515191.751606793330868024.jpeg",
        "offset": 152
      }
    ],
    "avgScores": [
      {
        "label": 8,
        "score": 0.8766029965725564
      }
    ],
    "maximums": [
      {
        "label": 8,
        "max": 0.8766029965725564
      }
    ],
    "statistics": [
      {
        "label": 8,
        "count": 1
      }
    ],
    "label": 8,
    "review": false
  },
  "videoInfo": {
    "id": "61112b4b9ea01e769186810c",
    "captureStart": "2021-08-09T13:19:11Z",
    "duration": 288.455,
    "frames": 8645,
    "status": "end",
    "message": "success"
  }
}

results matching ""

    No results matching ""