1&2 column images only printspace

pull/138/head^2
vahidrezanezhad 5 months ago
parent be144db9f8
commit 00bf2b64d0

@ -3549,7 +3549,8 @@ class Eynollah:
if not num_col: if not num_col:
self.logger.info("No columns detected, outputting an empty PAGE-XML") self.logger.info("No columns detected, outputting an empty PAGE-XML")
pcgts = self.writer.build_pagexml_no_full_layout([], page_coord, [], [], [], [], [], [], [], [], [], [], cont_page, [], []) ocr_all_textlines = None
pcgts = self.writer.build_pagexml_no_full_layout([], page_coord, [], [], [], [], [], [], [], [], [], [], cont_page, [], [], ocr_all_textlines)
self.logger.info("Job done in %.1fs", time.time() - t1) self.logger.info("Job done in %.1fs", time.time() - t1)
if self.dir_in: if self.dir_in:
self.writer.write_pagexml(pcgts) self.writer.write_pagexml(pcgts)

Loading…
Cancel
Save