File size: 32,856 Bytes
5ebeb73
 
 
 
4c85050
5ebeb73
 
 
 
 
 
 
 
 
 
 
4c85050
5ebeb73
4c85050
5ebeb73
4c85050
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5ebeb73
4c85050
 
 
 
 
 
 
 
 
5ebeb73
4c85050
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5ebeb73
 
 
 
 
 
 
 
 
 
 
 
4c85050
5ebeb73
 
 
 
 
4c85050
 
 
 
 
 
 
5ebeb73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loaded as API: http://127.0.0.1:7860/ ✔\n",
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n",
      "<PcGts xmlns=\"http://schema.primaresearch.org/PAGE/gts/pagecontent/2013-07-15\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://schema.primaresearch.org/PAGE/gts/pagecontent/2013-07-15 http://schema.primaresearch.org/PAGE/gts/pagecontent/2013-07-15/pagecontent.xsd\">\n",
      "    <Metadata>\n",
      "        <Creator>Swedish National Archives</Creator>\n",
      "        <Created>2023-07-12, 14:33:18</Created>\n",
      "    </Metadata>\n",
      "    <Page imageFilename=\"page_xml.xml\" imageWidth=\"2715\" imageHeight=\"2128\">\n",
      "    <TextRegion id=\"region_0\" custom=\"readingOrder {index:0;}\">\n",
      "        <Coords points=\"1337,303 275,325 260,1580 286,1900 1363,1887\"/>\n",
      "    <TextLine id=\"line_region_0_0\" custom=\"readingOrder {index:0;}\">\n",
      "                <Coords points=\"1349,331 1340,315 1290,310 1289,300 1202,300 1201,310 527,324 363,316 336,325 332,337 352,364 451,373 911,355 1112,368 1219,351 1338,350\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Rättegångs fullmakt en blanco för J. A. Rude¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9845\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_1\" custom=\"readingOrder {index:1;}\">\n",
      "                <Coords points=\"1347,372 1325,364 1192,375 287,378 279,412 285,421 1235,413 1336,406\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>berg eller den han i sitt ställe förordnar i mål vid</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9811\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_2\" custom=\"readingOrder {index:2;}\">\n",
      "                <Coords points=\"1348,439 1334,429 1221,422 1006,435 470,437 287,428 278,452 283,473 300,478 911,473 1050,487 1144,469 1333,468 1346,461\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Litt härads rätt emot min man J. O. Nilsson en¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9802\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_3\" custom=\"readingOrder {index:3;}\">\n",
      "                <Coords points=\"1337,492 1265,483 1094,494 866,487 285,497 272,509 271,536 283,551 422,537 790,532 886,553 953,537 1030,551 1107,529 1325,525 1337,513\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>gående skilnad i äktenskapet; egande ombudet</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9975\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_4\" custom=\"readingOrder {index:4;}\">\n",
      "                <Coords points=\"1350,559 1343,544 1321,539 1049,555 929,546 864,555 278,558 272,583 285,602 512,610 626,593 707,593 809,617 882,590 1092,587 1147,601 1218,591 1273,602 1342,586\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>hvars lagliga åtgärder godkännas att uppsätta stäm¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9812\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_5\" custom=\"readingOrder {index:5;}\">\n",
      "                <Coords points=\"1351,610 1332,597 1103,593 1009,607 763,615 647,594 593,607 284,616 273,650 285,663 337,671 484,649 1347,636\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>ning och derå teckna mitt namn, försäkras Otter¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9835\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_6\" custom=\"readingOrder {index:6;}\">\n",
      "                <Coords points=\"1350,669 1341,655 1303,650 282,675 269,696 285,714 1179,700 1252,715 1331,705 1349,694\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>lund den 29 Augusti 1895 Anika Nilson Höf Ting</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9462\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_7\" custom=\"readingOrder {index:7;}\">\n",
      "                <Coords points=\"1327,713 1082,715 1020,704 927,704 826,720 621,710 446,727 287,715 272,724 271,751 285,767 488,771 566,760 821,758 1031,771 1132,752 1313,757 1332,751\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Bevittnas af Lars Larsson Hof Tång ol Olsson Ny¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9753\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_8\" custom=\"readingOrder {index:8;}\">\n",
      "                <Coords points=\"1341,787 1330,767 1075,762 972,777 680,776 603,764 488,781 286,777 277,809 285,822 768,823 1171,808 1231,828 1329,808\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>hem.- vice Häradshöfdingen A. Rudeberg för¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9697\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_9\" custom=\"readingOrder {index:9;}\">\n",
      "                <Coords points=\"1307,833 1290,821 1151,811 1009,831 865,813 747,836 285,839 274,850 274,873 285,882 798,868 1249,868 1297,861\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>ordnas i mitt ställe. Husås den 24 Sept. 1895.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9739\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_10\" custom=\"readingOrder {index:10;}\">\n",
      "                <Coords points=\"1327,878 1148,882 1071,872 968,875 870,893 720,882 596,897 428,886 286,892 277,934 285,946 446,935 548,953 607,934 866,935 1307,923 1331,914\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>J. A. Riideberg. Bevittnas: Fr. Svensson. O. M.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9374\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_11\" custom=\"readingOrder {index:11;}\">\n",
      "                <Coords points=\"275,969 280,994 294,1004 314,1011 327,1011 346,998 365,989 384,987 486,988 494,974 490,962 485,958 424,956 406,948 387,945 367,946 344,936 323,936 291,943 279,952\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Byström.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.8894\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_12\" custom=\"readingOrder {index:12;}\">\n",
      "                <Coords points=\"356,1025 367,1048 606,1047 679,1058 728,1048 1110,1034 1189,1037 1271,1056 1308,1037 1310,1009 1303,999 905,1001 825,993 763,1005 495,1007 405,996 366,1002\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Sedan ofvanintagna fullmakt och anlökning</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.989\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_13\" custom=\"readingOrder {index:13;}\">\n",
      "                <Coords points=\"1350,1061 1345,1051 1312,1047 1214,1056 284,1060 270,1095 286,1110 462,1116 656,1104 808,1113 936,1098 1132,1105 1339,1088\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>blifvit upplästa samt från stämningen uteck¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9912\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_14\" custom=\"readingOrder {index:14;}\">\n",
      "                <Coords points=\"1354,1133 1348,1114 383,1122 286,1130 271,1155 282,1168 1348,1153\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>nadt bevis inhemtats, att densamma den 15. Ma¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9466\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_15\" custom=\"readingOrder {index:15;}\">\n",
      "                <Coords points=\"1347,1172 1320,1162 987,1176 286,1182 274,1191 272,1212 285,1225 979,1214 1069,1227 1136,1213 1333,1207 1347,1195\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>nevarande månad svaranden delgifvits med¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9912\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_16\" custom=\"readingOrder {index:16;}\">\n",
      "                <Coords points=\"1348,1227 1308,1221 1082,1232 284,1238 272,1251 271,1280 289,1292 404,1276 1350,1261\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>gaf Svaranden käromålet och erkände, all han,</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.979\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_17\" custom=\"readingOrder {index:17;}\">\n",
      "                <Coords points=\"1341,1288 1331,1275 281,1295 269,1315 284,1334 704,1328 792,1335 949,1325 1132,1332 1328,1318\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>som icke sedan år 1891 sammanträffat med</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9983\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_18\" custom=\"readingOrder {index:18;}\">\n",
      "                <Coords points=\"1351,1350 1331,1336 1052,1333 587,1346 287,1340 274,1350 272,1376 285,1389 912,1383 1027,1396 1152,1378 1249,1391 1345,1372\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>käranden, under de senaste fyra åren uppe¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9993\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_19\" custom=\"readingOrder {index:19;}\">\n",
      "                <Coords points=\"1362,1407 1354,1392 1324,1387 1019,1400 312,1398 280,1403 273,1434 284,1448 394,1445 459,1455 533,1442 1142,1441 1350,1430\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>hållit sig i Österåren och sammanlefvat i brottsa</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9665\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_20\" custom=\"readingOrder {index:20;}\">\n",
      "                <Coords points=\"1357,1467 1353,1453 1337,1447 1231,1457 423,1453 291,1461 280,1496 287,1508 713,1501 811,1515 988,1497 1090,1512 1166,1497 1348,1493\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>ligt förhållande med ogifta Arbetsqvinnan Mar¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9944\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_21\" custom=\"readingOrder {index:21;}\">\n",
      "                <Coords points=\"550,1532 545,1519 540,1515 506,1510 465,1494 411,1517 381,1517 336,1526 285,1526 278,1536 276,1573 282,1581 287,1582 298,1573 327,1562 418,1552 542,1554 547,1551\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>gareta Lidén</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9787\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_22\" custom=\"readingOrder {index:22;}\">\n",
      "                <Coords points=\"1354,1596 1349,1563 1238,1557 1099,1568 1005,1562 518,1575 382,1562 360,1573 366,1613 544,1633 617,1612 971,1610 1029,1631 1121,1609 1311,1618 1348,1608\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Det upplystes att bemälta Margareta Lidén af¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.981\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_23\" custom=\"readingOrder {index:23;}\">\n",
      "                <Coords points=\"1358,1641 1346,1625 1285,1620 1054,1631 287,1634 281,1655 286,1676 1346,1666\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>lidit den 6 Mars 1894 samt att hon icke haft barn</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9851\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_24\" custom=\"readingOrder {index:24;}\">\n",
      "                <Coords points=\"632,1713 626,1695 574,1689 510,1698 376,1691 350,1696 286,1697 277,1705 274,1717 285,1731 618,1727 627,1723\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>med svaranden.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9948\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_25\" custom=\"readingOrder {index:25;}\">\n",
      "                <Coords points=\"1350,1749 1341,1738 509,1748 388,1738 361,1745 355,1774 370,1789 1121,1788 1330,1780 1348,1774\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Kärandeombudet anhöll om vittnes förhör med</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9789\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_26\" custom=\"readingOrder {index:26;}\">\n",
      "                <Coords points=\"1363,1812 1351,1798 1256,1791 945,1802 862,1788 754,1803 650,1792 534,1804 289,1797 285,1837 303,1845 1350,1835\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Bondelinen Salomon Salomansson och Sommu¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9686\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_0_27\" custom=\"readingOrder {index:27;}\">\n",
      "                <Coords points=\"284,1871 293,1893 938,1895 939,1904 1019,1891 1353,1891 1365,1881 1363,1860 1350,1852 648,1857 564,1845 512,1856 299,1859\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>skan Lovisa Christina Danrot, begge i Öiteråsen, hvil¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9569\"/>\n",
      "            </TextLine>\n",
      "    </TextRegion>\n",
      "    <TextRegion id=\"region_2\" custom=\"readingOrder {index:1;}\">\n",
      "        <Coords points=\"2616,64 2609,59 2603,58 2602,57 2596,57 2595,56 2593,56 2592,57 2578,57 2577,58 2564,59 2561,62 2559,66 2557,76 2556,77 2556,89 2560,100 2564,103 2576,103 2577,104 2598,104 2599,103 2608,102 2614,99 2618,95 2621,89 2621,77 2620,76 2620,73 2619,72 2618,67\"/>\n",
      "    <TextLine id=\"line_region_2_0\" custom=\"readingOrder {index:0;}\">\n",
      "                <Coords points=\"2621,57 2618,57 2617,58 2603,58 2602,59 2588,59 2587,60 2559,60 2556,58 2556,104 2619,104 2621,103\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>63</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9917\"/>\n",
      "            </TextLine>\n",
      "    </TextRegion>\n",
      "    <TextRegion id=\"region_3\" custom=\"readingOrder {index:2;}\">\n",
      "        <Coords points=\"2653,290 1737,294 1592,314 1590,1659 1610,1868 2680,1858\"/>\n",
      "    <TextLine id=\"line_region_3_0\" custom=\"readingOrder {index:0;}\">\n",
      "                <Coords points=\"2650,311 2641,300 2591,296 2590,286 2588,296 1614,305 1604,337 1615,348 1913,355 2366,336 2449,356 2518,334 2640,330\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>ka vid upprop företrädde och, då jäf emot dom</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9943\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_1\" custom=\"readingOrder {index:1;}\">\n",
      "                <Coords points=\"2663,371 2650,355 2553,345 2278,361 1613,361 1600,371 1598,398 1612,409 1854,414 2000,402 2410,394 2553,407 2649,400\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>hvarken anfördes eller kunde utletas, fingo ef¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9759\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_2\" custom=\"readingOrder {index:2;}\">\n",
      "                <Coords points=\"2666,416 2650,405 2209,419 1614,421 1601,430 1599,458 1613,474 1657,477 1799,463 2159,463 2312,451 2591,456 2660,447\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>lägga vittnes eden, hvarpå de, om edens vigt tre</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.973\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_3\" custom=\"readingOrder {index:3;}\">\n",
      "                <Coords points=\"2666,492 2659,473 2616,464 2150,468 2115,476 1990,470 1935,479 1616,483 1604,493 1604,514 1614,524 1873,520 1944,532 2017,524 2056,534 2131,513 2648,510\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>indrade, hvar för sig hördel och lemmanstäm¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9831\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_4\" custom=\"readingOrder {index:4;}\">\n",
      "                <Coords points=\"2662,548 2655,531 2036,537 1832,530 1625,540 1609,557 1616,577 2628,569 2655,565\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>nande berättade, att svaranden och numera</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9944\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_5\" custom=\"readingOrder {index:5;}\">\n",
      "                <Coords points=\"1606,617 1616,642 1807,630 1896,656 1950,632 2313,627 2412,644 2475,625 2650,621 2664,614 2666,594 2650,582 2551,578 2208,587 2113,569 1977,594 1616,598\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>aflidna Margareta Lidén omkring 2 1/2 år in¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9783\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_6\" custom=\"readingOrder {index:6;}\">\n",
      "                <Coords points=\"1599,680 1614,696 2334,685 2471,692 2657,680 2669,673 2669,650 2658,637 2090,648 2011,631 1884,656 1615,653 1602,661\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>till Margareta Lidens död sammantefvat i Öster¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9706\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_7\" custom=\"readingOrder {index:7;}\">\n",
      "                <Coords points=\"2669,707 2652,691 1889,707 1794,694 1737,706 1617,704 1604,737 1614,748 1754,748 1853,766 1920,748 2393,741 2477,756 2572,749 2630,757 2666,739\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>åsen, haft gemensamt hushåll och begagnat ge¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9743\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_8\" custom=\"readingOrder {index:8;}\">\n",
      "                <Coords points=\"1954,774 1949,768 1933,763 1879,761 1814,770 1740,763 1695,767 1613,764 1602,772 1602,793 1614,801 1800,797 1857,805 1884,812 1894,819 1914,820 1946,808 1953,793\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>menlam läng.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.8747\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_9\" custom=\"readingOrder {index:9;}\">\n",
      "                <Coords points=\"2659,828 2650,800 2563,810 2351,807 1918,823 1835,817 1771,801 1695,806 1684,834 1695,860 1994,857 2154,873 2247,851 2318,857 2388,847 2651,844\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Vittnes målen upprepades för vittnena och</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9865\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_10\" custom=\"readingOrder {index:10;}\">\n",
      "                <Coords points=\"2650,881 2643,870 2581,862 2300,866 2213,876 1607,874 1598,910 1613,921 1717,920 1781,936 1905,909 2635,906 2647,901\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>blefvo af dem vidkända; hvarefter vittnena</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9885\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_11\" custom=\"readingOrder {index:11;}\">\n",
      "                <Coords points=\"2669,925 2654,914 1863,934 1710,925 1605,937 1587,974 1610,984 1688,979 1715,991 1731,979 1851,967 2005,966 2076,984 2169,965 2600,962 2666,953\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>på begäran och enligt kärandeombudets med¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9892\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_12\" custom=\"readingOrder {index:12;}\">\n",
      "                <Coords points=\"2668,985 2660,975 1673,987 1609,996 1602,1033 1618,1047 1699,1028 2222,1022 2343,1031 2667,1009\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>gifvande tillerkändes ersättning för inställel¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9943\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_13\" custom=\"readingOrder {index:13;}\">\n",
      "                <Coords points=\"1598,1079 1630,1087 2650,1070 2662,1046 2650,1034 2548,1022 2440,1034 2121,1042 2012,1023 1881,1046 1776,1021 1695,1045 1604,1051\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>len, Salomon Salomonsson med tio kronor</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9877\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_14\" custom=\"readingOrder {index:14;}\">\n",
      "                <Coords points=\"2669,1105 2660,1094 2608,1089 2242,1096 2169,1087 2042,1099 1921,1088 1842,1099 1753,1088 1616,1102 1605,1132 1617,1144 2664,1130\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>och Lovisa Christina Danrat med sex kronor</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9788\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_15\" custom=\"readingOrder {index:15;}\">\n",
      "                <Coords points=\"2674,1167 2667,1146 2642,1142 2555,1151 1610,1163 1603,1196 1614,1220 1653,1208 1989,1197 2050,1209 2169,1196 2579,1199 2666,1183\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>tjugufyra öre, att af käranden till dem för¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9977\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_16\" custom=\"readingOrder {index:16;}\">\n",
      "                <Coords points=\"2034,1230 2003,1214 1959,1211 1797,1218 1653,1212 1605,1225 1601,1229 1599,1250 1612,1256 1636,1252 1812,1252 1879,1264 1931,1249 2004,1248\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>skatts vis utgifvas.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9559\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_17\" custom=\"readingOrder {index:17;}\">\n",
      "                <Coords points=\"1701,1278 1708,1305 2474,1301 2527,1287 2516,1264 2452,1257 2112,1267 2031,1262 1976,1271 1831,1273 1753,1255 1713,1261\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Svaranden erkände vittnes målen.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9769\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_18\" custom=\"readingOrder {index:18;}\">\n",
      "                <Coords points=\"2663,1327 2634,1312 2342,1311 2273,1320 1750,1330 1653,1320 1638,1327 1637,1348 1654,1362 1961,1360 2032,1381 2138,1363 2211,1379 2251,1363 2474,1368 2646,1353 2660,1346\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Kärandeombudet ingaf härpå följande prestbevis.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9882\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_19\" custom=\"readingOrder {index:19;}\">\n",
      "                <Coords points=\"1687,1406 1707,1421 1897,1419 1969,1437 2084,1421 2295,1417 2392,1432 2480,1414 2630,1423 2669,1412 2675,1386 2668,1367 2305,1377 2245,1366 2173,1383 2032,1385 1953,1366 1890,1377 1705,1376 1690,1384\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Att förre Fältjägaren Jonas Olof Nilsson från</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9778\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_20\" custom=\"readingOrder {index:20;}\">\n",
      "                <Coords points=\"1606,1455 1616,1475 1713,1488 2267,1474 2353,1491 2391,1479 2648,1467 2656,1446 2647,1432 2472,1423 2413,1435 2172,1427 1950,1441 1746,1437 1653,1423 1616,1427\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>Hof af nedanskrifna församling, född den 8.</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9931\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_21\" custom=\"readingOrder {index:21;}\">\n",
      "                <Coords points=\"2677,1567 2668,1533 2592,1528 2639,1519 2646,1507 2631,1495 2306,1502 2234,1519 2195,1504 2171,1516 2063,1507 1964,1522 1635,1496 1626,1508 1638,1525 1804,1545 1656,1557 1639,1567 1668,1575 2229,1561 2391,1574 2487,1555 2567,1578\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>December till skulld, och hans hustru Annika</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9083\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_22\" custom=\"readingOrder {index:22;}\">\n",
      "                <Coords points=\"2667,1624 2658,1605 2593,1596 2179,1608 1618,1601 1605,1612 1603,1632 1615,1647 1971,1642 2059,1665 2164,1642 2556,1648 2642,1640\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>hvarandra sammanvigda den 33 December 1883 /åttio¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9695\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_23\" custom=\"readingOrder {index:23;}\">\n",
      "                <Coords points=\"2674,1666 2667,1657 2377,1652 2053,1664 1616,1658 1604,1687 1615,1702 1815,1702 1873,1713 1973,1701 2668,1694\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>tre), och att ingendera förut varit frånskild, samt</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9713\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_24\" custom=\"readingOrder {index:24;}\">\n",
      "                <Coords points=\"2678,1743 2674,1719 2659,1711 2335,1720 2137,1712 2040,1721 1615,1723 1609,1746 1621,1759 2151,1759 2227,1771 2324,1759 2570,1759 2667,1770\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>att bemälde makar i äktenskap med hvarandra haf¬</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9877\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_25\" custom=\"readingOrder {index:25;}\">\n",
      "                <Coords points=\"2671,1782 2634,1770 1615,1779 1611,1805 1635,1816 2426,1814 2670,1803\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>va en dotter och en son, som båda lefva, det varder</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.995\"/>\n",
      "            </TextLine>\n",
      "    <TextLine id=\"line_region_3_26\" custom=\"readingOrder {index:26;}\">\n",
      "                <Coords points=\"2683,1843 2674,1825 1627,1828 1615,1851 1627,1862 1746,1864 1747,1873 1813,1873 1814,1864 1831,1863 1859,1864 1860,1873 1947,1873 1948,1864 2143,1873 2144,1864 2669,1862\"/>\n",
      "                                <TextEquiv>\n",
      "            <Unicode>härmed på begäran intygadt för sökande af äktenskaps</Unicode>\n",
      "        </TextEquiv>\n",
      "                        <PredScore pred_score=\"0.9819\"/>\n",
      "            </TextLine>\n",
      "    </TextRegion>\n",
      "    </Page>\n",
      "</PcGts>\n",
      "\n"
     ]
    }
   ],
   "source": [
    "from gradio_client import Client\n",
    "\n",
    "client = Client(\"http://127.0.0.1:7860/\")\n",
    "job = client.submit(\n",
    "    \"./helper/examples/images/image_0.jpg\",  # str (filepath or URL to image)\n",
    "    api_name=\"/predict\",\n",
    ")\n",
    "\n",
    "print(job.result())\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "venv",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.9"
  },
  "orig_nbformat": 4
 },
 "nbformat": 4,
 "nbformat_minor": 2
}