curl --location --request POST 'http://dev-cn.your-api-server.com/OCR/Model//LabelFile/' \
--form 'file=@""'
{
"message": "Success",
"result": [
{
"input": "string",
"message": "Success",
"prediction": [
{
"label": "category1",
"ocr_text": "string",
"score": 0.9,
"xmax": 100,
"xmin": 0,
"ymax": 100,
"ymin": 0
},
{
"cells": [
{
"col": 1,
"col_span": 1,
"label": "col 1",
"row": 1,
"row_span": 1,
"score": 99.99,
"text": "ocr text 1",
"xmax": 258,
"xmin": 159,
"ymax": 1357,
"ymin": 1258
},
{
"col": 2,
"col_span": 1,
"label": "col 2",
"row": 1,
"row_span": 1,
"score": 99.99,
"text": "ocr text 2",
"xmax": 380,
"xmin": 258,
"ymax": 1357,
"ymin": 1258
},
{
"col": 1,
"col_span": 1,
"label": "col 1",
"row": 2,
"row_span": 1,
"score": 99.99,
"text": "ocr text 3",
"xmax": 258,
"xmin": 159,
"ymax": 1439,
"ymin": 1357
},
{
"col": 2,
"col_span": 1,
"label": "col 2",
"row": 2,
"row_span": 1,
"score": 99.99902,
"text": "ocr text 4",
"xmax": 380,
"xmin": 258,
"ymax": 1439,
"ymin": 1357
}
],
"label": "",
"ocr_text": "table 1",
"score": 99.99,
"type": "table",
"xmax": 380,
"xmin": 159,
"ymax": 1439,
"ymin": 1258
}
]
}
]
}