docling/tests/data/webp/groundtruth/docling_v2/webp-test.pages.json
Christoph Auer 1a5ee2c0ce Update test GT
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2025-07-23 14:05:30 +02:00

463 lines
13 KiB
JSON
Vendored

[
{
"page_no": 0,
"size": {
"width": 2000.0,
"height": 2829.0
},
"parsed_page": {
"dimension": {
"angle": 0.0,
"rect": {
"r_x0": 0.0,
"r_y0": 0.0,
"r_x1": 2000.0,
"r_y1": 0.0,
"r_x2": 2000.0,
"r_y2": 2829.0,
"r_x3": 0.0,
"r_y3": 2829.0,
"coord_origin": "BOTTOMLEFT"
},
"boundary_type": "crop_box",
"art_bbox": {
"l": 0.0,
"t": 2829.0,
"r": 2000.0,
"b": 0.0,
"coord_origin": "BOTTOMLEFT"
},
"bleed_bbox": {
"l": 0.0,
"t": 2829.0,
"r": 2000.0,
"b": 0.0,
"coord_origin": "BOTTOMLEFT"
},
"crop_bbox": {
"l": 0.0,
"t": 2829.0,
"r": 2000.0,
"b": 0.0,
"coord_origin": "BOTTOMLEFT"
},
"media_bbox": {
"l": 0.0,
"t": 2829.0,
"r": 2000.0,
"b": 0.0,
"coord_origin": "BOTTOMLEFT"
},
"trim_bbox": {
"l": 0.0,
"t": 2829.0,
"r": 2000.0,
"b": 0.0,
"coord_origin": "BOTTOMLEFT"
}
},
"bitmap_resources": [
{
"index": 0,
"rect": {
"r_x0": 0.0,
"r_y0": 0.0,
"r_x1": 2000.0,
"r_y1": 0.0,
"r_x2": 2000.0,
"r_y2": 2829.0,
"r_x3": 0.0,
"r_y3": 2829.0,
"coord_origin": "BOTTOMLEFT"
},
"uri": null
}
],
"char_cells": [],
"word_cells": [],
"textline_cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 246.41,
"r_y0": 329.07,
"r_x1": 1691.99,
"r_y1": 329.07,
"r_x2": 1691.99,
"r_y2": 258.9,
"r_x3": 246.41,
"r_y3": 258.9,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 234.09,
"r_y0": 419.58,
"r_x1": 1696.1,
"r_y1": 419.58,
"r_x2": 1696.1,
"r_y2": 349.42,
"r_x3": 234.09,
"r_y3": 349.42,
"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": 1.0,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 242.3,
"r_y0": 509.88,
"r_x1": 513.35,
"r_y1": 509.88,
"r_x2": 513.35,
"r_y2": 439.98,
"r_x3": 242.3,
"r_y3": 439.98,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
}
],
"has_chars": false,
"has_words": false,
"has_lines": true,
"image": null,
"lines": []
},
"predictions": {
"layout": {
"clusters": [
{
"id": 0,
"label": "text",
"bbox": {
"l": 234.09,
"t": 258.9,
"r": 1696.1,
"b": 509.88,
"coord_origin": "TOPLEFT"
},
"confidence": 0.88,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 246.41,
"r_y0": 329.07,
"r_x1": 1691.99,
"r_y1": 329.07,
"r_x2": 1691.99,
"r_y2": 258.9,
"r_x3": 246.41,
"r_y3": 258.9,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 234.09,
"r_y0": 419.58,
"r_x1": 1696.1,
"r_y1": 419.58,
"r_x2": 1696.1,
"r_y2": 349.42,
"r_x3": 234.09,
"r_y3": 349.42,
"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": 1.0,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 242.3,
"r_y0": 509.88,
"r_x1": 513.35,
"r_y1": 509.88,
"r_x2": 513.35,
"r_y2": 439.98,
"r_x3": 242.3,
"r_y3": 439.98,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 1.0,
"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": 234.09,
"t": 258.9,
"r": 1696.1,
"b": 509.88,
"coord_origin": "TOPLEFT"
},
"confidence": 0.88,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 246.41,
"r_y0": 329.07,
"r_x1": 1691.99,
"r_y1": 329.07,
"r_x2": 1691.99,
"r_y2": 258.9,
"r_x3": 246.41,
"r_y3": 258.9,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 234.09,
"r_y0": 419.58,
"r_x1": 1696.1,
"r_y1": 419.58,
"r_x2": 1696.1,
"r_y2": 349.42,
"r_x3": 234.09,
"r_y3": 349.42,
"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": 1.0,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 242.3,
"r_y0": 509.88,
"r_x1": 513.35,
"r_y1": 509.88,
"r_x2": 513.35,
"r_y2": 439.98,
"r_x3": 242.3,
"r_y3": 439.98,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 1.0,
"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": 234.09,
"t": 258.9,
"r": 1696.1,
"b": 509.88,
"coord_origin": "TOPLEFT"
},
"confidence": 0.88,
"cells": [
{
"index": 0,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 246.41,
"r_y0": 329.07,
"r_x1": 1691.99,
"r_y1": 329.07,
"r_x2": 1691.99,
"r_y2": 258.9,
"r_x3": 246.41,
"r_y3": 258.9,
"coord_origin": "TOPLEFT"
},
"text": "Docling bundles PDF document conversion to",
"orig": "Docling bundles PDF document conversion to",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
},
{
"index": 1,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 234.09,
"r_y0": 419.58,
"r_x1": 1696.1,
"r_y1": 419.58,
"r_x2": 1696.1,
"r_y2": 349.42,
"r_x3": 234.09,
"r_y3": 349.42,
"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": 1.0,
"from_ocr": true
},
{
"index": 2,
"rgba": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"rect": {
"r_x0": 242.3,
"r_y0": 509.88,
"r_x1": 513.35,
"r_y1": 509.88,
"r_x2": 513.35,
"r_y2": 439.98,
"r_x3": 242.3,
"r_y3": 439.98,
"coord_origin": "TOPLEFT"
},
"text": "package",
"orig": "package",
"text_direction": "left_to_right",
"confidence": 1.0,
"from_ocr": true
}
],
"children": []
},
"text": "Docling bundles PDF document conversion to JSON and Markdown in an easy self contained package"
}
],
"headers": []
}
}
]