Files
docling/tests/data_scanned/groundtruth/docling_v2/ocr_test.pages.json
Nikos Livathinos 784283a50a chore: Update test data for Heron in Linux
Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>
2025-08-27 14:37:47 +00:00

311 lines
9.0 KiB
JSON
Vendored

[
{
"page_no": 0,
"size": {
"width": 595.2,
"height": 841.92
},
"predictions": {
"layout": {
"clusters": [
{
"id": 0,
"label": "text",
"bbox": {
"l": 69.0,
"t": 74.67,
"r": 506.67,
"b": 153.33,
"coord_origin": "TOPLEFT"
},
"confidence": 0.862,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 71.33,
"r_y0": 99.33,
"r_x1": 506.67,
"r_y1": 99.33,
"r_x2": 506.67,
"r_y2": 74.67,
"r_x3": 71.33,
"r_y3": 74.67,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 0.937,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 69.0,
"r_y0": 126.67,
"r_x1": 506.67,
"r_y1": 126.67,
"r_x2": 506.67,
"r_y2": 100.67,
"r_x3": 69.0,
"r_y3": 100.67,
"coord_origin": "TOPLEFT"
},
"text": "JSON and Markdown in an easy self contained",
"orig": "JSON and Markdown in an easy self contained",
"text_direction": "left_to_right",
"confidence": 0.939,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 70.67,
"r_y0": 153.33,
"r_x1": 154.0,
"r_y1": 153.33,
"r_x2": 154.0,
"r_y2": 128.67,
"r_x3": 70.67,
"r_y3": 128.67,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 0.709,
"from_ocr": true
}
],
"children": []
}
]
},
"tablestructure": {
"table_map": {}
},
"figures_classification": null,
"equations_prediction": null,
"vlm_response": null
},
"assembled": {
"elements": [
{
"label": "text",
"id": 0,
"page_no": 0,
"cluster": {
"id": 0,
"label": "text",
"bbox": {
"l": 69.0,
"t": 74.67,
"r": 506.67,
"b": 153.33,
"coord_origin": "TOPLEFT"
},
"confidence": 0.862,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 71.33,
"r_y0": 99.33,
"r_x1": 506.67,
"r_y1": 99.33,
"r_x2": 506.67,
"r_y2": 74.67,
"r_x3": 71.33,
"r_y3": 74.67,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 0.937,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 69.0,
"r_y0": 126.67,
"r_x1": 506.67,
"r_y1": 126.67,
"r_x2": 506.67,
"r_y2": 100.67,
"r_x3": 69.0,
"r_y3": 100.67,
"coord_origin": "TOPLEFT"
},
"text": "JSON and Markdown in an easy self contained",
"orig": "JSON and Markdown in an easy self contained",
"text_direction": "left_to_right",
"confidence": 0.939,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 70.67,
"r_y0": 153.33,
"r_x1": 154.0,
"r_y1": 153.33,
"r_x2": 154.0,
"r_y2": 128.67,
"r_x3": 70.67,
"r_y3": 128.67,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 0.709,
"from_ocr": true
}
],
"children": []
},
"text": "Docling bundles PDF document conversion to JSON and Markdown in an easy self contained package"
}
],
"body": [
{
"label": "text",
"id": 0,
"page_no": 0,
"cluster": {
"id": 0,
"label": "text",
"bbox": {
"l": 69.0,
"t": 74.67,
"r": 506.67,
"b": 153.33,
"coord_origin": "TOPLEFT"
},
"confidence": 0.862,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 71.33,
"r_y0": 99.33,
"r_x1": 506.67,
"r_y1": 99.33,
"r_x2": 506.67,
"r_y2": 74.67,
"r_x3": 71.33,
"r_y3": 74.67,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 0.937,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 69.0,
"r_y0": 126.67,
"r_x1": 506.67,
"r_y1": 126.67,
"r_x2": 506.67,
"r_y2": 100.67,
"r_x3": 69.0,
"r_y3": 100.67,
"coord_origin": "TOPLEFT"
},
"text": "JSON and Markdown in an easy self contained",
"orig": "JSON and Markdown in an easy self contained",
"text_direction": "left_to_right",
"confidence": 0.939,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 70.67,
"r_y0": 153.33,
"r_x1": 154.0,
"r_y1": 153.33,
"r_x2": 154.0,
"r_y2": 128.67,
"r_x3": 70.67,
"r_y3": 128.67,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 0.709,
"from_ocr": true
}
],
"children": []
},
"text": "Docling bundles PDF document conversion to JSON and Markdown in an easy self contained package"
}
],
"headers": []
},
"parsed_page": null
}
]