Patsnap OCR
AI10 Generate an OCR recognition task
This interface provides the task of creating and downloading OCR recognition, generating jobs_id, through jobs_id Go to "[AI10] query and export the OCR recognition results". OCR recognition supports recognizing numbers, text information, table contents, and more in images or scanned PDF files. Additionally, it can analyze the layout and provide OCR recognition results in multiple formats that closely resemble the structure of the original document.
post/ai/ocr/task/create
Request
- Base URLhttps://connect.patsnap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"document": "https://static-open.zhihuiya.com/sample/common_demo.png",
"document_type": "png",
"ocr_format": "doc",
"document_lang": [
"简体中文",
"数字",
"英语"
]
}Response
Successful ai10 generate an ocr recognition task response.
Example response
{
"data": {
"job_id": "b4bdae6b4a65432d91f25b5c52bdfd80"
},
"error_msg": "The request parameter format is incorrect!"
}Changes
No recorded changes to this operation across all 1 revision of this API.