OCR 表获取作业结果
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/v2/ocr/ocr_tables_async/{public_id}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v2/ocr/ocr_tables_async/?response_as_dict=true&show_original_response=false' \
--header 'Authorization;'
响应示例响应示例
200 - 成功示例
{ "public_id": "305d9e2c-2e2d-405c-b769-272101513afe", "status": "finished", "error": null, "results": { "microsoft": { "error": null, "id": "2c2c0964-f0ac-4a22-9bc3-5c6eeb4ce871", "final_status": "finished", "pages": [ { "tables": [ { "rows": [ { "cells": [ { "text": "Station", "row_index": 0, "col_index": 0, "row_span": 2, "col_span": 1, "confidence": null, "bounding_box": { "left": 0, "top": 0, "width": 0.17246376811594202, "height": 0.12698412698412698 }, "is_header": true }, { "text": "Latitude", "row_index": 0, "col_index": 1, "row_span": 2, "col_span": 1, "confidence": null, "bounding_box": { "left": 0, "top": 0.2698412698412698, "width": 0.17391304347826086, "height": 0.12698412698412698 }, "is_header": true }, { "text": "Longitude", "row_index": 0, "col_index": 2, "row_span": 2, "col_span": 1, "confidence": null, "bounding_box": { "left": 0, "top": 0.5419501133786848, "width": 0.2, "height": 0.12698412698412698 }, "is_header": true }, { "text": "Year", "row_index": 0, "col_index": 3, "row_span": 1, "col_span": 4, "confidence": null, "bounding_box": { "left": 0, "top": 0.854875283446712, "width": 0.45362318840579713, "height": 0.049886621315192746 }, "is_header": true } ] }, { "cells": [ { "text": "1993", "row_index": 1, "col_index": 3, "row_span": 1, "col_span": 1, "confidence": null, "bounding_box": { "left": 0.03188405797101449, "top": 0.854875283446712, "width": 0.12608695652173912, "height": 0.07709750566893424 }, "is_header": true }, { "text": "1994", "row_index": 1, "col_index": 4, "row_span": 1, "col_span": 1, "confidence": null, "bounding_box": { "left": 0.03188405797101449, "top": 1.0521541950113378, "width": 0.1246376811594203, "height": 0.07709750566893424 }, "is_header": true }, { "text": "2012", "row_index": 1, "col_index": 5, "row_span": 1, "col_span": 1, "confidence": null, "bounding_box": { "left": 0.03188405797101449, "top": 1.2471655328798186, "width": 0.11014492753623188, "height": 0.07709750566893424 }, "is_header": true }, { "text": "2013", "row_index": 1, "col_index": 6, "row_span": 1, "col_span": 1, "confidence": null, "bounding_box": { "left": 0.03188405797101449,
请求参数
Path 参数
public_id
string
必需
Query 参数
response_as_dict
string
可选
示例值:
true
show_original_response
string
可选
示例值:
false
Header 参数
Authorization
string
必需
默认值:
Bearer <your_key>
返回响应
修改于 2024-04-11 07:23:53