PredictClassifierModel
Document self-learning classifier: prediction API.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
documentautoml:PredictClassifierModel |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClassifierId |
integer |
No |
The classifier ID. |
1 |
| AutoPrediction |
boolean |
No |
Specifies whether automatic prediction is enabled. Valid values: |
true |
| Content |
string |
No |
The accessible URL of an image or PDF file. You must specify either this parameter or |
https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/demo/table.png |
| Body |
string |
No |
The base64-encoded content of an image or PDF file. You must specify either this parameter or |
data:image/png;base64,xxxxx |
| BinaryToText |
boolean |
No |
Specifies the input format. |
false |
Specify either the content or body field. Use the content field for an image URL. For base64-encoded input, use the body field and set the BinaryToText parameter to true.
PDF files are limited to 20 MB and 10 pages. Except for long document predictions, the service processes only the first page of a document.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
232B91A8-9938-5C10-B522-127D1E342A57 |
| Code |
integer |
The response status code. A value of |
200 |
| Data |
object |
The response data. |
{ "score": 1, "classID": "269_2b6819527769749d962bf51d034b1820", "tables": [ { "columns": [ { "header_value": "姓名", "bodies": [ { "prob": 0, "fieldWordRaw": "学生1", "wordInfo": [], "location": [ { "x": 76, "y": 99 }, { "x": 187, "y": 99 }, { "x": 187, "y": 123 }, { "x": 76, "y": 123 } ], "value": "学生1" }, { "prob": 0, "fieldWordRaw": "学生2", "wordInfo": [], "location": [ { "x": 76, "y": 123 }, { "x": 187, "y": 123 }, { "x": 187, "y": 146 }, { "x": 76, "y": 146 } ], "value": "学生2" }, { "prob": 0, "fieldWordRaw": "学生3", "wordInfo": [], "location": [ { "x": 76, "y": 146 }, { "x": 187, "y": 146 }, { "x": 187, "y": 169 }, { "x": 76, "y": 169 } ], "value": "学生3" }, { "prob": 0, "fieldWordRaw": "学生4", "wordInfo": [], "location": [ { "x": 76, "y": 169 }, { "x": 187, "y": 169 }, { "x": 187, "y": 191 }, { "x": 76, "y": 191 } ], "value": "学生4" }, { "prob": 0, "fieldWordRaw": "学生5", "wordInfo": [], "location": [ { "x": 76, "y": 191 }, { "x": 187, "y": 191 }, { "x": 187, "y": 215 }, { "x": 76, "y": 215 } ], "value": "学生5" }, { "prob": 0, "fieldWordRaw": "学生6", "wordInfo": [], "location": [ { "x": 76, "y": 215 }, { "x": 187, "y": 215 }, { "x": 187, "y": 238 }, { "x": 76, "y": 238 } ], "value": "学生6" }, { "prob": 0, "fieldWordRaw": "学生7", "wordInfo": [], "location": [ { "x": 76, "y": 238 }, { "x": 187, "y": 238 }, { "x": 187, "y": 261 }, { "x": 76, "y": 261 } ], "value": "学生7" }, { "prob": 0, "fieldWordRaw": "学生8", "wordInfo": [], "location": [ { "x": 76, "y": 261 }, { "x": 187, "y": 261 }, { "x": 187, "y": 283 }, { "x": 76, "y": 283 } ], "value": "学生8" }, { "prob": 0, "fieldWordRaw": "学生9", "wordInfo": [], "location": [ { "x": 76, "y": 283 }, { "x": 187, "y": 283 }, { "x": 187, "y": 307 }, { "x": 76, "y": 307 } ], "value": "学生9" }, { "prob": 0, "fieldWordRaw": "学生10", "wordInfo": [], "location": [ { "x": 76, "y": 307 }, { "x": 187, "y": 307 }, { "x": 187, "y": 330 }, { "x": 76, "y": 330 } ], "value": "学生10" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 330 }, { "x": 187, "y": 330 }, { "x": 187, "y": 352 }, { "x": 76, "y": 352 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 352 }, { "x": 187, "y": 352 }, { "x": 187, "y": 375 }, { "x": 76, "y": 375 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 375 }, { "x": 187, "y": 375 }, { "x": 187, "y": 399 }, { "x": 76, "y": 399 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 399 }, { "x": 187, "y": 399 }, { "x": 187, "y": 422 }, { "x": 76, "y": 422 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 422 }, { "x": 187, "y": 422 }, { "x": 187, "y": 444 }, { "x": 76, "y": 444 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 444 }, { "x": 187, "y": 444 }, { "x": 187, "y": 467 }, { "x": 76, "y": 467 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 467 }, { "x": 187, "y": 467 }, { "x": 187, "y": 491 }, { "x": 76, "y": 491 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 491 }, { "x": 187, "y": 491 }, { "x": 187, "y": 514 }, { "x": 76, "y": 514 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 514 }, { "x": 187, "y": 514 }, { "x": 187, "y": 536 }, { "x": 76, "y": 536 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 76, "y": 536 }, { "x": 187, "y": 536 }, { "x": 187, "y": 559 }, { "x": 76, "y": 559 } ], "value": "" } ], "header_box": [ { "x": 96, "y": 79 }, { "x": 162, "y": 79 }, { "x": 162, "y": 98 }, { "x": 96, "y": 98 } ], "col_name": "name" }, { "header_value": "性别", "bodies": [ { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 100 }, { "x": 296, "y": 100 }, { "x": 296, "y": 123 }, { "x": 187, "y": 123 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 123 }, { "x": 296, "y": 123 }, { "x": 296, "y": 146 }, { "x": 187, "y": 146 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 146 }, { "x": 296, "y": 146 }, { "x": 296, "y": 169 }, { "x": 187, "y": 169 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 169 }, { "x": 296, "y": 169 }, { "x": 296, "y": 191 }, { "x": 187, "y": 191 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 191 }, { "x": 296, "y": 191 }, { "x": 296, "y": 215 }, { "x": 187, "y": 215 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "男", "wordInfo": [], "location": [ { "x": 187, "y": 215 }, { "x": 296, "y": 215 }, { "x": 296, "y": 238 }, { "x": 187, "y": 238 } ], "value": "男" }, { "prob": 0, "fieldWordRaw": "女", "wordInfo": [], "location": [ { "x": 187, "y": 238 }, { "x": 296, "y": 238 }, { "x": 296, "y": 261 }, { "x": 187, "y": 261 } ], "value": "女" }, { "prob": 0, "fieldWordRaw": "女", "wordInfo": [], "location": [ { "x": 187, "y": 261 }, { "x": 296, "y": 261 }, { "x": 296, "y": 283 }, { "x": 187, "y": 283 } ], "value": "女" }, { "prob": 0, "fieldWordRaw": "女", "wordInfo": [], "location": [ { "x": 187, "y": 283 }, { "x": 296, "y": 283 }, { "x": 296, "y": 307 }, { "x": 187, "y": 307 } ], "value": "女" }, { "prob": 0, "fieldWordRaw": "女", "wordInfo": [], "location": [ { "x": 187, "y": 307 }, { "x": 296, "y": 307 }, { "x": 296, "y": 330 }, { "x": 187, "y": 330 } ], "value": "女" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 330 }, { "x": 296, "y": 330 }, { "x": 296, "y": 352 }, { "x": 187, "y": 352 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 352 }, { "x": 296, "y": 352 }, { "x": 296, "y": 375 }, { "x": 187, "y": 375 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 375 }, { "x": 296, "y": 375 }, { "x": 296, "y": 399 }, { "x": 187, "y": 399 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 399 }, { "x": 296, "y": 399 }, { "x": 296, "y": 422 }, { "x": 187, "y": 422 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 422 }, { "x": 296, "y": 422 }, { "x": 296, "y": 444 }, { "x": 187, "y": 444 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 444 }, { "x": 296, "y": 444 }, { "x": 296, "y": 467 }, { "x": 187, "y": 467 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 467 }, { "x": 296, "y": 467 }, { "x": 296, "y": 491 }, { "x": 187, "y": 491 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 491 }, { "x": 296, "y": 491 }, { "x": 296, "y": 514 }, { "x": 187, "y": 514 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 514 }, { "x": 296, "y": 514 }, { "x": 296, "y": 536 }, { "x": 187, "y": 536 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 187, "y": 536 }, { "x": 296, "y": 536 }, { "x": 296, "y": 559 }, { "x": 187, "y": 559 } ], "value": "" } ], "header_box": [ { "x": 210, "y": 78 }, { "x": 267, "y": 78 }, { "x": 267, "y": 100 }, { "x": 210, "y": 100 } ], "col_name": "sex" }, { "header_value": "档案号", "bodies": [ { "prob": 0, "fieldWordRaw": "D001", "wordInfo": [], "location": [ { "x": 406, "y": 100 }, { "x": 520, "y": 100 }, { "x": 520, "y": 123 }, { "x": 406, "y": 123 } ], "value": "D001" }, { "prob": 0, "fieldWordRaw": "D002", "wordInfo": [], "location": [ { "x": 406, "y": 123 }, { "x": 520, "y": 123 }, { "x": 520, "y": 146 }, { "x": 406, "y": 146 } ], "value": "D002" }, { "prob": 0, "fieldWordRaw": "D003", "wordInfo": [], "location": [ { "x": 406, "y": 146 }, { "x": 520, "y": 146 }, { "x": 520, "y": 169 }, { "x": 406, "y": 169 } ], "value": "D003" }, { "prob": 0, "fieldWordRaw": "D004", "wordInfo": [], "location": [ { "x": 406, "y": 169 }, { "x": 520, "y": 169 }, { "x": 520, "y": 191 }, { "x": 406, "y": 191 } ], "value": "D004" }, { "prob": 0, "fieldWordRaw": "D005", "wordInfo": [], "location": [ { "x": 406, "y": 191 }, { "x": 520, "y": 191 }, { "x": 520, "y": 215 }, { "x": 406, "y": 215 } ], "value": "D005" }, { "prob": 0, "fieldWordRaw": "D006", "wordInfo": [], "location": [ { "x": 406, "y": 215 }, { "x": 520, "y": 215 }, { "x": 520, "y": 238 }, { "x": 406, "y": 238 } ], "value": "D006" }, { "prob": 0, "fieldWordRaw": "D007", "wordInfo": [], "location": [ { "x": 406, "y": 238 }, { "x": 520, "y": 238 }, { "x": 520, "y": 261 }, { "x": 406, "y": 261 } ], "value": "D007" }, { "prob": 0, "fieldWordRaw": "D008", "wordInfo": [], "location": [ { "x": 406, "y": 261 }, { "x": 520, "y": 261 }, { "x": 520, "y": 283 }, { "x": 406, "y": 283 } ], "value": "D008" }, { "prob": 0, "fieldWordRaw": "D009", "wordInfo": [], "location": [ { "x": 406, "y": 283 }, { "x": 520, "y": 283 }, { "x": 520, "y": 307 }, { "x": 406, "y": 307 } ], "value": "D009" }, { "prob": 0, "fieldWordRaw": "D010", "wordInfo": [], "location": [ { "x": 406, "y": 307 }, { "x": 520, "y": 307 }, { "x": 520, "y": 330 }, { "x": 406, "y": 330 } ], "value": "D010" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 330 }, { "x": 520, "y": 330 }, { "x": 520, "y": 352 }, { "x": 406, "y": 352 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 352 }, { "x": 520, "y": 352 }, { "x": 520, "y": 375 }, { "x": 406, "y": 375 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 375 }, { "x": 520, "y": 375 }, { "x": 520, "y": 398 }, { "x": 406, "y": 398 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 398 }, { "x": 520, "y": 398 }, { "x": 520, "y": 422 }, { "x": 406, "y": 422 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 422 }, { "x": 520, "y": 422 }, { "x": 520, "y": 444 }, { "x": 406, "y": 444 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 444 }, { "x": 520, "y": 444 }, { "x": 520, "y": 467 }, { "x": 406, "y": 467 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 467 }, { "x": 520, "y": 467 }, { "x": 520, "y": 491 }, { "x": 406, "y": 491 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 491 }, { "x": 520, "y": 491 }, { "x": 520, "y": 514 }, { "x": 406, "y": 514 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 514 }, { "x": 520, "y": 514 }, { "x": 520, "y": 536 }, { "x": 406, "y": 536 } ], "value": "" }, { "prob": 0, "fieldWordRaw": "", "wordInfo": [], "location": [ { "x": 406, "y": 536 }, { "x": 520, "y": 536 }, { "x": 520, "y": 559 }, { "x": 406, "y": 559 } ], "value": "" } ], "header_box": [ { "x": 430, "y": 78 }, { "x": 493, "y": 78 }, { "x": 493, "y": 99 }, { "x": 430, "y": 99 } ], "col_name": "ID" } ], "table_id": 1675670984484 } ], "code": 0, "data": [ { "prob": 0.99, "fieldWordRaw": "班级:初二3班", "wordInfo": [ { "prob": 0.99, "pos": [ { "x": 2, "y": 34 }, { "x": 124, "y": 34 }, { "x": 124, "y": 51 }, { "x": 2, "y": 51 } ], "word": "班级:初二3班", "charInfo": [ { "prob": 0.99, "pos": [ { "x": 2, "y": 34 }, { "x": 18, "y": 34 }, { "x": 18, "y": 48 }, { "x": 2, "y": 48 } ], "word": "班" }, { "prob": 0.99, "pos": [ { "x": 18, "y": 34 }, { "x": 32, "y": 34 }, { "x": 32, "y": 48 }, { "x": 18, "y": 48 } ], "word": "级" }, { "prob": 0.99, "pos": [ { "x": 34, "y": 34 }, { "x": 50, "y": 34 }, { "x": 50, "y": 48 }, { "x": 34, "y": 48 } ], "word": ":" }, { "prob": 0.99, "pos": [ { "x": 52, "y": 34 }, { "x": 71, "y": 34 }, { "x": 71, "y": 48 }, { "x": 52, "y": 48 } ], "word": "初" }, { "prob": 0.99, "pos": [ { "x": 72, "y": 34 }, { "x": 88, "y": 34 }, { "x": 88, "y": 48 }, { "x": 72, "y": 48 } ], "word": "二" }, { "prob": 0.99, "pos": [ { "x": 90, "y": 34 }, { "x": 100, "y": 34 }, { "x": 100, "y": 48 }, { "x": 90, "y": 48 } ], "word": "3" }, { "prob": 0.99, "pos": [ { "x": 103, "y": 34 }, { "x": 124, "y": 34 }, { "x": 124, "y": 48 }, { "x": 103, "y": 48 } ], "word": "班" } ] } ], "name": "班级", "location": [ { "x": 1, "y": 30 }, { "x": 1102, "y": 30 }, { "x": 1102, "y": 54 }, { "x": 1, "y": 54 } ], "fieldWord": "班级:初二3班" } ], "specificType": "infoCustomeTableTemp", "className": "自定义表格模板测试cz02064-学生名", "originalFileUrl": "https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D", "templateID": "269_2b6819527769749d962bf51d034b1820", "message": "", "classType": "template", "predictFile": "https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D" } |
| Message |
string |
The response message. A value of success indicates a successful request. |
success |
The classifier service prediction API returns the following fields in the Data object:
score The confidence score for the prediction service, a value from 0 to 1.
data An array of prediction results from the algorithm.
tables Prediction results for the table area.
prob The confidence score for the algorithm result, a value from 0 to 1.
fieldName The extracted key of a key-value pair.
fieldWord The extracted value of a key-value pair.
location The coordinates of the extracted content. For example, `{ "x": 119,"y": 48 }` represents a point on the page.
wordInfo Detailed information about the extracted content, including location information for each character.
specificType The algorithm type. Valid values are:
• infoCustomeKvTemp: custom KV template
• infoCustomeTableTemp: custom table template
• ocr_infoExtractBill: OCR-based information extraction
• infoExtractBill: form and receipt extraction
• infoExtractDoc: long-document information extraction
classType The type of prediction service, either a model prediction service or a template prediction service.
predictFile The prediction file URL. This URL is valid for 60 minutes.
Examples
Success response
JSON format
{
"RequestId": "232B91A8-9938-5C10-B522-127D1E342A57",
"Code": 200,
"Data": {
"score": 1,
"classID": "269_2b6819527769749d962bf51d034b1820",
"tables": [
{
"columns": [
{
"header_value": "姓名",
"bodies": [
{
"prob": 0,
"fieldWordRaw": "学生1",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 99
},
{
"x": 187,
"y": 99
},
{
"x": 187,
"y": 123
},
{
"x": 76,
"y": 123
}
],
"value": "学生1"
},
{
"prob": 0,
"fieldWordRaw": "学生2",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 123
},
{
"x": 187,
"y": 123
},
{
"x": 187,
"y": 146
},
{
"x": 76,
"y": 146
}
],
"value": "学生2"
},
{
"prob": 0,
"fieldWordRaw": "学生3",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 146
},
{
"x": 187,
"y": 146
},
{
"x": 187,
"y": 169
},
{
"x": 76,
"y": 169
}
],
"value": "学生3"
},
{
"prob": 0,
"fieldWordRaw": "学生4",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 169
},
{
"x": 187,
"y": 169
},
{
"x": 187,
"y": 191
},
{
"x": 76,
"y": 191
}
],
"value": "学生4"
},
{
"prob": 0,
"fieldWordRaw": "学生5",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 191
},
{
"x": 187,
"y": 191
},
{
"x": 187,
"y": 215
},
{
"x": 76,
"y": 215
}
],
"value": "学生5"
},
{
"prob": 0,
"fieldWordRaw": "学生6",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 215
},
{
"x": 187,
"y": 215
},
{
"x": 187,
"y": 238
},
{
"x": 76,
"y": 238
}
],
"value": "学生6"
},
{
"prob": 0,
"fieldWordRaw": "学生7",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 238
},
{
"x": 187,
"y": 238
},
{
"x": 187,
"y": 261
},
{
"x": 76,
"y": 261
}
],
"value": "学生7"
},
{
"prob": 0,
"fieldWordRaw": "学生8",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 261
},
{
"x": 187,
"y": 261
},
{
"x": 187,
"y": 283
},
{
"x": 76,
"y": 283
}
],
"value": "学生8"
},
{
"prob": 0,
"fieldWordRaw": "学生9",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 283
},
{
"x": 187,
"y": 283
},
{
"x": 187,
"y": 307
},
{
"x": 76,
"y": 307
}
],
"value": "学生9"
},
{
"prob": 0,
"fieldWordRaw": "学生10",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 307
},
{
"x": 187,
"y": 307
},
{
"x": 187,
"y": 330
},
{
"x": 76,
"y": 330
}
],
"value": "学生10"
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 330
},
{
"x": 187,
"y": 330
},
{
"x": 187,
"y": 352
},
{
"x": 76,
"y": 352
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 352
},
{
"x": 187,
"y": 352
},
{
"x": 187,
"y": 375
},
{
"x": 76,
"y": 375
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 375
},
{
"x": 187,
"y": 375
},
{
"x": 187,
"y": 399
},
{
"x": 76,
"y": 399
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 399
},
{
"x": 187,
"y": 399
},
{
"x": 187,
"y": 422
},
{
"x": 76,
"y": 422
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 422
},
{
"x": 187,
"y": 422
},
{
"x": 187,
"y": 444
},
{
"x": 76,
"y": 444
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 444
},
{
"x": 187,
"y": 444
},
{
"x": 187,
"y": 467
},
{
"x": 76,
"y": 467
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 467
},
{
"x": 187,
"y": 467
},
{
"x": 187,
"y": 491
},
{
"x": 76,
"y": 491
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 491
},
{
"x": 187,
"y": 491
},
{
"x": 187,
"y": 514
},
{
"x": 76,
"y": 514
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 514
},
{
"x": 187,
"y": 514
},
{
"x": 187,
"y": 536
},
{
"x": 76,
"y": 536
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 76,
"y": 536
},
{
"x": 187,
"y": 536
},
{
"x": 187,
"y": 559
},
{
"x": 76,
"y": 559
}
],
"value": ""
}
],
"header_box": [
{
"x": 96,
"y": 79
},
{
"x": 162,
"y": 79
},
{
"x": 162,
"y": 98
},
{
"x": 96,
"y": 98
}
],
"col_name": "name"
},
{
"header_value": "性别",
"bodies": [
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 100
},
{
"x": 296,
"y": 100
},
{
"x": 296,
"y": 123
},
{
"x": 187,
"y": 123
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 123
},
{
"x": 296,
"y": 123
},
{
"x": 296,
"y": 146
},
{
"x": 187,
"y": 146
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 146
},
{
"x": 296,
"y": 146
},
{
"x": 296,
"y": 169
},
{
"x": 187,
"y": 169
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 169
},
{
"x": 296,
"y": 169
},
{
"x": 296,
"y": 191
},
{
"x": 187,
"y": 191
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 191
},
{
"x": 296,
"y": 191
},
{
"x": 296,
"y": 215
},
{
"x": 187,
"y": 215
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "男",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 215
},
{
"x": 296,
"y": 215
},
{
"x": 296,
"y": 238
},
{
"x": 187,
"y": 238
}
],
"value": "男"
},
{
"prob": 0,
"fieldWordRaw": "女",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 238
},
{
"x": 296,
"y": 238
},
{
"x": 296,
"y": 261
},
{
"x": 187,
"y": 261
}
],
"value": "女"
},
{
"prob": 0,
"fieldWordRaw": "女",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 261
},
{
"x": 296,
"y": 261
},
{
"x": 296,
"y": 283
},
{
"x": 187,
"y": 283
}
],
"value": "女"
},
{
"prob": 0,
"fieldWordRaw": "女",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 283
},
{
"x": 296,
"y": 283
},
{
"x": 296,
"y": 307
},
{
"x": 187,
"y": 307
}
],
"value": "女"
},
{
"prob": 0,
"fieldWordRaw": "女",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 307
},
{
"x": 296,
"y": 307
},
{
"x": 296,
"y": 330
},
{
"x": 187,
"y": 330
}
],
"value": "女"
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 330
},
{
"x": 296,
"y": 330
},
{
"x": 296,
"y": 352
},
{
"x": 187,
"y": 352
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 352
},
{
"x": 296,
"y": 352
},
{
"x": 296,
"y": 375
},
{
"x": 187,
"y": 375
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 375
},
{
"x": 296,
"y": 375
},
{
"x": 296,
"y": 399
},
{
"x": 187,
"y": 399
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 399
},
{
"x": 296,
"y": 399
},
{
"x": 296,
"y": 422
},
{
"x": 187,
"y": 422
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 422
},
{
"x": 296,
"y": 422
},
{
"x": 296,
"y": 444
},
{
"x": 187,
"y": 444
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 444
},
{
"x": 296,
"y": 444
},
{
"x": 296,
"y": 467
},
{
"x": 187,
"y": 467
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 467
},
{
"x": 296,
"y": 467
},
{
"x": 296,
"y": 491
},
{
"x": 187,
"y": 491
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 491
},
{
"x": 296,
"y": 491
},
{
"x": 296,
"y": 514
},
{
"x": 187,
"y": 514
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 514
},
{
"x": 296,
"y": 514
},
{
"x": 296,
"y": 536
},
{
"x": 187,
"y": 536
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 187,
"y": 536
},
{
"x": 296,
"y": 536
},
{
"x": 296,
"y": 559
},
{
"x": 187,
"y": 559
}
],
"value": ""
}
],
"header_box": [
{
"x": 210,
"y": 78
},
{
"x": 267,
"y": 78
},
{
"x": 267,
"y": 100
},
{
"x": 210,
"y": 100
}
],
"col_name": "sex"
},
{
"header_value": "档案号",
"bodies": [
{
"prob": 0,
"fieldWordRaw": "D001",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 100
},
{
"x": 520,
"y": 100
},
{
"x": 520,
"y": 123
},
{
"x": 406,
"y": 123
}
],
"value": "D001"
},
{
"prob": 0,
"fieldWordRaw": "D002",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 123
},
{
"x": 520,
"y": 123
},
{
"x": 520,
"y": 146
},
{
"x": 406,
"y": 146
}
],
"value": "D002"
},
{
"prob": 0,
"fieldWordRaw": "D003",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 146
},
{
"x": 520,
"y": 146
},
{
"x": 520,
"y": 169
},
{
"x": 406,
"y": 169
}
],
"value": "D003"
},
{
"prob": 0,
"fieldWordRaw": "D004",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 169
},
{
"x": 520,
"y": 169
},
{
"x": 520,
"y": 191
},
{
"x": 406,
"y": 191
}
],
"value": "D004"
},
{
"prob": 0,
"fieldWordRaw": "D005",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 191
},
{
"x": 520,
"y": 191
},
{
"x": 520,
"y": 215
},
{
"x": 406,
"y": 215
}
],
"value": "D005"
},
{
"prob": 0,
"fieldWordRaw": "D006",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 215
},
{
"x": 520,
"y": 215
},
{
"x": 520,
"y": 238
},
{
"x": 406,
"y": 238
}
],
"value": "D006"
},
{
"prob": 0,
"fieldWordRaw": "D007",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 238
},
{
"x": 520,
"y": 238
},
{
"x": 520,
"y": 261
},
{
"x": 406,
"y": 261
}
],
"value": "D007"
},
{
"prob": 0,
"fieldWordRaw": "D008",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 261
},
{
"x": 520,
"y": 261
},
{
"x": 520,
"y": 283
},
{
"x": 406,
"y": 283
}
],
"value": "D008"
},
{
"prob": 0,
"fieldWordRaw": "D009",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 283
},
{
"x": 520,
"y": 283
},
{
"x": 520,
"y": 307
},
{
"x": 406,
"y": 307
}
],
"value": "D009"
},
{
"prob": 0,
"fieldWordRaw": "D010",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 307
},
{
"x": 520,
"y": 307
},
{
"x": 520,
"y": 330
},
{
"x": 406,
"y": 330
}
],
"value": "D010"
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 330
},
{
"x": 520,
"y": 330
},
{
"x": 520,
"y": 352
},
{
"x": 406,
"y": 352
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 352
},
{
"x": 520,
"y": 352
},
{
"x": 520,
"y": 375
},
{
"x": 406,
"y": 375
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 375
},
{
"x": 520,
"y": 375
},
{
"x": 520,
"y": 398
},
{
"x": 406,
"y": 398
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 398
},
{
"x": 520,
"y": 398
},
{
"x": 520,
"y": 422
},
{
"x": 406,
"y": 422
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 422
},
{
"x": 520,
"y": 422
},
{
"x": 520,
"y": 444
},
{
"x": 406,
"y": 444
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 444
},
{
"x": 520,
"y": 444
},
{
"x": 520,
"y": 467
},
{
"x": 406,
"y": 467
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 467
},
{
"x": 520,
"y": 467
},
{
"x": 520,
"y": 491
},
{
"x": 406,
"y": 491
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 491
},
{
"x": 520,
"y": 491
},
{
"x": 520,
"y": 514
},
{
"x": 406,
"y": 514
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 514
},
{
"x": 520,
"y": 514
},
{
"x": 520,
"y": 536
},
{
"x": 406,
"y": 536
}
],
"value": ""
},
{
"prob": 0,
"fieldWordRaw": "",
"wordInfo": [],
"location": [
{
"x": 406,
"y": 536
},
{
"x": 520,
"y": 536
},
{
"x": 520,
"y": 559
},
{
"x": 406,
"y": 559
}
],
"value": ""
}
],
"header_box": [
{
"x": 430,
"y": 78
},
{
"x": 493,
"y": 78
},
{
"x": 493,
"y": 99
},
{
"x": 430,
"y": 99
}
],
"col_name": "ID"
}
],
"table_id": 1675670984484
}
],
"code": 0,
"data": [
{
"prob": 0.99,
"fieldWordRaw": "班级:初二3班",
"wordInfo": [
{
"prob": 0.99,
"pos": [
{
"x": 2,
"y": 34
},
{
"x": 124,
"y": 34
},
{
"x": 124,
"y": 51
},
{
"x": 2,
"y": 51
}
],
"word": "班级:初二3班",
"charInfo": [
{
"prob": 0.99,
"pos": [
{
"x": 2,
"y": 34
},
{
"x": 18,
"y": 34
},
{
"x": 18,
"y": 48
},
{
"x": 2,
"y": 48
}
],
"word": "班"
},
{
"prob": 0.99,
"pos": [
{
"x": 18,
"y": 34
},
{
"x": 32,
"y": 34
},
{
"x": 32,
"y": 48
},
{
"x": 18,
"y": 48
}
],
"word": "级"
},
{
"prob": 0.99,
"pos": [
{
"x": 34,
"y": 34
},
{
"x": 50,
"y": 34
},
{
"x": 50,
"y": 48
},
{
"x": 34,
"y": 48
}
],
"word": ":"
},
{
"prob": 0.99,
"pos": [
{
"x": 52,
"y": 34
},
{
"x": 71,
"y": 34
},
{
"x": 71,
"y": 48
},
{
"x": 52,
"y": 48
}
],
"word": "初"
},
{
"prob": 0.99,
"pos": [
{
"x": 72,
"y": 34
},
{
"x": 88,
"y": 34
},
{
"x": 88,
"y": 48
},
{
"x": 72,
"y": 48
}
],
"word": "二"
},
{
"prob": 0.99,
"pos": [
{
"x": 90,
"y": 34
},
{
"x": 100,
"y": 34
},
{
"x": 100,
"y": 48
},
{
"x": 90,
"y": 48
}
],
"word": "3"
},
{
"prob": 0.99,
"pos": [
{
"x": 103,
"y": 34
},
{
"x": 124,
"y": 34
},
{
"x": 124,
"y": 48
},
{
"x": 103,
"y": 48
}
],
"word": "班"
}
]
}
],
"name": "班级",
"location": [
{
"x": 1,
"y": 30
},
{
"x": 1102,
"y": 30
},
{
"x": 1102,
"y": 54
},
{
"x": 1,
"y": 54
}
],
"fieldWord": "班级:初二3班"
}
],
"specificType": "infoCustomeTableTemp",
"className": "自定义表格模板测试cz02064-学生名",
"originalFileUrl": "https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D",
"templateID": "269_2b6819527769749d962bf51d034b1820",
"message": "",
"classType": "template",
"predictFile": "https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D"
},
"Message": "success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 200 | 21002 | 模板预测超时 | |
| 200 | 21003 | 模板预测失败 | |
| 200 | 21004 | 模板提交失败 | |
| 200 | 10001 | 参数出错 | |
| 200 | 10002 | 没有权限 | |
| 200 | 10003 | 非法状态 | |
| 200 | 10005 | 服务不存在 | |
| 200 | 21018 | 未找到模板信息 | |
| 200 | 16001 | 未找到可预测的模型 | |
| 200 | 16004 | 指定的模型不存在 | |
| 200 | 23002 | 获取资源HTTP异常 | |
| 200 | 22002 | ocr服务异常 | |
| 200 | 11002 | 账号没有开通服务 | |
| 200 | 19999 | 未知异常 |
See Error CodesError Codes for a complete list.
Release notes
See Release NotesRelease Notes for a complete list.