Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

fix max_crop_size #210

Merged
merged 2 commits into from
Jul 25, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix fix rand_crop
remove duplicate roi
  • Loading branch information
superzrx committed Jul 24, 2015
commit 7dc89e64bb65e39b341448d4ce29c431bc1f39ff
1 change: 0 additions & 1 deletion src/io/image_augmenter-inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class ImageAugmenter {
y /= 2; x /= 2;
}
cv::Rect roi(x, y, rand_crop_size, rand_crop_size);
res = res(roi);
cv::resize(res(roi), res, cv::Size(shape_[1], shape_[2]));
}
else{
Expand Down