Skip to content

Commit

Permalink
Fixed height check based on original repo #202
Browse files Browse the repository at this point in the history
  • Loading branch information
tsampazk committed Mar 10, 2022
1 parent 4012984 commit 7977e5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def __call__(self, sample):
if image_y_start < 0:
crop_y_start -= image_y_start
image_y_start = 0
if image_y_start >= w:
if image_y_start >= h:
should_crop = False

if image_x_finish > w:
Expand Down

0 comments on commit 7977e5d

Please sign in to comment.