From 6fe02df97394edcc741243a9f3d635e4b2b472e2 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Mon, 9 Dec 2024 16:35:31 +0000 Subject: [PATCH] do_image_rotation: fix f93fa12 (do return results) --- src/eynollah/utils/separate_lines.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eynollah/utils/separate_lines.py b/src/eynollah/utils/separate_lines.py index f8df33f..a57acbb 100644 --- a/src/eynollah/utils/separate_lines.py +++ b/src/eynollah/utils/separate_lines.py @@ -1573,13 +1573,14 @@ def separate_lines_new2(img_path, thetha, num_col, slope_region, plotter=None): def do_image_rotation(queue_of_all_params,angels_per_process, img_resized, sigma_des): angels_per_each_subprocess = [] for mv in range(len(angels_per_process)): + print(f"rotating image by {angels_per_process[mv]}") img_rot=rotate_image(img_resized,angels_per_process[mv]) img_rot[img_rot!=0]=1 try: var_spectrum=find_num_col_deskew(img_rot,sigma_des,20.3 ) except: var_spectrum=0 - angels_per_each_subprocess.append(var_spectrum) + angels_per_each_subprocess.append(var_spectrum) queue_of_all_params.put([angels_per_each_subprocess])