Closed jiangwei221 closed 4 years ago
In the last merge, the cv2.resize is not used properly. The order of the dsize should be (width, height). demo:
>>> import cv2 >>> import numpy as np >>> img = np.ones([128, 128, 3]) >>> new_img = cv2.resize(img, (128, 256)) >>> new_img.shape (256, 128, 3)
Didn't fully verify the whole method, just a quick fix the that bug.
Thanks for the fix. Close because it is included in #117
In the last merge, the cv2.resize is not used properly. The order of the dsize should be (width, height). demo: