Download data/machine_1_001/annotations/sample_0000015.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 18.1 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_1_001/annotations/sample_0000015.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data/machine_1_001/annotations/sample_0000015.json
-
curl -L -o sample_0000015.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/machine_1_001/annotations/sample_0000015.json
18.1 kB
| { | |
| "markdown": "شركة الوفاء للتجارة الدولية\nINV-4724\n24/03/2024\nفاتورة إلى: فاطمة الزهراء العلوي\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 6,308.14", | |
| "images": [], | |
| "tables": [ | |
| { | |
| "id": "tbl-0.html", | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>11</td><td>175.17</td><td>1,926.87</td></tr><tr><td>خدمة معالجة وتحليل البيانات</td><td>6</td><td>230.41</td><td>1,382.46</td></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>8</td><td>40.18</td><td>321.44</td></tr><tr><td>خدمة تصميم مواقع إلكترونية</td><td>1</td><td>23.33</td><td>23.33</td></tr><tr><td>خزانة ملفات معدنية عالية الجودة</td><td>12</td><td>23.30</td><td>279.60</td></tr><tr><td>برميل زيت نباتي صافي</td><td>10</td><td>126.11</td><td>1,261.10</td></tr><tr><td>خدمة استشارات قانونية وقضائية</td><td>3</td><td>189.27</td><td>567.81</td></tr><tr><td>خدمة تنظيف وصيانة المباني</td><td>2</td><td>54.56</td><td>109.12</td></tr><tr><td>كيس دقيق قمح مطحون</td><td>9</td><td>48.49</td><td>436.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": "11", | |
| "confidence": 1.0, | |
| "start_index": 129 | |
| }, | |
| { | |
| "text": "175.17", | |
| "confidence": 1.0, | |
| "start_index": 140 | |
| }, | |
| { | |
| "text": "1,926.87", | |
| "confidence": 1.0, | |
| "start_index": 155 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 181 | |
| }, | |
| { | |
| "text": " معالجة", | |
| "confidence": 1.0, | |
| "start_index": 185 | |
| }, | |
| { | |
| "text": " وتحليل", | |
| "confidence": 1.0, | |
| "start_index": 192 | |
| }, | |
| { | |
| "text": " البيانات", | |
| "confidence": 1.0, | |
| "start_index": 199 | |
| }, | |
| { | |
| "text": "6", | |
| "confidence": 1.0, | |
| "start_index": 217 | |
| }, | |
| { | |
| "text": "230.41", | |
| "confidence": 1.0, | |
| "start_index": 227 | |
| }, | |
| { | |
| "text": "1,382.46", | |
| "confidence": 1.0, | |
| "start_index": 242 | |
| }, | |
| { | |
| "text": "مولد", | |
| "confidence": 1.0, | |
| "start_index": 268 | |
| }, | |
| { | |
| "text": " كهربائي", | |
| "confidence": 1.0, | |
| "start_index": 272 | |
| }, | |
| { | |
| "text": " احتياطي", | |
| "confidence": 1.0, | |
| "start_index": 280 | |
| }, | |
| { | |
| "text": " صامت", | |
| "confidence": 1.0, | |
| "start_index": 288 | |
| }, | |
| { | |
| "text": "8", | |
| "confidence": 1.0, | |
| "start_index": 302 | |
| }, | |
| { | |
| "text": "40.18", | |
| "confidence": 1.0, | |
| "start_index": 312 | |
| }, | |
| { | |
| "text": "321.44", | |
| "confidence": 1.0, | |
| "start_index": 326 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 350 | |
| }, | |
| { | |
| "text": " تصميم", | |
| "confidence": 1.0, | |
| "start_index": 354 | |
| }, | |
| { | |
| "text": " مواقع", | |
| "confidence": 1.0, | |
| "start_index": 360 | |
| }, | |
| { | |
| "text": " إلكترونية", | |
| "confidence": 1.0, | |
| "start_index": 366 | |
| }, | |
| { | |
| "text": "1", | |
| "confidence": 1.0, | |
| "start_index": 385 | |
| }, | |
| { | |
| "text": "23.33", | |
| "confidence": 1.0, | |
| "start_index": 395 | |
| }, | |
| { | |
| "text": "23.33", | |
| "confidence": 1.0, | |
| "start_index": 409 | |
| }, | |
| { | |
| "text": "خزانة", | |
| "confidence": 1.0, | |
| "start_index": 432 | |
| }, | |
| { | |
| "text": " ملفات", | |
| "confidence": 1.0, | |
| "start_index": 437 | |
| }, | |
| { | |
| "text": " معدنية", | |
| "confidence": 1.0, | |
| "start_index": 443 | |
| }, | |
| { | |
| "text": " عالية", | |
| "confidence": 1.0, | |
| "start_index": 450 | |
| }, | |
| { | |
| "text": " الجودة", | |
| "confidence": 1.0, | |
| "start_index": 456 | |
| }, | |
| { | |
| "text": "12", | |
| "confidence": 1.0, | |
| "start_index": 472 | |
| }, | |
| { | |
| "text": "23.30", | |
| "confidence": 1.0, | |
| "start_index": 483 | |
| }, | |
| { | |
| "text": "279.60", | |
| "confidence": 1.0, | |
| "start_index": 497 | |
| }, | |
| { | |
| "text": "برميل", | |
| "confidence": 1.0, | |
| "start_index": 521 | |
| }, | |
| { | |
| "text": " زيت", | |
| "confidence": 1.0, | |
| "start_index": 526 | |
| }, | |
| { | |
| "text": " نباتي", | |
| "confidence": 1.0, | |
| "start_index": 530 | |
| }, | |
| { | |
| "text": " صافي", | |
| "confidence": 1.0, | |
| "start_index": 536 | |
| }, | |
| { | |
| "text": "10", | |
| "confidence": 1.0, | |
| "start_index": 550 | |
| }, | |
| { | |
| "text": "126.11", | |
| "confidence": 1.0, | |
| "start_index": 561 | |
| }, | |
| { | |
| "text": "1,261.10", | |
| "confidence": 1.0, | |
| "start_index": 576 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 602 | |
| }, | |
| { | |
| "text": " استشارات", | |
| "confidence": 1.0, | |
| "start_index": 606 | |
| }, | |
| { | |
| "text": " قانونية", | |
| "confidence": 1.0, | |
| "start_index": 615 | |
| }, | |
| { | |
| "text": " وقضائية", | |
| "confidence": 1.0, | |
| "start_index": 623 | |
| }, | |
| { | |
| "text": "3", | |
| "confidence": 1.0, | |
| "start_index": 640 | |
| }, | |
| { | |
| "text": "189.27", | |
| "confidence": 1.0, | |
| "start_index": 650 | |
| }, | |
| { | |
| "text": "567.81", | |
| "confidence": 1.0, | |
| "start_index": 665 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 689 | |
| }, | |
| { | |
| "text": " تنظيف", | |
| "confidence": 1.0, | |
| "start_index": 693 | |
| }, | |
| { | |
| "text": " وصيانة", | |
| "confidence": 1.0, | |
| "start_index": 699 | |
| }, | |
| { | |
| "text": " المباني", | |
| "confidence": 1.0, | |
| "start_index": 706 | |
| }, | |
| { | |
| "text": "2", | |
| "confidence": 1.0, | |
| "start_index": 723 | |
| }, | |
| { | |
| "text": "54.56", | |
| "confidence": 1.0, | |
| "start_index": 733 | |
| }, | |
| { | |
| "text": "109.12", | |
| "confidence": 1.0, | |
| "start_index": 747 | |
| }, | |
| { | |
| "text": "كيس", | |
| "confidence": 1.0, | |
| "start_index": 771 | |
| }, | |
| { | |
| "text": " دقيق", | |
| "confidence": 1.0, | |
| "start_index": 774 | |
| }, | |
| { | |
| "text": " قمح", | |
| "confidence": 1.0, | |
| "start_index": 779 | |
| }, | |
| { | |
| "text": " مطحون", | |
| "confidence": 1.0, | |
| "start_index": 783 | |
| }, | |
| { | |
| "text": "9", | |
| "confidence": 1.0, | |
| "start_index": 798 | |
| }, | |
| { | |
| "text": "48.49", | |
| "confidence": 1.0, | |
| "start_index": 808 | |
| }, | |
| { | |
| "text": "436.41", | |
| "confidence": 1.0, | |
| "start_index": 822 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1099, | |
| "width": 783 | |
| }, | |
| "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": 20 | |
| }, | |
| { | |
| "text": "INV-4724", | |
| "confidence": 1.0, | |
| "start_index": 28 | |
| }, | |
| { | |
| "text": "24/03/2024", | |
| "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": 66 | |
| }, | |
| { | |
| "text": "العلوي", | |
| "confidence": 1.0, | |
| "start_index": 74 | |
| }, | |
| { | |
| "text": "[tbl-0.html](tbl-0.html)", | |
| "confidence": 1.0, | |
| "start_index": 82 | |
| }, | |
| { | |
| "text": "الإجمالي:", | |
| "confidence": 1.0, | |
| "start_index": 108 | |
| }, | |
| { | |
| "text": "6,308.14", | |
| "confidence": 1.0, | |
| "start_index": 118 | |
| } | |
| ], | |
| "average_page_confidence_score": 1.0, | |
| "minimum_page_confidence_score": 1.0 | |
| }, | |
| "blocks": [ | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 44, | |
| "bottom_right_x": 739, | |
| "bottom_right_y": 92, | |
| "content": "شركة الوفاء للتجارة الدولية", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 698, | |
| "top_left_y": 100, | |
| "bottom_right_x": 739, | |
| "bottom_right_y": 114, | |
| "content": "INV-4724", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 100, | |
| "bottom_right_x": 95, | |
| "bottom_right_y": 114, | |
| "content": "24/03/2024", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 136, | |
| "bottom_right_x": 739, | |
| "bottom_right_y": 151, | |
| "content": "فاتورة إلى: فاطمة الزهراء العلوي", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 165, | |
| "bottom_right_x": 739, | |
| "bottom_right_y": 478, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>أسطوانة غاز للاستخدام التجاري</td><td>11</td><td>175.17</td><td>1,926.87</td></tr><tr><td>خدمة معالجة وتحليل البيانات</td><td>6</td><td>230.41</td><td>1,382.46</td></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>8</td><td>40.18</td><td>321.44</td></tr><tr><td>خدمة تصميم مواقع إلكترونية</td><td>1</td><td>23.33</td><td>23.33</td></tr><tr><td>خزانة ملفات معدنية عالية الجودة</td><td>12</td><td>23.30</td><td>279.60</td></tr><tr><td>برميل زيت نباتي صافي</td><td>10</td><td>126.11</td><td>1,261.10</td></tr><tr><td>خدمة استشارات قانونية وقضائية</td><td>3</td><td>189.27</td><td>567.81</td></tr><tr><td>خدمة تنظيف وصيانة المباني</td><td>2</td><td>54.56</td><td>109.12</td></tr><tr><td>كيس دقيق قمح مطحون</td><td>9</td><td>48.49</td><td>436.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": 492, | |
| "bottom_right_x": 138, | |
| "bottom_right_y": 510, | |
| "content": "الإجمالي: 6,308.14", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "Handjet-SemiBold.ttf", | |
| "title_font": "vip-control.otf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": null | |
| } | |
| } |