paras_test.json 8.47 KB
Newer Older
赵小蒙's avatar
赵小蒙 committed
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
{
    "page_0":{
        "para_blocks": [
          {
              "block_id": 0,
              "bbox": [39.0, 34.719993591308594, 347.1359558105469, 51.2079963684082],
              "text": "IOP Conference Series: Earth and Environmental Science",
              "dir": [1.0, 0.0],
              "X0": 39.0,
              "X1": 347.1359558105469,
              "avg_char_width": 6.4194990793863935,
              "avg_char_height": 16.48800277709961,
              "block_font_type": "Helvetica",
              "block_font_size": 12.0,
              "is_segmented": 1,
              "paras": [
                  {
                      "para_id": 0,
                      "bbox": [39.0, 34.719993591308594, 347.1359558105469, 51.2079963684082],
                      "text": "IOP Conference Series: Earth and Environmental Science",
                      "is_matched": 1,
                      "is_title": 0,
                      "font_type": "Helvetica",
                      "font_size": 12.0,
                      "font_color": 0,
                      "neighbor_paras": [null, null]
                  }
              ],
              "bboxes_para": [[39.0, 34.719993591308594, 347.1359558105469, 51.2079963684082]]
          },
          {
              "block_id": 1,
              "bbox": [39.0, 111.38001251220703, 143.67001342773438, 123.77301025390625],
              "text": "PAPER •  OPEN ACCESS",
              "dir": [1.0, 0.0],
              "X0": 39.0,
              "X1": 143.67001342773438,
              "avg_char_width": 6.541875839233398,
              "avg_char_height": 12.392997741699219,
              "block_font_type": "Helvetica-Bold",
              "block_font_size": 9.0,
              "is_segmented": 1,
              "paras": [
                  {
                      "para_id": 0,
                      "bbox": [39.0, 111.38001251220703, 143.67001342773438, 123.77301025390625],
                      "text": "PAPER •  OPEN ACCESS",
                      "is_matched": 1,
                      "is_title": 0,
                      "font_type": "Helvetica-Bold",
                      "font_size": 9.0,
                      "font_color": 0,
                      "neighbor_paras": [null, null]
                  },
                  {
                      "para_id": 1,
                      "bbox": [39.0, 111.38001251220703, 143.67001342773438, 123.77301025390625],
                      "text": "PAPER •  OPEN ACCESS",
                      "is_matched": 1,
                      "is_title": 0,
                      "font_type": "Helvetica-Bold",
                      "font_size": 9.0,
                      "font_color": 0,
                      "neighbor_paras": [null, null]
                  }
              ],
              "bboxes_para": [[39.0, 111.38001251220703, 143.67001342773438, 123.77301025390625]]
          }
        ],

        "line_blocks":[
            {
              "number": 0,
              "type": 0,
              "bbox": [
                428.93170166015625,
                744.921142578125,
                541.5675048828125,
                757.8131713867188
              ],
              "lines": [
                {
                  "spans": [
                    {
                      "size": 11.0,
                      "flags": 20,
                      "font": "UniversNextPro-BoldCond",
                      "color": 0,
                      "ascender": 0.9490000009536743,
                      "descender": -0.22300000488758087,
                      "text": "3",
                      "origin": [
                        536.37548828125,
                        755.3601684570312
                      ],
                      "bbox": [
                        536.37548828125,
                        744.921142578125,
                        541.5675048828125,
                        757.8131713867188
                      ]
                    }
                  ],
                  "wmode": 0,
                  "dir": [
                    1.0,
                    0.0
                  ],
                  "bbox": [
                    536.37548828125,
                    744.921142578125,
                    541.5675048828125,
                    757.8131713867188
                  ]
                },
                {
                  "spans": [
                    {
                      "size": 8.0,
                      "flags": 20,
                      "font": "UniversNextPro-BoldCond",
                      "color": 0,
                      "ascender": 0.9490000009536743,
                      "descender": -0.22300000488758087,
                      "text": "Spektrum ",
                      "origin": [
                        428.93170166015625,
                        755.3601684570312
                      ],
                      "bbox": [
                        428.93170166015625,
                        747.7681884765625,
                        458.7516174316406,
                        757.1441650390625
                      ]
                    },
                    {
                      "size": 8.0,
                      "flags": 4,
                      "font": "UniversNextPro-Cond",
                      "color": 0,
                      "ascender": 0.9359999895095825,
                      "descender": -0.21400000154972076,
                      "text": "der Wissenschaft ",
                      "origin": [
                        458.431884765625,
                        755.3601684570312
                      ],
                      "bbox": [
                        458.431884765625,
                        747.8721923828125,
                        508.0399169921875,
                        757.0721435546875
                      ]
                    },
                    {
                      "size": 8.0,
                      "flags": 4,
                      "font": "UniversNextPro-Regular",
                      "color": 0,
                      "ascender": 0.9290000200271606,
                      "descender": -0.22200000286102295,
                      "text": "7.21",
                      "origin": [
                        510.2349853515625,
                        755.3601684570312
                      ],
                      "bbox": [
                        510.2349853515625,
                        747.9281616210938,
                        524.5621948242188,
                        757.1361694335938
                      ]
                    }
                  ],
                  "wmode": 0,
                  "dir": [
                    1.0,
                    0.0
                  ],
                  "bbox": [
                    428.93170166015625,
                    747.7681884765625,
                    524.5621948242188,
                    757.1441650390625
                  ]
                }
              ]
            }
        ],

        "images":[
            {
                "image_bbox":[0,0,1,1],
                "image_path":"path/to/image.jpg"
            },
            {
                "image_bbox":[1,2,3,4],
                "image_path":"path/to/image.jpg"
            }
        ],

        "tables":[
            {
                "table_bbox":[0,0,1,1],
                "image_path":"path/to/image.jpg"
            },
            {
                "table_bbox":[1,2,3,4],
                "image_path":"path/to/image.jpg"
            }
        ],

        "interline_equations":[
            {
                "equation_bbox":[0,0,1,1],
                "image_path":"path/to/equation.jpg"
            },
            {
                "equation_bbox":[1,2,3,4],
                "image_path":"path/to/equation.jpg"
            }
        ],

        "inline_equations":[
            {
                "equation_bbox":[0,0,1,1],
                "image_path":"path/to/equation.jpg"
            },
            {
                "equation_bbox":[1,2,3,4],
                "image_path":"path/to/equation.jpg"
            }
        ],

        "layout_bboxes":[
            {
                "layout_bbox": [0,0, 1,1],
                "layout_label":"V|H|B"
            },
            {
                "layout_bbox": [1,2,3,4],
                "layout_label":"V|H|B"
            }
        ],
        "pymu_raw_blocks":[],

        "global_statistic":{
            
        },
        "droped_text_block":[


        ],
        "droped_image_block":[
            
        ],
        "droped_table_block":[
            
        ],
        "image_backup":[

        ],
        "table_backup":[

        ]
    },
    "page_1":{

    }
}