更新时间:2021-07-16 07:46:35下载pdf
本文介绍文字识别的 API。
通过解析图片数据,识别图片上的文字和坐标位置。
POST: /v1.0/iot-03/ai-vision/text/actions/discern
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | List | 返回结果 |
result 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| words | String | 文字 |
| coordinate | CoordinatesRes | 坐标信息 |
| confidence | Float | 置信度 |
coordinate 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| left | Integer | 左 |
| top | Integer | 上 |
| right | Integer | 右 |
| bottom | Integer | 下 |
POST: /v1.0/iot-03/ai-vision/text/actions/discern
{
"image": "/9j/4AAQSkxxxxxxxxxxxxxxxx"
}
{
"result": [
{
"coordinate": {
"bottom": 116,
"right": 192,
"top": 86,
"left": 1
},
"confidence": 0.988182,
"words": "我***线"
}
],
"t": 1624864045157,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈