|
|
|
@ -4233,8 +4233,6 @@ class Eynollah:
|
|
|
|
|
print("all Job done in %.1fs", time.time() - t0_tot)
|
|
|
|
|
|
|
|
|
|
def run_single(self):
|
|
|
|
|
# conditional merely for indentation (= smaller diff)
|
|
|
|
|
if True:
|
|
|
|
|
t0 = time.time()
|
|
|
|
|
img_res, is_image_enhanced, num_col_classifier, num_column_is_classified = self.run_enhancement(self.light_version)
|
|
|
|
|
self.logger.info("Enhancing took %.1fs ", time.time() - t0)
|
|
|
|
@ -4719,7 +4717,6 @@ class Eynollah:
|
|
|
|
|
cont_page, polygons_lines_xml, ocr_all_textlines)
|
|
|
|
|
return pcgts
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
contours_only_text_parent_h = None
|
|
|
|
|
if self.reading_order_machine_based:
|
|
|
|
|
order_text_new, id_of_texts_tot = self.do_order_of_regions_with_model(
|
|
|
|
|