#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author  : 河北雪域网络科技有限公司 A.Star
# @contact: <EMAIL>
# @site: www.snowland.ltd
# @file: demo_oilpaint.py
# @time: 2018/8/13 10:44
# @Software: PyCharm


from snowland.image.api import oilpaint
from skimage.data import astronaut
from matplotlib import pylab as plt

# 运行时请确定电脑已经安装scikit-snowland 0.1.4 及以上版本
# 否则请先
# pip install scikit-snowland

if __name__ == '__main__':
    img = astronaut()
    plt.figure()
    out = oilpaint(img)
    plt.axis('off')
    plt.imshow(out)
    plt.show()

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author  : 河北雪域网络科技有限公司 A.Star
# @contact: <EMAIL>
# @site: www.snowland.ltd
# @file: demo_oilpaint.py
# @time: 2018/8/13 10:44
# @Software: PyCharm


from snowland.image.api import oilpaint
from skimage.data import astronaut
from matplotlib import pylab as plt

# 运行时请确定电脑已经安装scikit-snowland 0.1.4 及以上版本
# 否则请先
# pip install scikit-snowland

if __name__ == '__main__':
    img = astronaut()
    plt.figure()
    out = oilpaint(img)
    plt.axis('off')
    plt.imshow(out)
    plt.show()

#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author  : 河北雪域网络科技有限公司 A.Star # @contact: <EMAIL> # @site: www.snowland.ltd # @file: demo_oilpaint.py # @time: 2018/8/13 10:44 # @Software: PyCharm # 运行时请确定电脑已经安装scikit-snowland 0.1.4 及以上版本 # 否则请先 # pip install scikit-snowland