def random_rotate_image(image):
angle = np.random.uniform(low=-10.0, high=10.0)
return misc.imrotate...getRotationMatrix2D(center=(image.shape[1]/2, image.shape[0]/2), angle=angle, scale=0.7)
# image = cv2.warpAffine...(image, RotateMatrix, (w,h), borderValue=(129,137,130))
#image = cv2.warpAffine(image, RotateMatrix..., (w,h),borderValue=(129,137,130))
image = cv2.warpAffine(image, RotateMatrix, (w,h),borderMode...np.hstack([H1, H2])
# H = np.float32([[1,0,408],[0,1,431]])
print (H)
image = cv2.warpAffine