diff --git a/undistort_field.py b/undistort_field.py index 54afc1d..a9de6a8 100644 --- a/undistort_field.py +++ b/undistort_field.py @@ -129,8 +129,8 @@ def clean_field_70(image): x0 = 33 x1 = 0 - x2 = 1366 - x3 = 1394 + x2 = 1362 + x3 = max(img.size[0], 1394) l10 = ((x0, 520), (x1, 503)) r10 = ((x2, 520), (x3, 505)) @@ -182,8 +182,8 @@ def clean_field_50(image): x0 = 33 x1 = 0 - x2 = 1333 - x3 = 1362 + x2 = 1331 + x3 = max(img.size[0], 1362) l10 = ((x0, 476), (x1, 455)) r10 = ((x2, 476), (x3, 457))