
다음처럼 원하는 각도로 이미지를 회전시킬 수도 있습니다.
matrix = cv2.getRotationMatrix2D((width/2, height/2), 30, 1)
result = cv2.warpAffine(image, matrix, (width, height), borderValue=200)
cv2_imshow(result)

다음처럼 원하는 각도로 이미지를 회전시킬 수도 있습니다.
matrix = cv2.getRotationMatrix2D((width/2, height/2), 30, 1)
result = cv2.warpAffine(image, matrix, (width, height), borderValue=200)
cv2_imshow(result)