版本比较

密钥

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

属性

类型

必须

说明

type

string

ReCaptchaV2Classification 300x300 450x450

状态
title10 POINTS
->
状态
colourGreen
title10 点数8 POINTS
100x100
状态
colourGreen
title2 点数

image

string

Base64 编码的图片,不要包含 "data:image/***;base64,"

说明

必须将图片缩放至 标准 大小 (100x100, 300x300, 450x450), 这样服务才能判断图片类型

question

String

问题 ID, 请查表, 以 /m/ 开头

confidence

int

结果置信度分值,非必填,0.0 不匹配 ~1.0 完全匹配(分值越大匹配度越高),默认值为空

对于3x3 类型的图片,当指定一个分值时(建议0.5),会返回所有大于该分值的结果,不指定时会返回排名前三的结果。

对于4x41x1的图片指定此值无意义

具体使用场景见下方说明。

...

代码块
{
    "errorId": 0,
    "errorCode": "",
    "errorDescription": "null",
    "status": "ready",
    "taskId": "3a9e8cb8-3871-11ec-9794-94e6f7355a0b",
    "solution": {
        "objects": [1,5,8], // 图像需要点击的位置
        "type": "multi"
    }
}

图片格式

标准大小 3x3: (300x300)

状态
title10 POINTS
->
状态
colourGreen
title10 8 POINTS
可以是截图:按照返回结果点击对应位置

代码块
"solution": {
        "objects": [0,2,6], // 图像需要点击的位置
        "type": "multi"
}

...

标准大小 4x4: (450x450)

状态
title10 POINTS
->
状态
colourGreen
title10 8 POINTS
可以是截图:按照返回结果点击对应位置

代码块
"solution": {
        "objects": [9, 10, 11, 13, 14, 15], // 图像需要点击的位置,从0开始到15
        "type": "multi"
}

...