Download data/machine_4_001/annotations/sample_0000045.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 15.4 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_4_001/annotations/sample_0000045.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data/machine_4_001/annotations/sample_0000045.json
-
curl -L -o sample_0000045.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_4_001/annotations/sample_0000045.json
15.4 kB
| { | |
| "markdown": "شركة الحصن للأنظمة الأمنية\nINV-52491\n16/10/2023\nفاتورة إلى: صفاء محمد العسكري\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 6,134.80", | |
| "images": [], | |
| "tables": [ | |
| { | |
| "id": "tbl-0.html", | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>عبوة منظفات صناعية متعددة</td><td>6</td><td>296.51</td><td>1,779.06</td></tr><tr><td>نظام طاقة شمسية متكامل</td><td>9</td><td>147.05</td><td>1,323.45</td></tr><tr><td>خزانة ملفات معدنية عالية الجودة</td><td>3</td><td>160.19</td><td>480.57</td></tr><tr><td>خدمة ترجمة ونشر متخصصة</td><td>12</td><td>16.44</td><td>197.28</td></tr><tr><td>أثاث مكتبي فاخر مخصص</td><td>10</td><td>141.85</td><td>1,418.50</td></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>3</td><td>179.69</td><td>539.07</td></tr><tr><td>خدمة تدريب وتطوير الكفاءات</td><td>3</td><td>132.29</td><td>396.87</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": 102 | |
| }, | |
| { | |
| "text": " متعددة", | |
| "confidence": 1.0, | |
| "start_index": 109 | |
| }, | |
| { | |
| "text": "6", | |
| "confidence": 1.0, | |
| "start_index": 125 | |
| }, | |
| { | |
| "text": "296.51", | |
| "confidence": 1.0, | |
| "start_index": 135 | |
| }, | |
| { | |
| "text": "1,779.06", | |
| "confidence": 1.0, | |
| "start_index": 150 | |
| }, | |
| { | |
| "text": "نظام", | |
| "confidence": 1.0, | |
| "start_index": 176 | |
| }, | |
| { | |
| "text": " طاقة", | |
| "confidence": 1.0, | |
| "start_index": 180 | |
| }, | |
| { | |
| "text": " شمسية", | |
| "confidence": 1.0, | |
| "start_index": 185 | |
| }, | |
| { | |
| "text": " متكامل", | |
| "confidence": 1.0, | |
| "start_index": 191 | |
| }, | |
| { | |
| "text": "9", | |
| "confidence": 1.0, | |
| "start_index": 207 | |
| }, | |
| { | |
| "text": "147.05", | |
| "confidence": 1.0, | |
| "start_index": 217 | |
| }, | |
| { | |
| "text": "1,323.45", | |
| "confidence": 1.0, | |
| "start_index": 232 | |
| }, | |
| { | |
| "text": "خزانة", | |
| "confidence": 1.0, | |
| "start_index": 258 | |
| }, | |
| { | |
| "text": " ملفات", | |
| "confidence": 1.0, | |
| "start_index": 263 | |
| }, | |
| { | |
| "text": " معدنية", | |
| "confidence": 1.0, | |
| "start_index": 269 | |
| }, | |
| { | |
| "text": " عالية", | |
| "confidence": 1.0, | |
| "start_index": 276 | |
| }, | |
| { | |
| "text": " الجودة", | |
| "confidence": 1.0, | |
| "start_index": 282 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 298 | |
| }, | |
| { | |
| "text": "160.19", | |
| "confidence": 1.0, | |
| "start_index": 308 | |
| }, | |
| { | |
| "text": "480.57", | |
| "confidence": 1.0, | |
| "start_index": 323 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 347 | |
| }, | |
| { | |
| "text": " ترجمة", | |
| "confidence": 1.0, | |
| "start_index": 351 | |
| }, | |
| { | |
| "text": " ونشر", | |
| "confidence": 1.0, | |
| "start_index": 357 | |
| }, | |
| { | |
| "text": " متخصصة", | |
| "confidence": 1.0, | |
| "start_index": 362 | |
| }, | |
| { | |
| "text": "12", | |
| "confidence": 1.0, | |
| "start_index": 378 | |
| }, | |
| { | |
| "text": "16.44", | |
| "confidence": 1.0, | |
| "start_index": 389 | |
| }, | |
| { | |
| "text": "197.28", | |
| "confidence": 1.0, | |
| "start_index": 403 | |
| }, | |
| { | |
| "text": "أثاث", | |
| "confidence": 1.0, | |
| "start_index": 427 | |
| }, | |
| { | |
| "text": " مكتبي", | |
| "confidence": 1.0, | |
| "start_index": 431 | |
| }, | |
| { | |
| "text": " فاخر", | |
| "confidence": 1.0, | |
| "start_index": 437 | |
| }, | |
| { | |
| "text": " مخصص", | |
| "confidence": 1.0, | |
| "start_index": 442 | |
| }, | |
| { | |
| "text": "10", | |
| "confidence": 1.0, | |
| "start_index": 456 | |
| }, | |
| { | |
| "text": "141.85", | |
| "confidence": 1.0, | |
| "start_index": 467 | |
| }, | |
| { | |
| "text": "1,418.50", | |
| "confidence": 1.0, | |
| "start_index": 482 | |
| }, | |
| { | |
| "text": "مولد", | |
| "confidence": 1.0, | |
| "start_index": 508 | |
| }, | |
| { | |
| "text": " كهربائي", | |
| "confidence": 1.0, | |
| "start_index": 512 | |
| }, | |
| { | |
| "text": " احتياطي", | |
| "confidence": 1.0, | |
| "start_index": 520 | |
| }, | |
| { | |
| "text": " صامت", | |
| "confidence": 1.0, | |
| "start_index": 528 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 542 | |
| }, | |
| { | |
| "text": "179.69", | |
| "confidence": 1.0, | |
| "start_index": 552 | |
| }, | |
| { | |
| "text": "539.07", | |
| "confidence": 1.0, | |
| "start_index": 567 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 591 | |
| }, | |
| { | |
| "text": " تدريب", | |
| "confidence": 1.0, | |
| "start_index": 595 | |
| }, | |
| { | |
| "text": " وتطوير", | |
| "confidence": 1.0, | |
| "start_index": 601 | |
| }, | |
| { | |
| "text": " الكفاءات", | |
| "confidence": 1.0, | |
| "start_index": 608 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 626 | |
| }, | |
| { | |
| "text": "132.29", | |
| "confidence": 1.0, | |
| "start_index": 636 | |
| }, | |
| { | |
| "text": "396.87", | |
| "confidence": 1.0, | |
| "start_index": 651 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1001, | |
| "width": 881 | |
| }, | |
| "confidence_scores": { | |
| "word_confidence_scores": [ | |
| { | |
| "text": "شركة", | |
| "confidence": 1.0, | |
| "start_index": 0 | |
| }, | |
| { | |
| "text": "الحصن", | |
| "confidence": 1.0, | |
| "start_index": 5 | |
| }, | |
| { | |
| "text": "للأنظمة", | |
| "confidence": 1.0, | |
| "start_index": 11 | |
| }, | |
| { | |
| "text": "الأمنية", | |
| "confidence": 1.0, | |
| "start_index": 19 | |
| }, | |
| { | |
| "text": "INV-52491", | |
| "confidence": 1.0, | |
| "start_index": 27 | |
| }, | |
| { | |
| "text": "16/10/2023", | |
| "confidence": 1.0, | |
| "start_index": 37 | |
| }, | |
| { | |
| "text": "فاتورة", | |
| "confidence": 1.0, | |
| "start_index": 48 | |
| }, | |
| { | |
| "text": "إلى:", | |
| "confidence": 1.0, | |
| "start_index": 55 | |
| }, | |
| { | |
| "text": "صفاء", | |
| "confidence": 1.0, | |
| "start_index": 60 | |
| }, | |
| { | |
| "text": "محمد", | |
| "confidence": 1.0, | |
| "start_index": 65 | |
| }, | |
| { | |
| "text": "العسكري", | |
| "confidence": 1.0, | |
| "start_index": 70 | |
| }, | |
| { | |
| "text": "[tbl-0.html](tbl-0.html)", | |
| "confidence": 1.0, | |
| "start_index": 79 | |
| }, | |
| { | |
| "text": "الإجمالي:", | |
| "confidence": 1.0, | |
| "start_index": 105 | |
| }, | |
| { | |
| "text": "6,134.80", | |
| "confidence": 1.0, | |
| "start_index": 115 | |
| } | |
| ], | |
| "average_page_confidence_score": 1.0, | |
| "minimum_page_confidence_score": 1.0 | |
| }, | |
| "blocks": [ | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 44, | |
| "bottom_right_x": 837, | |
| "bottom_right_y": 77, | |
| "content": "شركة الحصن للأنظمة الأمنية", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 778, | |
| "top_left_y": 85, | |
| "bottom_right_x": 837, | |
| "bottom_right_y": 126, | |
| "content": "INV-52491", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 85, | |
| "bottom_right_x": 103, | |
| "bottom_right_y": 126, | |
| "content": "16/10/2023", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 148, | |
| "bottom_right_x": 837, | |
| "bottom_right_y": 192, | |
| "content": "فاتورة إلى: صفاء محمد العسكري", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 206, | |
| "bottom_right_x": 837, | |
| "bottom_right_y": 652, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>عبوة منظفات صناعية متعددة</td><td>6</td><td>296.51</td><td>1,779.06</td></tr><tr><td>نظام طاقة شمسية متكامل</td><td>9</td><td>147.05</td><td>1,323.45</td></tr><tr><td>خزانة ملفات معدنية عالية الجودة</td><td>3</td><td>160.19</td><td>480.57</td></tr><tr><td>خدمة ترجمة ونشر متخصصة</td><td>12</td><td>16.44</td><td>197.28</td></tr><tr><td>أثاث مكتبي فاخر مخصص</td><td>10</td><td>141.85</td><td>1,418.50</td></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>3</td><td>179.69</td><td>539.07</td></tr><tr><td>خدمة تدريب وتطوير الكفاءات</td><td>3</td><td>132.29</td><td>396.87</td></tr></tbody></table>", | |
| "type": "table", | |
| "table_id": "tbl-0.html", | |
| "confidence_scores": null, | |
| "reading_index": 5 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 666, | |
| "bottom_right_x": 139, | |
| "bottom_right_y": 716, | |
| "content": "الإجمالي: 6,134.80", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "al-diwani-al-majd-2.ttf", | |
| "title_font": "mohammad-bold-normal.ttf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": null | |
| } | |
| } |