mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-07 15:09:58 +02:00
avoid pulling unused 'image_page_rotated' through functions
This commit is contained in:
parent
5bff2d156a
commit
5b16c2fc00
2 changed files with 25 additions and 29 deletions
|
@ -1532,7 +1532,7 @@ def get_smallest_skew(img, sigma_des, angles, logger=None, plotter=None, map=map
|
|||
|
||||
def do_work_of_slopes_new(
|
||||
box_text, contour, contour_par, index_r_con,
|
||||
textline_mask_tot_ea, image_page_rotated, slope_deskew,
|
||||
textline_mask_tot_ea, slope_deskew,
|
||||
logger=None, MAX_SLOPE=999, KERNEL=None, plotter=None
|
||||
):
|
||||
if KERNEL is None:
|
||||
|
@ -1590,7 +1590,7 @@ def do_work_of_slopes_new(
|
|||
|
||||
def do_work_of_slopes_new_curved(
|
||||
box_text, contour, contour_par, index_r_con,
|
||||
textline_mask_tot_ea, image_page_rotated, mask_texts_only, num_col, scale_par, slope_deskew,
|
||||
textline_mask_tot_ea, mask_texts_only, num_col, scale_par, slope_deskew,
|
||||
logger=None, MAX_SLOPE=999, KERNEL=None, plotter=None
|
||||
):
|
||||
if KERNEL is None:
|
||||
|
@ -1679,7 +1679,7 @@ def do_work_of_slopes_new_curved(
|
|||
|
||||
def do_work_of_slopes_new_light(
|
||||
box_text, contour, contour_par, index_r_con,
|
||||
textline_mask_tot_ea, image_page_rotated, slope_deskew, textline_light,
|
||||
textline_mask_tot_ea, slope_deskew, textline_light,
|
||||
logger=None
|
||||
):
|
||||
if logger is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue