mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-07-26 05:29:16 +02:00
calculate_width_height_by_columns: do allow highest enlargement when confident
This commit is contained in:
parent
d0a55a1fcb
commit
5e3fde31d9
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ class Eynollah:
|
||||||
img_new = np.copy(img)
|
img_new = np.copy(img)
|
||||||
img_is_resized = False
|
img_is_resized = False
|
||||||
#elif conf_col < 0.8 and img_h_new >= 8000:
|
#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
|
# don't upsample if too large
|
||||||
img_new = np.copy(img)
|
img_new = np.copy(img)
|
||||||
img_is_resized = False
|
img_is_resized = False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue