matplotlib.pyplot 透视变换 Image.PERSPECTIVE
matplotlib.pyplot 透视变换import mathimport matplotlib.pyplot as pltfrom PIL import Imageif __name__ == '__main__': img = Image.open('./example.png').resize((128, 128)) params = [ [0.5, 0.0, -64, 0.0, 1.0, -64, 0.0, 0.0], [1.5, 0
转载
2021-10-05 18:52:48 ·
433 阅读 ·
0 评论