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
相关文章
相关标签/搜索