工具 API
OCR 服务
上传图片文件,使用指定工具类型进行 OCR(光学字符识别),支持手写体、文字等识别模式,见 OCR 服务。点击 Try it 按钮可快速试用。
post/paas/v4/files/ocr
Response
结果获取成功
Example response
{
"task_id": "ce2641ced3e34e67b47f3b0feeb25aee",
"message": "成功",
"status": "succeeded",
"words_result_num": 4,
"words_result": [
{
"location": {
"left": 79,
"top": 122,
"width": 1483,
"height": 182
},
"words": "你好,世界!",
"probability": {
"average": 0.7320847511,
"variance": 0.08768635988,
"min": 0.3193874359
}
}
]
}