Home

Awesome

<div align="center"> <img src="./docs/logo.png" width="600"/> </div> <br />

docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

Documents: https://pydrawing.readthedocs.io/

Pydrawing

Beautify your image or video.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.

Support List

Beautifier_ENIntroductionRelated PaperCodeBeautifier_CN
glitchclickN/Aclick信号故障特效
douyineffectclickN/Aclick抖音特效
characterizeclickN/Aclick视频转字符画
cartooniseclickN/Aclick图像卡通化
photomosaicclickN/Aclick拼马赛克图片
beziercurveclickN/Aclick贝塞尔曲线画画
geneticfittingcircleclickN/Aclick遗传算法拟合图像-圆形
geneticfittingpolygonclickN/Aclick遗传算法拟合图像-多边形
nostalgicstyleclickN/Aclick照片怀旧风格
photocorrectionclickN/Aclick简单的照片矫正
pencildrawingclickclickclick铅笔素描画
cartoonganclickclickclick卡通GAN
fastneuralstyletransferclickclickclick快速风格迁移
cartoonizefaceclickclickclick人脸卡通化
noteprocessorclickclickclick手写笔记处理
oilpaintingclickclickclick照片油画化

Install

Preparation

Pip install

run "pip install pydrawing"

Source code install

(1) Offline
Step1: git clone https://github.com/CharlesPikachu/pydrawing.git
Step2: cd pydrawing -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/pydrawing.git@master"

Quick Start

import random
from pydrawing import pydrawing

filepath = 'asserts/dog.jpg'
config = {
    "savedir": "outputs",
    "savename": "output"
}
drawing_client = pydrawing.pydrawing()
drawing_client.execute(filepath, random.choice(drawing_client.getallsupports()), config=config)

Screenshot

<div align="center"> <img src="./docs/screenshot_characterize.gif" width="600"/> </div> <br /> <div align="center"> <img src="./docs/screenshot_fastneuralstyletransfer.gif" width="600"/> </div> <br /> <div align="center"> <img src="./docs/screenshot_photomosaic.png" width="600"/> </div> <br /> <div align="center"> <img src="./docs/screeshot_noteprocessor.png" width="600"/> </div> <br />

Projects in Charles_pikachu

More

WeChat Official Accounts

Charles_pikachu
img