{"id":19805347,"url":"https://github.com/feightwywx/braille-art","last_synced_at":"2025-05-01T06:31:09.027Z","repository":{"id":57416250,"uuid":"408676394","full_name":"feightwywx/braille-art","owner":"feightwywx","description":"一个盲文字符画生成器 / A braille art generator.","archived":false,"fork":false,"pushed_at":"2021-09-24T12:56:37.000Z","size":7,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T21:40:23.770Z","etag":null,"topics":["ascii-art","braille-art","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feightwywx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-21T03:32:47.000Z","updated_at":"2025-02-17T03:05:40.000Z","dependencies_parsed_at":"2022-09-05T04:42:14.910Z","dependency_job_id":null,"html_url":"https://github.com/feightwywx/braille-art","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feightwywx%2Fbraille-art","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feightwywx%2Fbraille-art/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feightwywx%2Fbraille-art/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feightwywx%2Fbraille-art/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feightwywx","download_url":"https://codeload.github.com/feightwywx/braille-art/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251835521,"owners_count":21651666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii-art","braille-art","opencv","python"],"created_at":"2024-11-12T09:03:30.682Z","updated_at":"2025-05-01T06:31:08.728Z","avatar_url":"https://github.com/feightwywx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# braille-art\n\n一个便利的盲文字符画生成工具\n\n## 安装\n\n请先确保安装好Python环境，本程序在以下环境经过测试：\n\n- Windows 10, CPython 3.9.7 (amd64)\n\n- macOS 11.6, CPython 3.9.7 (amd64)\n\n- Ubuntu 20.04 LTS, CPython 3.8.10 (amd64, WSL2)\n\n之后，利用pip进行安装：\n\n```sh\npip3 install braille-art\n```\n\n## 用法\n\n```sh\nbrailleart \u003c你的图片路径\u003e\n```\n\n另外，提供了以下可选开关：\n\n- `-w`/`--width`, `-h`/`--height`: 控制图片的长/宽，如果只给其中一个值，则等比例缩放\n\n- `-o`/`--output`: 输出盲文字符画到指定文件\n\n- `-s`/`--threshold`: 可以指定进行二值化时使用的阈值\n\n当然也可以在python中引用：\n\n```python\nimport brailleart as ba\n\nba.convert(your_path, optional_width, optional_height, optional_threshold)\n```\n\n## 感谢\n\n感谢[这篇文章](https://www.luogu.com.cn/blog/hejy/canvas)给出的盲文字符表和权值表。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeightwywx%2Fbraille-art","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeightwywx%2Fbraille-art","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeightwywx%2Fbraille-art/lists"}