Download data_aug/MachineTwo_003_aug1/annotations/sample_0020003.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 17.6 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data_aug/MachineTwo_003_aug1/annotations/sample_0020003.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data_aug/MachineTwo_003_aug1/annotations/sample_0020003.json
-
curl -L -o sample_0020003.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data_aug/MachineTwo_003_aug1/annotations/sample_0020003.json
17.6 kB
| { | |
| "markdown": "شركة الكمال للاستشارات القانونية\nINV-56375\n02/06/2024\nفاتورة إلى: شيماء بنت يوسف المسعودي\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 6,948.44", | |
| "images": [], | |
| "tables": [ | |
| { | |
| "id": "tbl-0.html", | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>1</td><td>67.82</td><td>67.82</td></tr><tr><td>عبوة منظفات صناعية متعددة</td><td>11</td><td>197.35</td><td>2,170.85</td></tr><tr><td>رف تخزين معدني قابل للتعديل</td><td>5</td><td>177.05</td><td>885.25</td></tr><tr><td>توريد مواد تغليف صناعية</td><td>6</td><td>31.09</td><td>186.54</td></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>4</td><td>267.08</td><td>1,068.32</td></tr><tr><td>حزمة برامج مكتب متكاملة</td><td>10</td><td>142.43</td><td>1,424.30</td></tr><tr><td>خدمة ترجمة ونشر متخصصة</td><td>3</td><td>165.65</td><td>496.95</td></tr><tr><td>خدمة معالجة وتحليل البيانات</td><td>7</td><td>92.63</td><td>648.41</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": 98 | |
| }, | |
| { | |
| "text": " للاستخدام", | |
| "confidence": 1.0, | |
| "start_index": 102 | |
| }, | |
| { | |
| "text": " التجاري", | |
| "confidence": 1.0, | |
| "start_index": 112 | |
| }, | |
| { | |
| "text": "1", | |
| "confidence": 1.0, | |
| "start_index": 129 | |
| }, | |
| { | |
| "text": "67.82", | |
| "confidence": 1.0, | |
| "start_index": 139 | |
| }, | |
| { | |
| "text": "67.82", | |
| "confidence": 1.0, | |
| "start_index": 153 | |
| }, | |
| { | |
| "text": "عبوة", | |
| "confidence": 1.0, | |
| "start_index": 176 | |
| }, | |
| { | |
| "text": " منظفات", | |
| "confidence": 1.0, | |
| "start_index": 180 | |
| }, | |
| { | |
| "text": " صناعية", | |
| "confidence": 1.0, | |
| "start_index": 187 | |
| }, | |
| { | |
| "text": " متعددة", | |
| "confidence": 1.0, | |
| "start_index": 194 | |
| }, | |
| { | |
| "text": "11", | |
| "confidence": 1.0, | |
| "start_index": 210 | |
| }, | |
| { | |
| "text": "197.35", | |
| "confidence": 1.0, | |
| "start_index": 221 | |
| }, | |
| { | |
| "text": "2,170.85", | |
| "confidence": 1.0, | |
| "start_index": 236 | |
| }, | |
| { | |
| "text": "رف", | |
| "confidence": 1.0, | |
| "start_index": 262 | |
| }, | |
| { | |
| "text": " تخزين", | |
| "confidence": 1.0, | |
| "start_index": 264 | |
| }, | |
| { | |
| "text": " معدني", | |
| "confidence": 1.0, | |
| "start_index": 270 | |
| }, | |
| { | |
| "text": " قابل", | |
| "confidence": 1.0, | |
| "start_index": 276 | |
| }, | |
| { | |
| "text": " للتعديل", | |
| "confidence": 1.0, | |
| "start_index": 281 | |
| }, | |
| { | |
| "text": "5", | |
| "confidence": 1.0, | |
| "start_index": 298 | |
| }, | |
| { | |
| "text": "177.05", | |
| "confidence": 1.0, | |
| "start_index": 308 | |
| }, | |
| { | |
| "text": "885.25", | |
| "confidence": 1.0, | |
| "start_index": 323 | |
| }, | |
| { | |
| "text": "توريد", | |
| "confidence": 1.0, | |
| "start_index": 347 | |
| }, | |
| { | |
| "text": " مواد", | |
| "confidence": 1.0, | |
| "start_index": 352 | |
| }, | |
| { | |
| "text": " تغليف", | |
| "confidence": 1.0, | |
| "start_index": 357 | |
| }, | |
| { | |
| "text": " صناعية", | |
| "confidence": 1.0, | |
| "start_index": 363 | |
| }, | |
| { | |
| "text": "6", | |
| "confidence": 1.0, | |
| "start_index": 379 | |
| }, | |
| { | |
| "text": "31.09", | |
| "confidence": 1.0, | |
| "start_index": 389 | |
| }, | |
| { | |
| "text": "186.54", | |
| "confidence": 1.0, | |
| "start_index": 403 | |
| }, | |
| { | |
| "text": "أسطوانة", | |
| "confidence": 1.0, | |
| "start_index": 427 | |
| }, | |
| { | |
| "text": " غاز", | |
| "confidence": 1.0, | |
| "start_index": 434 | |
| }, | |
| { | |
| "text": " للاستخدام", | |
| "confidence": 1.0, | |
| "start_index": 438 | |
| }, | |
| { | |
| "text": " التجاري", | |
| "confidence": 1.0, | |
| "start_index": 448 | |
| }, | |
| { | |
| "text": "4", | |
| "confidence": 1.0, | |
| "start_index": 465 | |
| }, | |
| { | |
| "text": "267.08", | |
| "confidence": 1.0, | |
| "start_index": 475 | |
| }, | |
| { | |
| "text": "1,068.32", | |
| "confidence": 1.0, | |
| "start_index": 490 | |
| }, | |
| { | |
| "text": "حزمة", | |
| "confidence": 1.0, | |
| "start_index": 516 | |
| }, | |
| { | |
| "text": " برامج", | |
| "confidence": 1.0, | |
| "start_index": 520 | |
| }, | |
| { | |
| "text": " مكتب", | |
| "confidence": 1.0, | |
| "start_index": 526 | |
| }, | |
| { | |
| "text": " متكاملة", | |
| "confidence": 1.0, | |
| "start_index": 531 | |
| }, | |
| { | |
| "text": "10", | |
| "confidence": 1.0, | |
| "start_index": 548 | |
| }, | |
| { | |
| "text": "142.43", | |
| "confidence": 1.0, | |
| "start_index": 559 | |
| }, | |
| { | |
| "text": "1,424.30", | |
| "confidence": 1.0, | |
| "start_index": 574 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 600 | |
| }, | |
| { | |
| "text": " ترجمة", | |
| "confidence": 1.0, | |
| "start_index": 604 | |
| }, | |
| { | |
| "text": " ونشر", | |
| "confidence": 1.0, | |
| "start_index": 610 | |
| }, | |
| { | |
| "text": " متخصصة", | |
| "confidence": 1.0, | |
| "start_index": 615 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 631 | |
| }, | |
| { | |
| "text": "165.65", | |
| "confidence": 1.0, | |
| "start_index": 641 | |
| }, | |
| { | |
| "text": "496.95", | |
| "confidence": 1.0, | |
| "start_index": 656 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 680 | |
| }, | |
| { | |
| "text": " معالجة", | |
| "confidence": 1.0, | |
| "start_index": 684 | |
| }, | |
| { | |
| "text": " وتحليل", | |
| "confidence": 1.0, | |
| "start_index": 691 | |
| }, | |
| { | |
| "text": " البيانات", | |
| "confidence": 1.0, | |
| "start_index": 698 | |
| }, | |
| { | |
| "text": "7", | |
| "confidence": 1.0, | |
| "start_index": 716 | |
| }, | |
| { | |
| "text": "92.63", | |
| "confidence": 1.0, | |
| "start_index": 726 | |
| }, | |
| { | |
| "text": "648.41", | |
| "confidence": 1.0, | |
| "start_index": 740 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1020, | |
| "width": 845 | |
| }, | |
| "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": 23 | |
| }, | |
| { | |
| "text": "INV-56375", | |
| "confidence": 1.0, | |
| "start_index": 33 | |
| }, | |
| { | |
| "text": "02/06/2024", | |
| "confidence": 1.0, | |
| "start_index": 43 | |
| }, | |
| { | |
| "text": "فاتورة", | |
| "confidence": 1.0, | |
| "start_index": 54 | |
| }, | |
| { | |
| "text": "إلى:", | |
| "confidence": 1.0, | |
| "start_index": 61 | |
| }, | |
| { | |
| "text": "شيماء", | |
| "confidence": 1.0, | |
| "start_index": 66 | |
| }, | |
| { | |
| "text": "بنت", | |
| "confidence": 1.0, | |
| "start_index": 72 | |
| }, | |
| { | |
| "text": "يوسف", | |
| "confidence": 1.0, | |
| "start_index": 76 | |
| }, | |
| { | |
| "text": "المسعودي", | |
| "confidence": 1.0, | |
| "start_index": 81 | |
| }, | |
| { | |
| "text": "[tbl-0.html](tbl-0.html)", | |
| "confidence": 1.0, | |
| "start_index": 91 | |
| }, | |
| { | |
| "text": "الإجمالي:", | |
| "confidence": 1.0, | |
| "start_index": 117 | |
| }, | |
| { | |
| "text": "6,948.44", | |
| "confidence": 1.0, | |
| "start_index": 127 | |
| } | |
| ], | |
| "average_page_confidence_score": 1.0, | |
| "minimum_page_confidence_score": 1.0 | |
| }, | |
| "blocks": [ | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 44, | |
| "bottom_right_x": 801, | |
| "bottom_right_y": 75, | |
| "content": "شركة الكمال للاستشارات القانونية", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 737, | |
| "top_left_y": 83, | |
| "bottom_right_x": 801, | |
| "bottom_right_y": 103, | |
| "content": "INV-56375", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 83, | |
| "bottom_right_x": 111, | |
| "bottom_right_y": 103, | |
| "content": "02/06/2024", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 125, | |
| "bottom_right_x": 801, | |
| "bottom_right_y": 147, | |
| "content": "فاتورة إلى: شيماء بنت يوسف المسعودي", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 161, | |
| "bottom_right_x": 801, | |
| "bottom_right_y": 489, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>1</td><td>67.82</td><td>67.82</td></tr><tr><td>عبوة منظفات صناعية متعددة</td><td>11</td><td>197.35</td><td>2,170.85</td></tr><tr><td>رف تخزين معدني قابل للتعديل</td><td>5</td><td>177.05</td><td>885.25</td></tr><tr><td>توريد مواد تغليف صناعية</td><td>6</td><td>31.09</td><td>186.54</td></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>4</td><td>267.08</td><td>1,068.32</td></tr><tr><td>حزمة برامج مكتب متكاملة</td><td>10</td><td>142.43</td><td>1,424.30</td></tr><tr><td>خدمة ترجمة ونشر متخصصة</td><td>3</td><td>165.65</td><td>496.95</td></tr><tr><td>خدمة معالجة وتحليل البيانات</td><td>7</td><td>92.63</td><td>648.41</td></tr></tbody></table>", | |
| "type": "table", | |
| "table_id": "tbl-0.html", | |
| "confidence_scores": null, | |
| "reading_index": 5 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 503, | |
| "bottom_right_x": 152, | |
| "bottom_right_y": 528, | |
| "content": "الإجمالي: 6,948.44", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "arabswell-2.ttf", | |
| "title_font": "ukij-diwani-tom-arabic.ttf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": { | |
| "name": "bad_photocopy", | |
| "params": { | |
| "noise_type": -1, | |
| "noise_iteration": [ | |
| 1, | |
| 2 | |
| ], | |
| "noise_size": [ | |
| 1, | |
| 2 | |
| ], | |
| "noise_value": [ | |
| 0, | |
| 30 | |
| ], | |
| "noise_sparsity": [ | |
| 0.3, | |
| 0.5 | |
| ], | |
| "noise_concentration": [ | |
| 0.1, | |
| 0.3 | |
| ] | |
| } | |
| } | |
| } | |
| } |