Python 實現圖像手繪效果

from PIL import Image import numpy as np out1 = np.asarray(Image.open("D:/pictures/yinghua.jpg").convert('L')).astype('float') depth = 10. grad = np.gradient(out1) grad_x,grad_y = grad grad_x = grad_x
相關文章
相關標籤/搜索