人物年龄分级

适用的识别任务

taskId:

  • 人物年龄分级(taskId: 60cb3cb83879e55b571fbd96)
taskId参数
参数名称 类型 是否必需 说明
statistic Array 各个分类的图片数量,数组索引是label值,元素值是数量;如[1, 0, 0] 表示label = 0的数量为1,label=1的数量为0,label=2的数量为0。 任务返回statistic, 就不返回topNStatistic
reviewCount Number 需要复审的图片数量
fileList Array 每张图片的识别结果
topNStatistic Array 类别数多时,本次调用的全部图片,各个类别的图片数据分布。任务返回topNStatistic, 就不返回statistic
fileList参数
参数名称 类型 是否必需 说明
rate Float 分类得分,范围[0.0, 1.0], 值越高机器对判定结果越有把握
label Number 识别分类(-1表示识别失败)具体参考识别分类值
name String 如果上传的image参数是url,则该值是图片url;如果是以图片文件上传,则该值为文件名
review Boolean 是否需要复审
返回的json示例
{
  "60cb3cb83879e55b571fbd96": {
    "reviewCount": 0,
    "fileList": [
      {
        "label": 2,
        "rate": 0.9984526764933631,
        "review": false,
        "name": "https://bkimg.cdn.bcebos.com/pic/37d12f2eb9389b504fc233af0060f2dde71191efc08a"
      }
    ],
    "statistic": [
      0,
      0,
      1,
      0
    ]
  },
  "riskType": 0,
  "suggestion": 0,
  "code": 0,
  "message": "success",
  "nonce": "0.2475137975881696",
  "timestamp": 1666579532030
}

results matching ""

    No results matching ""