{"id":15665158,"url":"https://github.com/brucezhang1993/fastocr","last_synced_at":"2025-04-05T04:13:07.677Z","repository":{"id":37020126,"uuid":"336989229","full_name":"BruceZhang1993/FastOCR","owner":"BruceZhang1993","description":"FastOCR 是一款开源免费的提供在线 OCR 文字识别的桌面工具","archived":false,"fork":false,"pushed_at":"2025-02-22T08:02:32.000Z","size":565,"stargazers_count":72,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T03:11:18.831Z","etag":null,"topics":["ocr","pyqt","python","qml","qt"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BruceZhang1993.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-08T07:08:35.000Z","updated_at":"2025-02-22T08:02:36.000Z","dependencies_parsed_at":"2023-02-15T15:16:26.890Z","dependency_job_id":"2ef768b3-0215-413a-96bf-ce70a28bb915","html_url":"https://github.com/BruceZhang1993/FastOCR","commit_stats":{"total_commits":198,"total_committers":6,"mean_commits":33.0,"dds":"0.030303030303030276","last_synced_commit":"feffa560e6d85df79cdef862f203511780c98222"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceZhang1993%2FFastOCR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceZhang1993%2FFastOCR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceZhang1993%2FFastOCR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceZhang1993%2FFastOCR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceZhang1993","download_url":"https://codeload.github.com/BruceZhang1993/FastOCR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"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":["ocr","pyqt","python","qml","qt"],"created_at":"2024-10-03T13:45:09.836Z","updated_at":"2025-04-05T04:13:07.659Z","avatar_url":"https://github.com/BruceZhang1993.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastOCR\n\n[![GitHub top language](https://img.shields.io/github/languages/top/BruceZhang1993/FastOCR?style=flat-square)](https://github.com/BruceZhang1993/FastOCR/search?l=python)\n[![GitHub](https://img.shields.io/github/license/BruceZhang1993/FastOCR?style=flat-square)](https://github.com/BruceZhang1993/FastOCR/blob/master/LICENSE)\n[![GitHub version](https://img.shields.io/github/v/tag/BruceZhang1993/FastOCR?label=Version\u0026style=flat-square)](https://github.com/BruceZhang1993/FastOCR/releases)\n![PyPI](https://img.shields.io/pypi/v/fastocr?style=flat-square)\n\nFastOCR 是一款开源免费的提供在线 OCR 文字识别的桌面工具\n\n## 支持的 OCR API 后端\n\n- [x] 百度 AI 文字识别服务  https://ai.baidu.com/tech/ocr\n- [x] 有道文字识别服务  https://ai.youdao.com/product-ocr-print.s\n- [x] 旷视 Face++ 文字识别服务 (Experimental)  https://www.faceplusplus.com.cn/general-text-recognition/\n- [ ] 本地 OCR\n\n### 特性\n\n- [x] 通用文字识别 / 多个在线 OCR API 支持\n- [x] 多语言支持 / 百度\n- [x] 高精度接口支持 / 百度\n- [x] 识别文字搜索\n- [ ] 本地 OCR 后端\n- [ ] 自定义快捷动作\n\n## 支持操作系统\n\n- Linux X11\n- Windows\n- macOS (Experimental)\n- Linux Wayland (Experimental)\n\n### 支持的 Wayland 环境 (Linux)\n\n- Gnome Wayland\n- KDE Wayland\n- Sway\n\n## 安装\n\n### Windows  \n 64 位预编译版，解压即可使用\n\n点击下载 -\u003e [Download](https://github.com/BruceZhang1993/FastOCR/releases/latest) 解压到安装目录，执行 FastOCR.exe\n\n### macOS\n\n理论上支持但无构建环境，打包过程类似 Windows 如下，生成的文件位于项目的 dist 目录下\n\n```shell\npip install poetry\npoetry update\npoetry run pyinstaller build.spec\n```\n\n### Arch Linux\n\n稳定版本 https://aur.archlinux.org/packages/fastocr\n\n开发版本 https://aur.archlinux.org/packages/fastocr-git\n\n 从 AUR 下载脚本编译或使用你喜欢的 AUR 辅助工具\n\n```shell\nyay -S fastocr  # 使用 yay\npikaur -S fastocr  # 使用 pikaur\n```\n\n### Nix/NixOS\n \n使用 [NixOS CN flakes](https://github.com/nixos-cn/flakes) 或 [berberman flakes](https://github.com/berberman/flakes) 安装\n\n```shell\nnix run github:berberman/flakes#fastocr\n```\n\n### 通用 (PyPI)\n\n[fastocr @ PyPI](https://pypi.org/project/fastocr/)\n\n```shell\npip install --user fastocr\n# Linux 复制 desktop 文件到 ~/.local/share/applications\n```\n\n### 通用 (手动安装)\n\n```shell\npython setup.py install\n# Linux 复制 desktop 文件到 ~/.local/share/applications\n```\n\n### 通用 (仅本地开发)\n\n 自豪地使用 [Poetry](https://python-poetry.org/docs/) 进行开发\n\n```shell\npoetry install\n```\n\n## 使用方法\n\n```shell\nfastocr  # 运行\nfastocr --help  # 查看帮助\n```\n\n## DBus (Linux only)\n\nService name: `io.github.brucezhang1993.FastOCR`\n\nObject: `/io/github/brucezhang1993/FastOCR`\n\n### 方法\n\n| Actions            | Arguments           | Description                                                 |\n|:-------------------|:--------------------|:------------------------------------------------------------|\n| captureToClipboard | {seconds} {no_copy} | 执行 OCR 捕获到系统剪贴板或触发 dbus 信号                      |\n|                    |                     | seconds: 延迟执行单位为秒                                    |\n|                    |                     | no_copy: 如果为 true 则仅触发 dbus 信号而不复制到系统剪贴板    |\n| quitApp            | --                  | 退出应用                                                    |\n\n### 信号\n\n| Signals  | Arguments | Description                            |\n|:---------|:----------|:---------------------------------------|\n| captured | {text}    | OCR 识别结果文本会触发此信号             |\n|          |           | text: 文本识别结果                      |\n\n## 贡献\n\nPull requests are welcome.\n\nFor major changes, please open an issue first to discuss what you would\nlike to change.\n\n## License\n\nLGPL3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucezhang1993%2Ffastocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucezhang1993%2Ffastocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucezhang1993%2Ffastocr/lists"}