File size: 3,948 Bytes
5efada8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "markdown": "\n![image](img-0)\n\nفلسفة العلوم ونظرية المعرفة\n‌ ‌[بجرم] البَجارِمُ: الدواهي.",
    "images": [
        {
            "id": "img-0",
            "top_left_x": 312,
            "top_left_y": 254,
            "bottom_right_x": 376,
            "bottom_right_y": 318,
            "reading_index": 1
        }
    ],
    "tables": [],
    "hyperlinks": [],
    "header": null,
    "footer": null,
    "dimensions": {
        "dpi": 96,
        "height": 656,
        "width": 688
    },
    "confidence_scores": {
        "word_confidence_scores": [
            {
                "text": "![image](img-0)",
                "confidence": 1.0,
                "start_index": 1
            },
            {
                "text": "فلسفة",
                "confidence": 1.0,
                "start_index": 18
            },
            {
                "text": "العلوم",
                "confidence": 1.0,
                "start_index": 24
            },
            {
                "text": "ونظرية",
                "confidence": 1.0,
                "start_index": 31
            },
            {
                "text": "المعرفة",
                "confidence": 1.0,
                "start_index": 38
            },
            {
                "text": "‌",
                "confidence": 1.0,
                "start_index": 46
            },
            {
                "text": "‌[بجرم]",
                "confidence": 1.0,
                "start_index": 48
            },
            {
                "text": "البَجارِمُ:",
                "confidence": 1.0,
                "start_index": 56
            },
            {
                "text": "الدواهي.",
                "confidence": 1.0,
                "start_index": 68
            }
        ],
        "average_page_confidence_score": 1.0,
        "minimum_page_confidence_score": 1.0
    },
    "blocks": [
        {
            "top_left_x": 312,
            "top_left_y": 254,
            "bottom_right_x": 376,
            "bottom_right_y": 318,
            "content": "![image](img-0)",
            "type": "image",
            "confidence_scores": null,
            "reading_index": 1
        },
        {
            "top_left_x": 156,
            "top_left_y": 340,
            "bottom_right_x": 532,
            "bottom_right_y": 377,
            "content": "فلسفة العلوم ونظرية المعرفة",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 2
        },
        {
            "top_left_x": 276,
            "top_left_y": 387,
            "bottom_right_x": 412,
            "bottom_right_y": 402,
            "content": "‌ ‌[بجرم] البَجارِمُ: الدواهي.",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 3
        }
    ],
    "meta": {
        "template": "minimalist",
        "hybrid": null,
        "page_font": "albattar.ttf",
        "title_font": "ge-mb-mb-bold.ttf",
        "language": "ar",
        "script": "arabic",
        "direction": "rtl",
        "augmentation": {
            "name": "letterpress",
            "params": {
                "n_samples": [
                    100,
                    300
                ],
                "n_clusters": [
                    200,
                    500
                ],
                "std_range": [
                    500,
                    3000
                ],
                "value_range": [
                    150,
                    224
                ],
                "value_threshold_range": [
                    96,
                    128
                ]
            }
        }
    }
}