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 | Introduction | Related Paper | Code | in Chinese |
|---|---|---|---|---|
| glitch | click | N/A | click | 信号故障特效 |
| douyineffect | click | N/A | click | 抖音特效 |
| characterize | click | N/A | click | 视频转字符画 |
| cartoonise | click | N/A | click | 图像卡通化 |
| photomosaic | click | N/A | click | 拼马赛克图片 |
| beziercurve | click | N/A | click | 贝塞尔曲线画画 |
| geneticfittingcircle | click | N/A | click | 遗传算法拟合图像-圆形 |
| geneticfittingpolygon | click | N/A | click | 遗传算法拟合图像-多边形 |
| nostalgicstyle | click | N/A | click | 照片怀旧风格 |
| photocorrection | click | N/A | click | 简单的照片矫正 |
| pencildrawing | click | click | click | 铅笔素描画 |
| cartoongan | click | click | click | 卡通GAN |
| fastneuralstyletransfer | click | click | click | 快速风格迁移 |
| cartoonizeface | click | click | click | 人脸卡通化 |
| noteprocessor | click | click | click | 手写笔记处理 |
| oilpainting | click | click | click | 照片油画化 |
Install
Preparation
- ffmpeg: You should set ffmpeg in environment variable.
- Pytorch: To apply some of the supported beautifiers (e.g., cartoongan), you need to install pytorch and corresponding dependencies following tutorial.
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
Projects in Charles_pikachu
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.
- Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
- CodeFree: Make no code a reality.
- DeepLearningToys: Some deep learning toys implemented in pytorch.
- DataAnalysis: Some data analysis projects in charles_pikachu.
- Imagedl: Search and download images from specific websites.
More
WeChat Official Accounts
Charles_pikachu
Metadata
Release files for pydrawing 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydrawing-0.1.9.tar.gz | 3.8 MB | Without provenance | Details for pydrawing-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydrawing-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for pydrawing-0.1.9-py3-none-any.whl |
Total release size: 7.6 MB
Release files / pydrawing-0.1.9.tar.gz
| Download URL | pydrawing-0.1.9.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f69534c2cda4ac140dc72e63466a1e05bd44c8fc7d85fd3093edb566de65103b
|
|
BLAKE2b-256 checksum How to use checksums |
019a8fa81af25c32ef7982f8ed1e4b8a07d659f1df443ce289d8b01af02670d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
|
Release files / pydrawing-0.1.9-py3-none-any.whl
| Download URL | pydrawing-0.1.9-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbf8904a00991eed3ab99e8140a3724e198bb8e016cafa5456f82ab469f686ae
|
|
BLAKE2b-256 checksum How to use checksums |
7fbf1460cbfa98fff7bc6f5d0546a06dae2fa2dbce1569f7a1fb1023b000fac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
|
Security for pydrawing 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.