mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-07-26 05:29:16 +02:00
calculate_width_height_by_columns_1_2: do allow highest enlargement when confident
This commit is contained in:
parent
91f87fa784
commit
198552e100
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue