铅笔/铅笔画
snowland-pencildraw的Python项目详细描述
像这样使用! >>>>来自pencildraw.pencil_绘图导入* >;gt;gt;img=imread('您的照片名称') >>>>res=铅笔画(img,8,1,8,1.0,1.0) >>>>从MatplotLab导入Pylab作为PLT >>>>可编程图像显示(Res) >>>gt;plt.show()
>>> from pencildraw.pencil_drawing import * >>> img = imread('your pic name') >>> res = pencil_drawing(img, 8, 1, 8, 1.0, 1.0) >>> from matplotlab import pylab as plt >>> plt.imshow(res) >>> plt.show()
>>> from slapy.pencil_drawing import * >>> img = imread('your pic name') >>> res = pencil_drawing(img, 8, 1, 8, 1.0, 1.0) >>> from matplotlab import pylab as plt >>> plt.imshow(res) >>> plt.show()