Skip to content

Commit

Permalink
fix: fix bug camera transform
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisochoatri committed Jun 11, 2024
1 parent 1860c50 commit 78f8990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgp/annotations/camera_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 78f8990

Please sign in to comment.