From 198552e100c8d4c1d78f59ec583e7b0a06abe5e0 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Mon, 20 Jul 2026 02:05:13 +0200 Subject: [PATCH] calculate_width_height_by_columns_1_2: do allow highest enlargement when confident --- src/eynollah/eynollah.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eynollah/eynollah.py b/src/eynollah/eynollah.py index 687ba77..6c579c8 100644 --- a/src/eynollah/eynollah.py +++ b/src/eynollah/eynollah.py @@ -297,7 +297,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