python-opencv-透视变换
透视变换:
参考:https://blog.csdn.net/g11d111/article/details/79978582
path = "./test.jpg"
img = cv2.imread(path)
img = cv2.resize(img, (1280, 720))
# 左上,右上,左下,右下
pts1 = np.float32([[510, 435], [665, 435],...
原创
2020-01-10 11:53:19 ·
235 阅读 ·
0 评论