Download data/Test_001/annotations/sample_0000031.json from OCR-Data/dataset: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/Test_001/annotations/sample_0000031.json
- Command line
-
hf download hf://datasets/OCR-Data/dataset/data/Test_001/annotations/sample_0000031.json
-
curl -L -o sample_0000031.json https://huggingface.co/datasets/OCR-Data/dataset/resolve/main/data/Test_001/annotations/sample_0000031.json
12.6 kB
| { | |
| "markdown": "شركة الأمل للصناعات الغذائية\nINV-16215\n24/01/2024\nفاتورة إلى: أنس بن محمد الشريم\n\n[tbl-0.html](tbl-0.html)\n\nالإجمالي: 4,927.30", | |
| "images": [], | |
| "tables": [ | |
| { | |
| "id": "tbl-0.html", | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>8</td><td>123.05</td><td>984.40</td></tr><tr><td>خدمة تسويق رقمي احترافي</td><td>9</td><td>263.45</td><td>2,371.05</td></tr><tr><td>نظام إدارة الموارد البشرية</td><td>8</td><td>38.08</td><td>304.64</td></tr><tr><td>خدمة نقل وتوصيل البضائع</td><td>5</td><td>194.88</td><td>974.40</td></tr><tr><td>كيس دقيق قمح مطحون</td><td>7</td><td>41.83</td><td>292.81</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": 103 | |
| }, | |
| { | |
| "text": " صامت", | |
| "confidence": 1.0, | |
| "start_index": 111 | |
| }, | |
| { | |
| "text": "8", | |
| "confidence": 1.0, | |
| "start_index": 125 | |
| }, | |
| { | |
| "text": "123.05", | |
| "confidence": 1.0, | |
| "start_index": 135 | |
| }, | |
| { | |
| "text": "984.40", | |
| "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": 184 | |
| }, | |
| { | |
| "text": " احترافي", | |
| "confidence": 1.0, | |
| "start_index": 189 | |
| }, | |
| { | |
| "text": "9", | |
| "confidence": 1.0, | |
| "start_index": 206 | |
| }, | |
| { | |
| "text": "263.45", | |
| "confidence": 1.0, | |
| "start_index": 216 | |
| }, | |
| { | |
| "text": "2,371.05", | |
| "confidence": 1.0, | |
| "start_index": 231 | |
| }, | |
| { | |
| "text": "نظام", | |
| "confidence": 1.0, | |
| "start_index": 257 | |
| }, | |
| { | |
| "text": " إدارة", | |
| "confidence": 1.0, | |
| "start_index": 261 | |
| }, | |
| { | |
| "text": " الموارد", | |
| "confidence": 1.0, | |
| "start_index": 267 | |
| }, | |
| { | |
| "text": " البشرية", | |
| "confidence": 1.0, | |
| "start_index": 275 | |
| }, | |
| { | |
| "text": "8", | |
| "confidence": 1.0, | |
| "start_index": 292 | |
| }, | |
| { | |
| "text": "38.08", | |
| "confidence": 1.0, | |
| "start_index": 302 | |
| }, | |
| { | |
| "text": "304.64", | |
| "confidence": 1.0, | |
| "start_index": 316 | |
| }, | |
| { | |
| "text": "خدمة", | |
| "confidence": 1.0, | |
| "start_index": 340 | |
| }, | |
| { | |
| "text": " نقل", | |
| "confidence": 1.0, | |
| "start_index": 344 | |
| }, | |
| { | |
| "text": " وتوصيل", | |
| "confidence": 1.0, | |
| "start_index": 348 | |
| }, | |
| { | |
| "text": " البضائع", | |
| "confidence": 1.0, | |
| "start_index": 355 | |
| }, | |
| { | |
| "text": "5", | |
| "confidence": 1.0, | |
| "start_index": 372 | |
| }, | |
| { | |
| "text": "194.88", | |
| "confidence": 1.0, | |
| "start_index": 382 | |
| }, | |
| { | |
| "text": "974.40", | |
| "confidence": 1.0, | |
| "start_index": 397 | |
| }, | |
| { | |
| "text": "كيس", | |
| "confidence": 1.0, | |
| "start_index": 421 | |
| }, | |
| { | |
| "text": " دقيق", | |
| "confidence": 1.0, | |
| "start_index": 424 | |
| }, | |
| { | |
| "text": " قمح", | |
| "confidence": 1.0, | |
| "start_index": 429 | |
| }, | |
| { | |
| "text": " مطحون", | |
| "confidence": 1.0, | |
| "start_index": 433 | |
| }, | |
| { | |
| "text": "7", | |
| "confidence": 1.0, | |
| "start_index": 448 | |
| }, | |
| { | |
| "text": "41.83", | |
| "confidence": 1.0, | |
| "start_index": 458 | |
| }, | |
| { | |
| "text": "292.81", | |
| "confidence": 1.0, | |
| "start_index": 472 | |
| } | |
| ] | |
| } | |
| ], | |
| "hyperlinks": [], | |
| "header": null, | |
| "footer": null, | |
| "dimensions": { | |
| "dpi": 96, | |
| "height": 1167, | |
| "width": 802 | |
| }, | |
| "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": 20 | |
| }, | |
| { | |
| "text": "INV-16215", | |
| "confidence": 1.0, | |
| "start_index": 29 | |
| }, | |
| { | |
| "text": "24/01/2024", | |
| "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": 66 | |
| }, | |
| { | |
| "text": "محمد", | |
| "confidence": 1.0, | |
| "start_index": 69 | |
| }, | |
| { | |
| "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": "4,927.30", | |
| "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": 758, | |
| "bottom_right_y": 74, | |
| "content": "شركة الأمل للصناعات الغذائية", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 1 | |
| }, | |
| { | |
| "top_left_x": 699, | |
| "top_left_y": 82, | |
| "bottom_right_x": 758, | |
| "bottom_right_y": 100, | |
| "content": "INV-16215", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 2 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 82, | |
| "bottom_right_x": 103, | |
| "bottom_right_y": 100, | |
| "content": "24/01/2024", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 3 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 122, | |
| "bottom_right_x": 758, | |
| "bottom_right_y": 142, | |
| "content": "فاتورة إلى: أنس بن محمد الشريم", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 4 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 156, | |
| "bottom_right_x": 758, | |
| "bottom_right_y": 364, | |
| "content": "<table><tbody><tr><th>البيان</th><th>الكمية</th><th>السعر</th><th>المجموع</th></tr><tr><td>مولد كهربائي احتياطي صامت</td><td>8</td><td>123.05</td><td>984.40</td></tr><tr><td>خدمة تسويق رقمي احترافي</td><td>9</td><td>263.45</td><td>2,371.05</td></tr><tr><td>نظام إدارة الموارد البشرية</td><td>8</td><td>38.08</td><td>304.64</td></tr><tr><td>خدمة نقل وتوصيل البضائع</td><td>5</td><td>194.88</td><td>974.40</td></tr><tr><td>كيس دقيق قمح مطحون</td><td>7</td><td>41.83</td><td>292.81</td></tr></tbody></table>", | |
| "type": "table", | |
| "table_id": "tbl-0.html", | |
| "confidence_scores": null, | |
| "reading_index": 5 | |
| }, | |
| { | |
| "top_left_x": 44, | |
| "top_left_y": 378, | |
| "bottom_right_x": 153, | |
| "bottom_right_y": 400, | |
| "content": "الإجمالي: 4,927.30", | |
| "type": "text", | |
| "confidence_scores": null, | |
| "reading_index": 6 | |
| } | |
| ], | |
| "meta": { | |
| "template": "invoice", | |
| "hybrid": null, | |
| "page_font": "mcs-jeddah-s-i-normal.ttf", | |
| "title_font": "mcs-jeddah-s-i-normal.ttf", | |
| "language": "ar", | |
| "script": "arabic", | |
| "direction": "rtl", | |
| "augmentation": null | |
| } | |
| } |