simplify if-else in run

pull/19/head
Konstantin Baierer 4 years ago
parent 70d0b985a9
commit 1dec9b8731

@ -2240,8 +2240,6 @@ class eynollah:
slopes_marginals = []
self.write_into_page_xml(txt_con_org, page_coord, self.dir_out, order_text_new, id_of_texts_tot, all_found_texline_polygons, all_box_coord, polygons_of_images, polygons_of_marginals, all_found_texline_polygons_marginals, all_box_coord_marginals, self.curved_line, slopes, slopes_marginals)
else:
# pass
if 1>0:#try:
patches = True
scaler_h_textline = 1 # 1.2#1.2
scaler_w_textline = 1 # 0.9#1

Loading…
Cancel
Save