calculate_width_height_by_columns: do allow highest enlargement when confident

This commit is contained in:
Robert Sachunsky 2026-07-19 03:22:56 +02:00
parent d0a55a1fcb
commit 5e3fde31d9

View file

@ -276,7 +276,7 @@ class Eynollah:
img_new = np.copy(img)
img_is_resized = False
#elif conf_col < 0.8 and img_h_new >= 8000:
elif img_h_new >= 8000:
elif conf_col < 0.9 and img_h_new >= 8000:
# don't upsample if too large
img_new = np.copy(img)
img_is_resized = False