File size: 4,788 Bytes
d85f100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
    "markdown": "شركة الثبات للمواد الإنشائية\n\n![image](img-0)\n\nنجيب بن الطيب المنتصر\n1135-2035\n\n![image](img-1)\n",
    "images": [
        {
            "id": "img-0",
            "top_left_x": 276,
            "top_left_y": 76,
            "bottom_right_x": 320,
            "bottom_right_y": 132,
            "reading_index": 2
        },
        {
            "id": "img-1",
            "top_left_x": 10,
            "top_left_y": 179,
            "bottom_right_x": 320,
            "bottom_right_y": 209,
            "reading_index": 5
        }
    ],
    "tables": [],
    "hyperlinks": [],
    "header": null,
    "footer": null,
    "dimensions": {
        "dpi": 96,
        "height": 219,
        "width": 330
    },
    "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": 19
            },
            {
                "text": "![image](img-0)",
                "confidence": 1.0,
                "start_index": 30
            },
            {
                "text": "نجيب",
                "confidence": 1.0,
                "start_index": 47
            },
            {
                "text": "بن",
                "confidence": 1.0,
                "start_index": 52
            },
            {
                "text": "الطيب",
                "confidence": 1.0,
                "start_index": 55
            },
            {
                "text": "المنتصر",
                "confidence": 1.0,
                "start_index": 61
            },
            {
                "text": "1135-2035",
                "confidence": 1.0,
                "start_index": 69
            },
            {
                "text": "![image](img-1)",
                "confidence": 1.0,
                "start_index": 80
            }
        ],
        "average_page_confidence_score": 1.0,
        "minimum_page_confidence_score": 1.0
    },
    "blocks": [
        {
            "top_left_x": 10,
            "top_left_y": 10,
            "bottom_right_x": 320,
            "bottom_right_y": 29,
            "content": "شركة الثبات للمواد الإنشائية",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 1
        },
        {
            "top_left_x": 276,
            "top_left_y": 76,
            "bottom_right_x": 320,
            "bottom_right_y": 132,
            "content": "![image](img-0)",
            "type": "image",
            "confidence_scores": null,
            "reading_index": 2
        },
        {
            "top_left_x": 10,
            "top_left_y": 83,
            "bottom_right_x": 268,
            "bottom_right_y": 104,
            "content": "نجيب بن الطيب المنتصر",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 3
        },
        {
            "top_left_x": 10,
            "top_left_y": 108,
            "bottom_right_x": 268,
            "bottom_right_y": 126,
            "content": "1135-2035",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 4
        },
        {
            "top_left_x": 10,
            "top_left_y": 179,
            "bottom_right_x": 320,
            "bottom_right_y": 209,
            "content": "![image](img-1)",
            "type": "image",
            "confidence_scores": null,
            "reading_index": 5
        }
    ],
    "meta": {
        "template": "id_card",
        "hybrid": null,
        "page_font": "vizheh-azad-regular.ttf",
        "title_font": "vizheh-azad-regular.ttf",
        "language": "ar",
        "script": "arabic",
        "direction": "rtl",
        "augmentation": {
            "name": "reflected_light",
            "params": {
                "smoothness": 2.5,
                "internal_radius_range": [
                    0.05,
                    0.1
                ],
                "external_radius_range": [
                    0.2,
                    0.4
                ]
            }
        }
    }
}