diff --git a/dgp/annotations/camera_transforms.py b/dgp/annotations/camera_transforms.py index 39ed070a..2bba670e 100644 --- a/dgp/annotations/camera_transforms.py +++ b/dgp/annotations/camera_transforms.py @@ -780,7 +780,7 @@ def _calc_A( box = [newx / 2, 0, w - newx / 2, h] else: newy = h - w * aspect_ratio - box = [0, newy / 2, w, h - newy] + box = [0, newy / 2, w, h - newy / 2] return box_crop_affine_transform(box, self.shape)