File size: 3,595 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
{
    "markdown": "ظلاماتهم، ومعظمهم جند البيرة ووقفوا\nفيصل بن عبد الرحمن الدوسري",
    "images": [],
    "tables": [],
    "hyperlinks": [],
    "header": null,
    "footer": null,
    "dimensions": {
        "dpi": 96,
        "height": 652,
        "width": 366
    },
    "confidence_scores": {
        "word_confidence_scores": [
            {
                "text": "ظلاماتهم،",
                "confidence": 1.0,
                "start_index": 0
            },
            {
                "text": "ومعظمهم",
                "confidence": 1.0,
                "start_index": 10
            },
            {
                "text": "جند",
                "confidence": 1.0,
                "start_index": 18
            },
            {
                "text": "البيرة",
                "confidence": 1.0,
                "start_index": 22
            },
            {
                "text": "ووقفوا",
                "confidence": 1.0,
                "start_index": 29
            },
            {
                "text": "فيصل",
                "confidence": 1.0,
                "start_index": 36
            },
            {
                "text": "بن",
                "confidence": 1.0,
                "start_index": 41
            },
            {
                "text": "عبد",
                "confidence": 1.0,
                "start_index": 44
            },
            {
                "text": "الرحمن",
                "confidence": 1.0,
                "start_index": 48
            },
            {
                "text": "الدوسري",
                "confidence": 1.0,
                "start_index": 55
            }
        ],
        "average_page_confidence_score": 1.0,
        "minimum_page_confidence_score": 1.0
    },
    "blocks": [
        {
            "top_left_x": 107,
            "top_left_y": 320,
            "bottom_right_x": 259,
            "bottom_right_y": 340,
            "content": "ظلاماتهم، ومعظمهم جند البيرة ووقفوا",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 1
        },
        {
            "top_left_x": 113,
            "top_left_y": 608,
            "bottom_right_x": 253,
            "bottom_right_y": 634,
            "content": "فيصل بن عبد الرحمن الدوسري",
            "type": "text",
            "confidence_scores": null,
            "reading_index": 2
        }
    ],
    "meta": {
        "template": "book_cover",
        "hybrid": null,
        "page_font": "aref-ruqaa-ink-regular.ttf",
        "title_font": "aref-ruqaa-ink-regular.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
                ]
            }
        }
    }
}