Download data/machine_2_002/annotations/sample_0010010.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 15.1 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_2_002/annotations/sample_0010010.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data/machine_2_002/annotations/sample_0010010.json
-
curl -L -o sample_0010010.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_2_002/annotations/sample_0010010.json
15.1 kB
| { | |
| "markdown": "شركة الرواد للتوريدات العامة\nINV-76321\n03/01/2023\nفاتورة إلى: زينب محمد الشريف\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 7,150.37", | |
| "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>63.88</td><td>383.28</td></tr><tr><td>خدمة نقل وتوصيل البضائع</td><td>12</td><td>246.25</td><td>2,955.00</td></tr><tr><td>توريد مواد تغليف صناعية</td><td>7</td><td>261.37</td><td>1,829.59</td></tr><tr><td>صندوق تمر مدني فاخر</td><td>11</td><td>80.12</td><td>881.32</td></tr><tr><td>مضخة مياه كهربائية صناعية</td><td>5</td><td>30.36</td><td>151.80</td></tr><tr><td>اشتراك خدمة الإنترنت السريع</td><td>5</td><td>70.62</td><td>353.10</td></tr><tr><td>خدمة شحن دولي متسارع</td><td>2</td><td>298.14</td><td>596.28</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": 106 | |
| }, | |
| { | |
| "text": "6", | |
| "confidence": 1.0, | |
| "start_index": 123 | |
| }, | |
| { | |
| "text": "63.88", | |
| "confidence": 1.0, | |
| "start_index": 133 | |
| }, | |
| { | |
| "text": "383.28", | |
| "confidence": 1.0, | |
| "start_index": 147 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 171 | |
| }, | |
| { | |
| "text": " نقل", | |
| "confidence": 1.0, | |
| "start_index": 175 | |
| }, | |
| { | |
| "text": " وتوصيل", | |
| "confidence": 1.0, | |
| "start_index": 179 | |
| }, | |
| { | |
| "text": " البضائع", | |
| "confidence": 1.0, | |
| "start_index": 186 | |
| }, | |
| { | |
| "text": "12", | |
| "confidence": 1.0, | |
| "start_index": 203 | |
| }, | |
| { | |
| "text": "246.25", | |
| "confidence": 1.0, | |
| "start_index": 214 | |
| }, | |
| { | |
| "text": "2,955.00", | |
| "confidence": 1.0, | |
| "start_index": 229 | |
| }, | |
| { | |
| "text": "توريد", | |
| "confidence": 1.0, | |
| "start_index": 255 | |
| }, | |
| { | |
| "text": " مواد", | |
| "confidence": 1.0, | |
| "start_index": 260 | |
| }, | |
| { | |
| "text": " تغليف", | |
| "confidence": 1.0, | |
| "start_index": 265 | |
| }, | |
| { | |
| "text": " صناعية", | |
| "confidence": 1.0, | |
| "start_index": 271 | |
| }, | |
| { | |
| "text": "7", | |
| "confidence": 1.0, | |
| "start_index": 287 | |
| }, | |
| { | |
| "text": "261.37", | |
| "confidence": 1.0, | |
| "start_index": 297 | |
| }, | |
| { | |
| "text": "1,829.59", | |
| "confidence": 1.0, | |
| "start_index": 312 | |
| }, | |
| { | |
| "text": "صندوق", | |
| "confidence": 1.0, | |
| "start_index": 338 | |
| }, | |
| { | |
| "text": " تمر", | |
| "confidence": 1.0, | |
| "start_index": 343 | |
| }, | |
| { | |
| "text": " مدني", | |
| "confidence": 1.0, | |
| "start_index": 347 | |
| }, | |
| { | |
| "text": " فاخر", | |
| "confidence": 1.0, | |
| "start_index": 352 | |
| }, | |
| { | |
| "text": "11", | |
| "confidence": 1.0, | |
| "start_index": 366 | |
| }, | |
| { | |
| "text": "80.12", | |
| "confidence": 1.0, | |
| "start_index": 377 | |
| }, | |
| { | |
| "text": "881.32", | |
| "confidence": 1.0, | |
| "start_index": 391 | |
| }, | |
| { | |
| "text": "مضخة", | |
| "confidence": 1.0, | |
| "start_index": 415 | |
| }, | |
| { | |
| "text": " مياه", | |
| "confidence": 1.0, | |
| "start_index": 419 | |
| }, | |
| { | |
| "text": " كهربائية", | |
| "confidence": 1.0, | |
| "start_index": 424 | |
| }, | |
| { | |
| "text": " صناعية", | |
| "confidence": 1.0, | |
| "start_index": 433 | |
| }, | |
| { | |
| "text": "5", | |
| "confidence": 1.0, | |
| "start_index": 449 | |
| }, | |
| { | |
| "text": "30.36", | |
| "confidence": 1.0, | |
| "start_index": 459 | |
| }, | |
| { | |
| "text": "151.80", | |
| "confidence": 1.0, | |
| "start_index": 473 | |
| }, | |
| { | |
| "text": "اشتراك", | |
| "confidence": 1.0, | |
| "start_index": 497 | |
| }, | |
| { | |
| "text": " خدمة", | |
| "confidence": 1.0, | |
| "start_index": 503 | |
| }, | |
| { | |
| "text": " الإنترنت", | |
| "confidence": 1.0, | |
| "start_index": 508 | |
| }, | |
| { | |
| "text": " السريع", | |
| "confidence": 1.0, | |
| "start_index": 517 | |
| }, | |
| { | |
| "text": "5", | |
| "confidence": 1.0, | |
| "start_index": 533 | |
| }, | |
| { | |
| "text": "70.62", | |
| "confidence": 1.0, | |
| "start_index": 543 | |
| }, | |
| { | |
| "text": "353.10", | |
| "confidence": 1.0, | |
| "start_index": 557 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 581 | |
| }, | |
| { | |
| "text": " شحن", | |
| "confidence": 1.0, | |
| "start_index": 585 | |
| }, | |
| { | |
| "text": " دولي", | |
| "confidence": 1.0, | |
| "start_index": 589 | |
| }, | |
| { | |
| "text": " متسارع", | |
| "confidence": 1.0, | |
| "start_index": 594 | |
| }, | |
| { | |
| "text": "2", | |
| "confidence": 1.0, | |
| "start_index": 610 | |
| }, | |
| { | |
| "text": "298.14", | |
| "confidence": 1.0, | |
| "start_index": 620 | |
| }, | |
| { | |
| "text": "596.28", | |
| "confidence": 1.0, | |
| "start_index": 635 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1112, | |
| "width": 821 | |
| }, | |
| "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": 12 | |
| }, | |
| { | |
| "text": "العامة", | |
| "confidence": 1.0, | |
| "start_index": 22 | |
| }, | |
| { | |
| "text": "INV-76321", | |
| "confidence": 1.0, | |
| "start_index": 29 | |
| }, | |
| { | |
| "text": "03/01/2023", | |
| "confidence": 1.0, | |
| "start_index": 39 | |
| }, | |
| { | |
| "text": "فاتورة", | |
| "confidence": 1.0, | |
| "start_index": 50 | |
| }, | |
| { | |
| "text": "إلى:", | |
| "confidence": 1.0, | |
| "start_index": 57 | |
| }, | |
| { | |
| "text": "زينب", | |
| "confidence": 1.0, | |
| "start_index": 62 | |
| }, | |
| { | |
| "text": "محمد", | |
| "confidence": 1.0, | |
| "start_index": 67 | |
| }, | |
| { | |
| "text": "الشريف", | |
| "confidence": 1.0, | |
| "start_index": 72 | |
| }, | |
| { | |
| "text": "[tbl-0.html](tbl-0.html)", | |
| "confidence": 1.0, | |
| "start_index": 80 | |
| }, | |
| { | |
| "text": "الإجمالي:", | |
| "confidence": 1.0, | |
| "start_index": 106 | |
| }, | |
| { | |
| "text": "7,150.37", | |
| "confidence": 1.0, | |
| "start_index": 116 | |
| } | |
| ], | |
| "average_page_confidence_score": 1.0, | |
| "minimum_page_confidence_score": 1.0 | |
| }, | |
| "blocks": [ | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 44, | |
| "bottom_right_x": 777, | |
| "bottom_right_y": 71, | |
| "content": "شركة الرواد للتوريدات العامة", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 721, | |
| "top_left_y": 79, | |
| "bottom_right_x": 777, | |
| "bottom_right_y": 104, | |
| "content": "INV-76321", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 79, | |
| "bottom_right_x": 87, | |
| "bottom_right_y": 104, | |
| "content": "03/01/2023", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 126, | |
| "bottom_right_x": 777, | |
| "bottom_right_y": 153, | |
| "content": "فاتورة إلى: زينب محمد الشريف", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 167, | |
| "bottom_right_x": 777, | |
| "bottom_right_y": 499, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>خدمة تسويق رقمي احترافي</td><td>6</td><td>63.88</td><td>383.28</td></tr><tr><td>خدمة نقل وتوصيل البضائع</td><td>12</td><td>246.25</td><td>2,955.00</td></tr><tr><td>توريد مواد تغليف صناعية</td><td>7</td><td>261.37</td><td>1,829.59</td></tr><tr><td>صندوق تمر مدني فاخر</td><td>11</td><td>80.12</td><td>881.32</td></tr><tr><td>مضخة مياه كهربائية صناعية</td><td>5</td><td>30.36</td><td>151.80</td></tr><tr><td>اشتراك خدمة الإنترنت السريع</td><td>5</td><td>70.62</td><td>353.10</td></tr><tr><td>خدمة شحن دولي متسارع</td><td>2</td><td>298.14</td><td>596.28</td></tr></tbody></table>", | |
| "type": "table", | |
| "table_id": "tbl-0.html", | |
| "confidence_scores": null, | |
| "reading_index": 5 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 513, | |
| "bottom_right_x": 143, | |
| "bottom_right_y": 545, | |
| "content": "الإجمالي: 7,150.37", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "b-sahar.ttf", | |
| "title_font": "rtl-maghribi.otf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": null | |
| } | |
| } |