do_image_rotation: fix f93fa12 (do return results)

pull/142/head
Robert Sachunsky 2 weeks ago
parent d68017037c
commit 6fe02df973

@ -1573,6 +1573,7 @@ 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): def do_image_rotation(queue_of_all_params,angels_per_process, img_resized, sigma_des):
angels_per_each_subprocess = [] angels_per_each_subprocess = []
for mv in range(len(angels_per_process)): 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=rotate_image(img_resized,angels_per_process[mv])
img_rot[img_rot!=0]=1 img_rot[img_rot!=0]=1
try: try:

Loading…
Cancel
Save