-
Notifications
You must be signed in to change notification settings - Fork 2
/
page_example.py
89 lines (89 loc) · 6.03 KB
/
page_example.py
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
page_example = u"""<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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">
<Metadata>
<Creator>prov=University of Rostock/Institute of Mathematics/CITlab|PLANET AI GmbH/Gundram Leifert/[email protected]:name=Dutch Mountains (18th Century)(htr_id=21683)::::v=2.6.6
prov=University of Rostock/Institute of Mathematics/CITlab|PLANET AI GmbH/Tobias Gruening/[email protected]:name=de.uros.citlab.module.baseline2polygon.B2PSeamMultiOriented:v=2.6.6
prov=University of Rostock/Institute of Mathematics/CITlab|PLANET AI GmbH/Tobias Gruening/[email protected]:name=/net_tf/LA73_249_0mod360.pb:de.uros.citlab.segmentation.CITlab_LA_ML:v=2.6.6
Transkribus</Creator>
<Created>2020-09-13T11:47:58.199+07:00</Created>
<LastChange>2021-09-23T12:35:22.487+02:00</LastChange>
<TranskribusMetadata docId="832542" pageId="30905998" pageNr="34" tsid="68010597" status="GT" userId="15017" imgUrl="https://files.transkribus.eu/Get?id=BWZPOUURQUCALWTIEBIBUDGV&fileType=view" xmlUrl="https://files.transkribus.eu/Get?id=DMCLAACBXBRGGPGGRADKEZKK" imageId="15206543"/>
</Metadata>
<Page imageFilename="0.jpeg" imageWidth="750" imageHeight="1141">
<ReadingOrder>
<OrderedGroup id="ro_1636905179638" caption="Regions reading order">
<RegionRefIndexed index="0" regionRef="r1"/>
</OrderedGroup>
</ReadingOrder>
<TextRegion orientation="0.0" id="r1" custom="readingOrder {index:0;}">
<Coords points="195,385 195,795 513,795 513,385"/>
<TextLine id="r1l1" custom="readingOrder {index:0;} reference {offset:0; length:11; continued:true;}">
<Coords points="209,419 263,428 286,423 321,448 363,433 454,434 455,388 444,384 418,393 367,368 351,381 332,369 320,376 301,359 266,374 252,359 234,371 210,368"/>
<Baseline points="215,412 241,413 267,414 293,414 319,415 345,415 371,416 397,416 423,417 450,417"/>
<TextEquiv>
<Unicode>Pyrotechnia</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="line_1600050604235_261" custom="readingOrder {index:1;} reference {offset:0; length:2; continued:true;}">
<Coords points="326,429 351,429 351,479 326,479"/>
<Baseline points="326,474 351,474"/>
<TextEquiv>
<Unicode>of</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l2" custom="readingOrder {index:2;} reference {offset:0; length:22; continued:true;}">
<Coords points="189,549 318,537 385,557 431,535 518,542 511,479 485,487 442,472 386,511 345,513 265,464 191,474"/>
<Baseline points="195,526 221,526 248,526 274,526 301,527 327,528 354,528 380,529 407,530 433,530 460,530 486,531 513,531"/>
<TextEquiv>
<Unicode>konst in't vuurwercken</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l3" custom="readingOrder {index:3;}">
<Coords points="196,613 282,585 360,608 408,582 443,598 464,590 483,606 507,603 508,543 457,538 387,558 317,538 197,545"/>
<Baseline points="201,586 226,585 251,585 276,585 301,585 326,585 351,585 376,586 401,587 426,587 451,588 476,589 502,590"/>
<TextEquiv>
<Unicode>Geschreven op 't Schip</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l4" custom="readingOrder {index:4;} organization {offset:0; length:16;}">
<Coords points="215,640 268,647 300,668 355,643 413,659 436,648 459,648 472,659 490,653 491,608 461,593 440,600 416,588 393,603 360,607 309,588 297,597 216,601"/>
<Baseline points="221,636 247,638 273,638 300,639 326,639 353,640 379,640 405,640 432,640 458,641 485,641"/>
<TextEquiv>
<Unicode>'t Huijs Ter Loo</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l5" custom="readingOrder {index:5;}">
<Coords points="250,705 281,701 290,707 300,701 306,707 350,699 371,718 400,698 425,701 426,658 391,654 376,661 341,653 315,672 286,663 268,646 252,647"/>
<Baseline points="255,692 282,693 310,693 337,695 365,695 392,696 420,696"/>
<TextEquiv>
<Unicode>door mijn</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l6" custom="readingOrder {index:6;} person {offset:0; length:15;}">
<Coords points="206,750 239,761 292,752 309,765 321,755 341,774 392,750 420,761 470,757 470,695 458,690 430,708 401,698 366,715 346,698 284,704 273,713 206,682"/>
<Baseline points="211,747 236,748 261,749 287,750 312,750 338,750 363,750 388,750 414,750 439,750 465,751"/>
<TextEquiv>
<Unicode>Daniel Galschut</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r1l7" custom="readingOrder {index:7;} place {offset:4; length:12;}">
<Coords points="265,787 289,793 304,787 319,801 331,794 340,800 358,788 378,797 438,801 451,789 462,789 462,759 435,754 421,761 412,754 382,759 372,754 351,772 341,772 324,756 308,766 265,756"/>
<Baseline points="270,781 296,784 323,784 350,784 376,783 403,783 430,783 457,785"/>
<TextEquiv>
<Unicode>van Koppenhaggen</Unicode>
</TextEquiv>
</TextLine>
<TextEquiv>
<Unicode>Pyrotechnia
of
konst in't vuurwercken
Geschreven op 't Schip
't Huijs Ter Loo
door mijn
Daniel Galschut
van Koppenhaggen</Unicode>
</TextEquiv>
</TextRegion>
</Page>
</PcGts>
"""