Braille art generator
Project description
braille-art
一个便利的盲文字符画生成工具
安装
pip install braille-art
用法
brailleart <你的图片路径>
另外,提供了以下开关:
-
-w
/--width
,-h
/--height
: 控制图片的长/宽,如果只给其中一个值,则等比例缩放 -
-o
/--output
: 输出盲文字符画到指定文件
当然也可以在python中引用:
import brailleart as ba
ba.convert(your_path, optional_width, optional_height)
感谢
感谢这篇文章给出的盲文字符表和权值表。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
braille-art-0.0.2.tar.gz
(4.7 kB
view hashes)
Built Distributions
braille_art-0.0.2-py3.9.egg
(7.9 kB
view hashes)
Close
Hashes for braille_art-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e352270a35764754e0c6629cf7c9e319abbb89c4bbd7d4d33d7ec7a194f2ccc |
|
MD5 | 4c1a8a167cdac1aa0db68aa44b2cdc0f |
|
BLAKE2b-256 | e033543f7d270e326cdbb97a1851fd17226d1c71dce684b400a11afcf44de4d5 |