违禁台标识别

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 是否需要复审
tag String 调用时为该图片设置的tag参数
zip String 标识来自哪个压缩包文件
labels Array 类别数多时,表示前n个最可能的类别
rates Array 类别数多时,前n个最可能类别对应的得分,与labels对应
subLabel Object 旧版二级标签信息 (在 2022-01-01 后开通的应用不建议使用, 如需要请联系我们, 开通后使用新版二级标签 subLabels )
subLabels Array (色情识别) 详细二级标签
allLabelRates Array 所有标签的分数。数组的索引对应label的值,值为分数。如需要此信息,请联系我们。

适用的识别任务

taskId:

  • 违禁台标识别 (taskId: 628cc6bd58392f5f5dd6e10b)

label描述

label 说明 描述
0 违禁台标 图像中包含违禁台标
1 无违禁台标 图像中无违禁台标

json示例

{
    "628cc6bd58392f5f5dd6e10b": {
        "statistic": [
            0,
            1
        ],
        "reviewCount": 0,
        "fileList": [
            {
                "rate": 0.9927324234234322,
                "label": 1,
                "name": "http://tuputech.com/test.jpg",
                "tag": "some_tag",
                "zip": "zip_file_name",
                "review": false
            }
        ]
    },
    "nonce": "0.010238978979834232",
    "timestamp": 1435385737,
    "code": 0,
    "message": "success"
}

results matching ""

    No results matching ""