Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfraczek committed Dec 4, 2019
1 parent ca0baf3 commit 6c22d56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ cv::Size2f image::cropbox_area_scale(const cv::Size2f& in_size,
return result;
}

// rounds to nearest integer
cv::Point2f image::cropbox_shift(const cv::Size2f& in_size,
const cv::Size2f& crop_box,
float xoff,
Expand Down
2 changes: 1 addition & 1 deletion test/test_dataloader_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get_aeon_images(manifest_name, count, output_size, angle, crop,
return np.copy(raw_aeon_data)


ANGLE_OPTIONS = [[0, 0], [-10, -10], [11, 11]]
ANGLE_OPTIONS = [[0, 0], [-10, -10], [11, 11], [-360, -360]]
FLIP_OPTIONS = [False]
BGR_TO_RGB_OPTIONS = [False, True]
STANDARDIZE_OPTIONS = [False, True]
Expand Down

0 comments on commit 6c22d56

Please sign in to comment.