From 3957278c2eaa5cf25e307c264ff47fd3ed708709 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 28 Dec 2021 10:05:02 -0500 Subject: [PATCH] Return max_p --- opendm/photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/photo.py b/opendm/photo.py index 531c71a4..46404e32 100644 --- a/opendm/photo.py +++ b/opendm/photo.py @@ -41,7 +41,7 @@ def find_largest_photo(photos): max_area = area max_p = p - return p + return max_p def get_mm_per_unit(resolution_unit): """Length of a resolution unit in millimeters.