mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-07 06:59:58 +02:00
get_smallest_skew: do not pass logger
This commit is contained in:
parent
b94c96fcbb
commit
0366707136
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,7 @@ def get_smallest_skew(img, sigma_des, angles, logger=None, plotter=None, map=map
|
||||||
for angle in angles]
|
for angle in angles]
|
||||||
else:
|
else:
|
||||||
with share_ndarray(img) as img_shared:
|
with share_ndarray(img) as img_shared:
|
||||||
results = list(map(partial(do_image_rotation, img=img_shared, sigma_des=sigma_des, logger=logger),
|
results = list(map(partial(do_image_rotation, img=img_shared, sigma_des=sigma_des, logger=None),
|
||||||
angles))
|
angles))
|
||||||
if plotter:
|
if plotter:
|
||||||
plotter.save_plot_of_rotation_angle(angles, results)
|
plotter.save_plot_of_rotation_angle(angles, results)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue