This commit is contained in:
@@ -0,0 +1,570 @@
|
||||
{
|
||||
"schema_version": "conusai.ocr.document/v1",
|
||||
"engine": {
|
||||
"name": "fixture-engine",
|
||||
"version": "1",
|
||||
"detection_model": null,
|
||||
"recognition_model": null
|
||||
},
|
||||
"page_count": 3,
|
||||
"pages": [
|
||||
{
|
||||
"index": 0,
|
||||
"width": 1000,
|
||||
"height": 1400,
|
||||
"unit": "px",
|
||||
"dpi": 150,
|
||||
"source": "text_layer",
|
||||
"rotation": 0,
|
||||
"text": "Quarterly report\nReference: QR-2026-04\nIssued on: 2026-04-01\nThis line has no label",
|
||||
"lines": [
|
||||
{
|
||||
"text": "Quarterly report",
|
||||
"bbox": [
|
||||
100,
|
||||
80,
|
||||
500,
|
||||
120
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.99,
|
||||
"order": 0,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "Reference: QR-2026-04",
|
||||
"bbox": [
|
||||
100,
|
||||
200,
|
||||
600,
|
||||
240
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.97,
|
||||
"order": 1,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "Issued on: 2026-04-01",
|
||||
"bbox": [
|
||||
100,
|
||||
260,
|
||||
600,
|
||||
300
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.95,
|
||||
"order": 2,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "This line has no label",
|
||||
"bbox": [
|
||||
100,
|
||||
320,
|
||||
700,
|
||||
360
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 3,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"id": "p1-b1",
|
||||
"bbox": [
|
||||
100,
|
||||
80,
|
||||
500,
|
||||
120
|
||||
],
|
||||
"order": 0,
|
||||
"lines": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p1-b2",
|
||||
"bbox": [
|
||||
100,
|
||||
200,
|
||||
600,
|
||||
240
|
||||
],
|
||||
"order": 1,
|
||||
"lines": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p1-b3",
|
||||
"bbox": [
|
||||
100,
|
||||
260,
|
||||
600,
|
||||
300
|
||||
],
|
||||
"order": 2,
|
||||
"lines": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p1-b4",
|
||||
"bbox": [
|
||||
100,
|
||||
320,
|
||||
700,
|
||||
360
|
||||
],
|
||||
"order": 3,
|
||||
"lines": [
|
||||
3
|
||||
]
|
||||
}
|
||||
],
|
||||
"class": "text"
|
||||
},
|
||||
{
|
||||
"index": 1,
|
||||
"width": 1000,
|
||||
"height": 1400,
|
||||
"unit": "px",
|
||||
"dpi": 150,
|
||||
"source": "ocr",
|
||||
"rotation": 0,
|
||||
"text": "Total amount: 1 250,00 EUR\nSigned by: A. Example\nA sentence that happens to contain a colon: and then runs on for far too many words to be a label at all",
|
||||
"lines": [
|
||||
{
|
||||
"text": "Total amount: 1 250,00 EUR",
|
||||
"bbox": [
|
||||
100,
|
||||
100,
|
||||
700,
|
||||
140
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.82,
|
||||
"order": 0,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "Signed by: A. Example",
|
||||
"bbox": [
|
||||
100,
|
||||
160,
|
||||
600,
|
||||
200
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.74,
|
||||
"order": 1,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A sentence that happens to contain a colon: and then runs on for far too many words to be a label at all",
|
||||
"bbox": [
|
||||
100,
|
||||
220,
|
||||
900,
|
||||
260
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 2,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"id": "p2-b1",
|
||||
"bbox": [
|
||||
100,
|
||||
100,
|
||||
700,
|
||||
140
|
||||
],
|
||||
"order": 0,
|
||||
"lines": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p2-b2",
|
||||
"bbox": [
|
||||
100,
|
||||
160,
|
||||
600,
|
||||
200
|
||||
],
|
||||
"order": 1,
|
||||
"lines": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p2-b3",
|
||||
"bbox": [
|
||||
100,
|
||||
220,
|
||||
900,
|
||||
260
|
||||
],
|
||||
"order": 2,
|
||||
"lines": [
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"class": "scan"
|
||||
},
|
||||
{
|
||||
"index": 2,
|
||||
"width": 1000,
|
||||
"height": 1400,
|
||||
"unit": "px",
|
||||
"dpi": 150,
|
||||
"source": "text_layer",
|
||||
"rotation": 0,
|
||||
"class": "drawing",
|
||||
"text": "A-101 2400\nA-102 2410\nA-103 2420\nA-104 2430\nA-105 2440\nA-106 2450\nA-107 2460\nA-108 2470\nA-109 2480\nA-110 2490\nA-111 2500\nA-112 2510",
|
||||
"lines": [
|
||||
{
|
||||
"text": "A-101 2400",
|
||||
"bbox": [
|
||||
100,
|
||||
100,
|
||||
500,
|
||||
130
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 0,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-102 2410",
|
||||
"bbox": [
|
||||
100,
|
||||
140,
|
||||
500,
|
||||
170
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 1,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-103 2420",
|
||||
"bbox": [
|
||||
100,
|
||||
180,
|
||||
500,
|
||||
210
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 2,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-104 2430",
|
||||
"bbox": [
|
||||
100,
|
||||
220,
|
||||
500,
|
||||
250
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 3,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-105 2440",
|
||||
"bbox": [
|
||||
100,
|
||||
260,
|
||||
500,
|
||||
290
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 4,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-106 2450",
|
||||
"bbox": [
|
||||
100,
|
||||
300,
|
||||
500,
|
||||
330
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 5,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-107 2460",
|
||||
"bbox": [
|
||||
100,
|
||||
340,
|
||||
500,
|
||||
370
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 6,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-108 2470",
|
||||
"bbox": [
|
||||
100,
|
||||
380,
|
||||
500,
|
||||
410
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 7,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-109 2480",
|
||||
"bbox": [
|
||||
100,
|
||||
420,
|
||||
500,
|
||||
450
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 8,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-110 2490",
|
||||
"bbox": [
|
||||
100,
|
||||
460,
|
||||
500,
|
||||
490
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 9,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-111 2500",
|
||||
"bbox": [
|
||||
100,
|
||||
500,
|
||||
500,
|
||||
530
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 10,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
},
|
||||
{
|
||||
"text": "A-112 2510",
|
||||
"bbox": [
|
||||
100,
|
||||
540,
|
||||
500,
|
||||
570
|
||||
],
|
||||
"polygon": null,
|
||||
"confidence": 0.9,
|
||||
"order": 11,
|
||||
"words": [],
|
||||
"repeated": false
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"id": "p3-b1",
|
||||
"bbox": [
|
||||
100,
|
||||
100,
|
||||
500,
|
||||
130
|
||||
],
|
||||
"order": 0,
|
||||
"lines": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b2",
|
||||
"bbox": [
|
||||
100,
|
||||
140,
|
||||
500,
|
||||
170
|
||||
],
|
||||
"order": 1,
|
||||
"lines": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b3",
|
||||
"bbox": [
|
||||
100,
|
||||
180,
|
||||
500,
|
||||
210
|
||||
],
|
||||
"order": 2,
|
||||
"lines": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b4",
|
||||
"bbox": [
|
||||
100,
|
||||
220,
|
||||
500,
|
||||
250
|
||||
],
|
||||
"order": 3,
|
||||
"lines": [
|
||||
3
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b5",
|
||||
"bbox": [
|
||||
100,
|
||||
260,
|
||||
500,
|
||||
290
|
||||
],
|
||||
"order": 4,
|
||||
"lines": [
|
||||
4
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b6",
|
||||
"bbox": [
|
||||
100,
|
||||
300,
|
||||
500,
|
||||
330
|
||||
],
|
||||
"order": 5,
|
||||
"lines": [
|
||||
5
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b7",
|
||||
"bbox": [
|
||||
100,
|
||||
340,
|
||||
500,
|
||||
370
|
||||
],
|
||||
"order": 6,
|
||||
"lines": [
|
||||
6
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b8",
|
||||
"bbox": [
|
||||
100,
|
||||
380,
|
||||
500,
|
||||
410
|
||||
],
|
||||
"order": 7,
|
||||
"lines": [
|
||||
7
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b9",
|
||||
"bbox": [
|
||||
100,
|
||||
420,
|
||||
500,
|
||||
450
|
||||
],
|
||||
"order": 8,
|
||||
"lines": [
|
||||
8
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b10",
|
||||
"bbox": [
|
||||
100,
|
||||
460,
|
||||
500,
|
||||
490
|
||||
],
|
||||
"order": 9,
|
||||
"lines": [
|
||||
9
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b11",
|
||||
"bbox": [
|
||||
100,
|
||||
500,
|
||||
500,
|
||||
530
|
||||
],
|
||||
"order": 10,
|
||||
"lines": [
|
||||
10
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "p3-b12",
|
||||
"bbox": [
|
||||
100,
|
||||
540,
|
||||
500,
|
||||
570
|
||||
],
|
||||
"order": 11,
|
||||
"lines": [
|
||||
11
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user