mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-15 22:09:59 +02:00
simplify if-else in run
This commit is contained in:
parent
70d0b985a9
commit
1dec9b8731
1 changed files with 398 additions and 400 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue