参考
http://www.voidcn.com/article/p-hamaapsy-bvd.html
https://stackoverflow.com/questions/20843544/np-rot90-corrupts-an-opencv-image
# 旋转 img_rgb_shift=np.rot90(img_rgb_shift, k=-1) #内存中复制,或读写到硬盘1次 img_rgb_shift = img_rgb_shift.copy() #cv2.imwrite('./mock_shift1.jpg',img_rgb_shift) #img_rgb_shift = cv2.imread('./mock_shift1.jpg')