Increase max_size

pull/1696/head
Piero Toffanin 2023-09-08 13:22:03 -04:00
rodzic 2fea4d9f3d
commit 83fef16cb1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -508,7 +508,7 @@ def find_features_homography(image_gray, align_image_gray, feature_retention=0.7
h,w = image_gray.shape
max_dim = max(h, w)
max_size = 1280
max_size = 2048
if max_dim > max_size:
if max_dim == w:
f = max_size / w