Skip to content
Permalink
Browse files

fix

  • Loading branch information...
iperov committed May 6, 2019
1 parent a805f81 commit d9c2e96f0106e41ff5c183589abb9e2985c4fb42
Showing with 1 addition and 1 deletion.
  1. +1 −1 imagelib/warp.py
@@ -47,5 +47,5 @@ def warp_by_params (params, img, warp, transform, flip, is_border_replicate):
if transform:
img = cv2.warpAffine( img, params['rmat'], (params['w'], params['w']), borderMode=(cv2.BORDER_REPLICATE if is_border_replicate else cv2.BORDER_CONSTANT), flags=cv2.INTER_CUBIC )
if flip and params['flip']:
img = img[:,::-1,:]
img = img[:,::-1,...]
return img

0 comments on commit d9c2e96

Please sign in to comment.
You can’t perform that action at this time.