
1. 좌표 확인하기그림판에서 4개의 좌표 찾기 2. 펼치기 getPerspectiveTransform 함수 이용import cv2import numpy as npimage = cv2.imread("../Resources/Images/card1.jpg")# print(image.shape) # (500, 477, 3)#Define 4 corner points#포인트 좌표를 정의하는 코드#32비트 부동소수점 형식으로 데이터를 정의width, height = 450, 350pts1 = np.float32([[116,223],[286,193],[157,476],[349,437]])pts2 = np.float32([[0,0],[width, 0], [0,height], [width, height]])#4개의 원..