다음처럼 원하는 각도로 이미지를 회전시킬 수도 있습니다.
matrix = cv2.getRotationMatrix2D((width/2, height/2), 30, 1) result = cv2.warpAffine(image, matrix, (width, height), borderValue=200) cv2_imshow(result)
엄선한 추천 도서와 신규 콘텐츠를 이메일로 보내드립니다.새로운 책이 등록될 때마다 소식을 받아보세요.