Download data_aug/MachineTwo_003_aug2/annotations/sample_0020006.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 13.5 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data_aug/MachineTwo_003_aug2/annotations/sample_0020006.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data_aug/MachineTwo_003_aug2/annotations/sample_0020006.json
-
curl -L -o sample_0020006.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data_aug/MachineTwo_003_aug2/annotations/sample_0020006.json
13.5 kB
| { | |
| "markdown": "مجموعة الأداء للاستثمار الصناعي\nINV-58025\n15/08/2023\nفاتورة إلى: إنصاف بنت عمر الكندي\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 5,895.44", | |
| "images": [], | |
| "tables": [ | |
| { | |
| "id": "tbl-0.html", | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>خدمة تنظيف وصيانة المباني</td><td>10</td><td>53.45</td><td>534.50</td></tr><tr><td>نظام مراقبة أمني متطور</td><td>11</td><td>30.08</td><td>330.88</td></tr><tr><td>خدمة تدريب وتطوير الكفاءات</td><td>9</td><td>282.76</td><td>2,544.84</td></tr><tr><td>توريد مواد بناء عالية الجودة</td><td>3</td><td>246.58</td><td>739.74</td></tr><tr><td>خدمة تأجير معدات ثقيلة</td><td>11</td><td>158.68</td><td>1,745.48</td></tr></tbody></table>", | |
| "format": "html", | |
| "word_confidence_scores": [ | |
| { | |
| "text": "البيان", | |
| "confidence": 1.0, | |
| "start_index": 22 | |
| }, | |
| { | |
| "text": "الكمية", | |
| "confidence": 1.0, | |
| "start_index": 37 | |
| }, | |
| { | |
| "text": "السعر", | |
| "confidence": 1.0, | |
| "start_index": 52 | |
| }, | |
| { | |
| "text": "المجموع", | |
| "confidence": 1.0, | |
| "start_index": 66 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 91 | |
| }, | |
| { | |
| "text": " تنظيف", | |
| "confidence": 1.0, | |
| "start_index": 95 | |
| }, | |
| { | |
| "text": " وصيانة", | |
| "confidence": 1.0, | |
| "start_index": 101 | |
| }, | |
| { | |
| "text": " المباني", | |
| "confidence": 1.0, | |
| "start_index": 108 | |
| }, | |
| { | |
| "text": "10", | |
| "confidence": 1.0, | |
| "start_index": 125 | |
| }, | |
| { | |
| "text": "53.45", | |
| "confidence": 1.0, | |
| "start_index": 136 | |
| }, | |
| { | |
| "text": "534.50", | |
| "confidence": 1.0, | |
| "start_index": 150 | |
| }, | |
| { | |
| "text": "نظام", | |
| "confidence": 1.0, | |
| "start_index": 174 | |
| }, | |
| { | |
| "text": " مراقبة", | |
| "confidence": 1.0, | |
| "start_index": 178 | |
| }, | |
| { | |
| "text": " أمني", | |
| "confidence": 1.0, | |
| "start_index": 185 | |
| }, | |
| { | |
| "text": " متطور", | |
| "confidence": 1.0, | |
| "start_index": 190 | |
| }, | |
| { | |
| "text": "11", | |
| "confidence": 1.0, | |
| "start_index": 205 | |
| }, | |
| { | |
| "text": "30.08", | |
| "confidence": 1.0, | |
| "start_index": 216 | |
| }, | |
| { | |
| "text": "330.88", | |
| "confidence": 1.0, | |
| "start_index": 230 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 254 | |
| }, | |
| { | |
| "text": " تدريب", | |
| "confidence": 1.0, | |
| "start_index": 258 | |
| }, | |
| { | |
| "text": " وتطوير", | |
| "confidence": 1.0, | |
| "start_index": 264 | |
| }, | |
| { | |
| "text": " الكفاءات", | |
| "confidence": 1.0, | |
| "start_index": 271 | |
| }, | |
| { | |
| "text": "9", | |
| "confidence": 1.0, | |
| "start_index": 289 | |
| }, | |
| { | |
| "text": "282.76", | |
| "confidence": 1.0, | |
| "start_index": 299 | |
| }, | |
| { | |
| "text": "2,544.84", | |
| "confidence": 1.0, | |
| "start_index": 314 | |
| }, | |
| { | |
| "text": "توريد", | |
| "confidence": 1.0, | |
| "start_index": 340 | |
| }, | |
| { | |
| "text": " مواد", | |
| "confidence": 1.0, | |
| "start_index": 345 | |
| }, | |
| { | |
| "text": " بناء", | |
| "confidence": 1.0, | |
| "start_index": 350 | |
| }, | |
| { | |
| "text": " عالية", | |
| "confidence": 1.0, | |
| "start_index": 355 | |
| }, | |
| { | |
| "text": " الجودة", | |
| "confidence": 1.0, | |
| "start_index": 361 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 377 | |
| }, | |
| { | |
| "text": "246.58", | |
| "confidence": 1.0, | |
| "start_index": 387 | |
| }, | |
| { | |
| "text": "739.74", | |
| "confidence": 1.0, | |
| "start_index": 402 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 426 | |
| }, | |
| { | |
| "text": " تأجير", | |
| "confidence": 1.0, | |
| "start_index": 430 | |
| }, | |
| { | |
| "text": " معدات", | |
| "confidence": 1.0, | |
| "start_index": 436 | |
| }, | |
| { | |
| "text": " ثقيلة", | |
| "confidence": 1.0, | |
| "start_index": 442 | |
| }, | |
| { | |
| "text": "11", | |
| "confidence": 1.0, | |
| "start_index": 457 | |
| }, | |
| { | |
| "text": "158.68", | |
| "confidence": 1.0, | |
| "start_index": 468 | |
| }, | |
| { | |
| "text": "1,745.48", | |
| "confidence": 1.0, | |
| "start_index": 483 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1207, | |
| "width": 880 | |
| }, | |
| "confidence_scores": { | |
| "word_confidence_scores": [ | |
| { | |
| "text": "مجموعة", | |
| "confidence": 1.0, | |
| "start_index": 0 | |
| }, | |
| { | |
| "text": "الأداء", | |
| "confidence": 1.0, | |
| "start_index": 7 | |
| }, | |
| { | |
| "text": "للاستثمار", | |
| "confidence": 1.0, | |
| "start_index": 14 | |
| }, | |
| { | |
| "text": "الصناعي", | |
| "confidence": 1.0, | |
| "start_index": 24 | |
| }, | |
| { | |
| "text": "INV-58025", | |
| "confidence": 1.0, | |
| "start_index": 32 | |
| }, | |
| { | |
| "text": "15/08/2023", | |
| "confidence": 1.0, | |
| "start_index": 42 | |
| }, | |
| { | |
| "text": "فاتورة", | |
| "confidence": 1.0, | |
| "start_index": 53 | |
| }, | |
| { | |
| "text": "إلى:", | |
| "confidence": 1.0, | |
| "start_index": 60 | |
| }, | |
| { | |
| "text": "إنصاف", | |
| "confidence": 1.0, | |
| "start_index": 65 | |
| }, | |
| { | |
| "text": "بنت", | |
| "confidence": 1.0, | |
| "start_index": 71 | |
| }, | |
| { | |
| "text": "عمر", | |
| "confidence": 1.0, | |
| "start_index": 75 | |
| }, | |
| { | |
| "text": "الكندي", | |
| "confidence": 1.0, | |
| "start_index": 79 | |
| }, | |
| { | |
| "text": "[tbl-0.html](tbl-0.html)", | |
| "confidence": 1.0, | |
| "start_index": 87 | |
| }, | |
| { | |
| "text": "الإجمالي:", | |
| "confidence": 1.0, | |
| "start_index": 113 | |
| }, | |
| { | |
| "text": "5,895.44", | |
| "confidence": 1.0, | |
| "start_index": 123 | |
| } | |
| ], | |
| "average_page_confidence_score": 1.0, | |
| "minimum_page_confidence_score": 1.0 | |
| }, | |
| "blocks": [ | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 44, | |
| "bottom_right_x": 836, | |
| "bottom_right_y": 77, | |
| "content": "مجموعة الأداء للاستثمار الصناعي", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 779, | |
| "top_left_y": 85, | |
| "bottom_right_x": 836, | |
| "bottom_right_y": 110, | |
| "content": "INV-58025", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 85, | |
| "bottom_right_x": 101, | |
| "bottom_right_y": 110, | |
| "content": "15/08/2023", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 132, | |
| "bottom_right_x": 836, | |
| "bottom_right_y": 159, | |
| "content": "فاتورة إلى: إنصاف بنت عمر الكندي", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 173, | |
| "bottom_right_x": 836, | |
| "bottom_right_y": 413, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>خدمة تنظيف وصيانة المباني</td><td>10</td><td>53.45</td><td>534.50</td></tr><tr><td>نظام مراقبة أمني متطور</td><td>11</td><td>30.08</td><td>330.88</td></tr><tr><td>خدمة تدريب وتطوير الكفاءات</td><td>9</td><td>282.76</td><td>2,544.84</td></tr><tr><td>توريد مواد بناء عالية الجودة</td><td>3</td><td>246.58</td><td>739.74</td></tr><tr><td>خدمة تأجير معدات ثقيلة</td><td>11</td><td>158.68</td><td>1,745.48</td></tr></tbody></table>", | |
| "type": "table", | |
| "table_id": "tbl-0.html", | |
| "confidence_scores": null, | |
| "reading_index": 5 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 427, | |
| "bottom_right_x": 152, | |
| "bottom_right_y": 458, | |
| "content": "الإجمالي: 5,895.44", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "pt-simple-bold-ruled.ttf", | |
| "title_font": "mcs-jeddah-s-i-engrave.ttf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": { | |
| "name": "letterpress", | |
| "params": { | |
| "n_samples": [ | |
| 100, | |
| 300 | |
| ], | |
| "n_clusters": [ | |
| 200, | |
| 500 | |
| ], | |
| "std_range": [ | |
| 500, | |
| 3000 | |
| ], | |
| "value_range": [ | |
| 150, | |
| 224 | |
| ], | |
| "value_threshold_range": [ | |
| 96, | |
| 128 | |
| ] | |
| } | |
| } | |
| } | |
| } |