Synthesize all pages from their predictions Args: **kwargs: keyword arguments passed to the `Page.synthesize` method Returns: list of synthesized pages
(self, **kwargs)
| 624 | result.show(**kwargs) |
| 625 | |
| 626 | def synthesize(self, **kwargs) -> list[np.ndarray]: |
| 627 | """Synthesize all pages from their predictions |
| 628 | |
| 629 | Args: |
| 630 | **kwargs: keyword arguments passed to the `Page.synthesize` method |
| 631 | |
| 632 | Returns: |
| 633 | list of synthesized pages |
| 634 | """ |
| 635 | return [page.synthesize(**kwargs) for page in self.pages] |
| 636 | |
| 637 | def export_as_xml(self, **kwargs) -> list[tuple[bytes, ET.ElementTree]]: |
| 638 | """Export the document as XML (hOCR-format) |