364 lines
7.1 KiB
JSON
364 lines
7.1 KiB
JSON
{
|
|
"res": {
|
|
"input_path": "D:\\Dev\\ocr-VL1.6\\data\\images\\手写01.png",
|
|
"page_index": null,
|
|
"page_count": null,
|
|
"width": 1758,
|
|
"height": 646,
|
|
"model_settings": {
|
|
"use_doc_preprocessor": false,
|
|
"use_layout_detection": true,
|
|
"use_chart_recognition": false,
|
|
"use_seal_recognition": false,
|
|
"use_ocr_for_image_block": false,
|
|
"format_block_content": false,
|
|
"merge_layout_blocks": true,
|
|
"markdown_ignore_labels": [
|
|
"number",
|
|
"footnote",
|
|
"header",
|
|
"header_image",
|
|
"footer",
|
|
"footer_image",
|
|
"aside_text"
|
|
],
|
|
"return_layout_polygon_points": true
|
|
},
|
|
"parsing_res_list": [
|
|
{
|
|
"block_label": "text",
|
|
"block_content": "最优质的草场。但是这两年由于旱獭和草原黄鼠的逐年\n保护,人们的行为需要矫正。\n部分。末日的时刻。\n佛巴林卡塔尔等海",
|
|
"block_bbox": [
|
|
15,
|
|
1,
|
|
1027,
|
|
289
|
|
],
|
|
"block_id": 0,
|
|
"block_order": 1,
|
|
"group_id": 0,
|
|
"block_polygon_points": [
|
|
[
|
|
15.0,
|
|
1.0
|
|
],
|
|
[
|
|
1027.0,
|
|
1.0
|
|
],
|
|
[
|
|
1027.0,
|
|
289.0
|
|
],
|
|
[
|
|
15.0,
|
|
289.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"block_label": "text",
|
|
"block_content": "",
|
|
"block_bbox": [
|
|
1113,
|
|
0,
|
|
1697,
|
|
254
|
|
],
|
|
"block_id": 1,
|
|
"block_order": 2,
|
|
"group_id": 0,
|
|
"block_polygon_points": [
|
|
[
|
|
1113.0,
|
|
-3.0
|
|
],
|
|
[
|
|
1697.0,
|
|
-3.0
|
|
],
|
|
[
|
|
1697.0,
|
|
254.0
|
|
],
|
|
[
|
|
1113.0,
|
|
254.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"block_label": "text",
|
|
"block_content": "很多消费者没有认识到医学验光的重要性,导致诸多后果。\n特许商品的销售便逐渐升温。文化软实力作出重要贡献。",
|
|
"block_bbox": [
|
|
18,
|
|
327,
|
|
1758,
|
|
640
|
|
],
|
|
"block_id": 2,
|
|
"block_order": 3,
|
|
"group_id": 2,
|
|
"block_polygon_points": [
|
|
[
|
|
18.0,
|
|
327.0
|
|
],
|
|
[
|
|
1758.0,
|
|
327.0
|
|
],
|
|
[
|
|
1758.0,
|
|
640.0
|
|
],
|
|
[
|
|
18.0,
|
|
640.0
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"layout_det_res": {
|
|
"input_path": null,
|
|
"page_index": null,
|
|
"boxes": [
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.6567577123641968,
|
|
"coordinate": [
|
|
15,
|
|
1,
|
|
1027,
|
|
289
|
|
],
|
|
"order": 1,
|
|
"polygon_points": [
|
|
[
|
|
15.0,
|
|
1.0
|
|
],
|
|
[
|
|
1027.0,
|
|
1.0
|
|
],
|
|
[
|
|
1027.0,
|
|
289.0
|
|
],
|
|
[
|
|
15.0,
|
|
289.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.3265937566757202,
|
|
"coordinate": [
|
|
1122,
|
|
0,
|
|
1698,
|
|
125
|
|
],
|
|
"order": 2,
|
|
"polygon_points": [
|
|
[
|
|
1122.0,
|
|
-1.0
|
|
],
|
|
[
|
|
1698.0,
|
|
-1.0
|
|
],
|
|
[
|
|
1698.0,
|
|
125.0
|
|
],
|
|
[
|
|
1122.0,
|
|
125.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.39340317249298096,
|
|
"coordinate": [
|
|
1113,
|
|
0,
|
|
1697,
|
|
254
|
|
],
|
|
"order": 3,
|
|
"polygon_points": [
|
|
[
|
|
1113.0,
|
|
-3.0
|
|
],
|
|
[
|
|
1697.0,
|
|
-3.0
|
|
],
|
|
[
|
|
1697.0,
|
|
254.0
|
|
],
|
|
[
|
|
1113.0,
|
|
254.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.3441658616065979,
|
|
"coordinate": [
|
|
27,
|
|
331,
|
|
1372,
|
|
460
|
|
],
|
|
"order": 4,
|
|
"polygon_points": [
|
|
[
|
|
26.872575759887695,
|
|
339.82818603515625
|
|
],
|
|
[
|
|
1370.701171875,
|
|
327.748779296875
|
|
],
|
|
[
|
|
1371.77294921875,
|
|
446.9930419921875
|
|
],
|
|
[
|
|
27.9443359375,
|
|
459.07244873046875
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.411662220954895,
|
|
"coordinate": [
|
|
18,
|
|
327,
|
|
1758,
|
|
640
|
|
],
|
|
"order": 5,
|
|
"polygon_points": [
|
|
[
|
|
18.0,
|
|
327.0
|
|
],
|
|
[
|
|
1758.0,
|
|
327.0
|
|
],
|
|
[
|
|
1758.0,
|
|
640.0
|
|
],
|
|
[
|
|
18.0,
|
|
640.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.42693009972572327,
|
|
"coordinate": [
|
|
27,
|
|
492,
|
|
842,
|
|
638
|
|
],
|
|
"order": 6,
|
|
"polygon_points": [
|
|
[
|
|
27.0,
|
|
502.0
|
|
],
|
|
[
|
|
27.0,
|
|
580.0
|
|
],
|
|
[
|
|
45.0,
|
|
590.0
|
|
],
|
|
[
|
|
281.0,
|
|
593.0
|
|
],
|
|
[
|
|
650.0,
|
|
631.0
|
|
],
|
|
[
|
|
841.0,
|
|
631.0
|
|
],
|
|
[
|
|
833.0,
|
|
569.0
|
|
],
|
|
[
|
|
798.0,
|
|
546.0
|
|
],
|
|
[
|
|
430.0,
|
|
508.0
|
|
],
|
|
[
|
|
36.0,
|
|
492.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"cls_id": 22,
|
|
"label": "text",
|
|
"score": 0.3693902790546417,
|
|
"coordinate": [
|
|
1037,
|
|
491,
|
|
1758,
|
|
634
|
|
],
|
|
"order": 7,
|
|
"polygon_points": [
|
|
[
|
|
1037.260009765625,
|
|
487.0445556640625
|
|
],
|
|
[
|
|
1763.053955078125,
|
|
504.2623291015625
|
|
],
|
|
[
|
|
1760.0,
|
|
633.0001220703125
|
|
],
|
|
[
|
|
1034.2060546875,
|
|
615.7823486328125
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"source_type": "image_ocr"
|
|
}
|
|
} |