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.1.tar.gz
(4.6 kB
view hashes)
Built Distributions
braille_art-0.0.1-py3.9.egg
(7.3 kB
view hashes)
Close
Hashes for braille_art-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 349ce3de064315b5c6bade48f0beec8ad39fdc02c8c61189b0f3d150e4538c4c |
|
MD5 | a10b9e84a648fc210e54ebc6f9f75e7d |
|
BLAKE2b-256 | 393c85a50ccaa6445b0521fc0a6b4362facd2b5a692ea15a41d42a3a3dab410d |