Skip to main content

FastOCR is a desktop application for OCR API.

Project description

FastOCR

GitHub top language GitHub GitHub version

FastOCR is a desktop application for OCR API.

Supported OCR API

Features

  • 通用文字识别
  • 多语言支持 / Baidu
  • 高精度接口支持 / Baidu

Supported environment

  • Linux X11
  • Windows
  • macOS
  • Linux Wayland (Experimental)

Supported wayland environment

  • Gnome Wayland
  • KDE Wayland
  • Sway

Installation

Arch Linux

Stable version: https://aur.archlinux.org/packages/fastocr

Git version: https://aur.archlinux.org/packages/fastocr-git

Build from AUR or install with your favorite AUR helper.

yay -S fastocr  # Using yay
pikaur -S fastocr  # Using pikaur
# ...

Nix/NixOS

Use NixOS CN flakes or berberman flakes

Run FastOCR

nix run github:berberman/flakes#fastocr

PyPI

fastocr @ PyPI

pip install --user fastocr
# Then copy desktop file to ~/.local/share/applications

Manually

Proudly use DepHell to generate setup.py file.

python setup.py install
# Then copy desktop file to ~/.local/share/applications

Development

Proudly use Poetry for developing.

poetry install

Usage

fastocr

DBus

Service name: io.github.brucezhang1993.FastOCR

Object: /io/github/brucezhang1993/FastOCR

Methods

Actions Arguments Description
captureToClipboard {seconds} {no_copy} Capture and OCR to system clipboard or dbus signal
seconds: Delay capture in seconds
no_copy: If true, the result will not be saved in clipboard
quitApp -- Quit app

Signal

Signals Arguments Description
captured {text} OCR result will be sent to this signal
text: OCR result in plain text

Contributing

Pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.

License

LGPL3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastocr-0.3.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastocr-0.3.0-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

Details for the file fastocr-0.3.0.tar.gz.

File metadata

  • Download URL: fastocr-0.3.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.12.13-arch1-2

File hashes

Hashes for fastocr-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6c2b077e7b841b6f532c1adbbaa3eee0d73f8388a42864f2f78fe0b40e36f648
MD5 c91fa757c70fbc05ffb2e47a2076c452
BLAKE2b-256 d386ae81d11d1ee7de32ff1c5b2d33f1cd1df6f804f1c182a9587550ad38c433

See more details on using hashes here.

File details

Details for the file fastocr-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fastocr-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.12.13-arch1-2

File hashes

Hashes for fastocr-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbffe56f2a7aebf00271fb5f298bb5778e5356b86f23840e92ca607fc73e6729
MD5 3afadd2d14e71dbd3be0371535502cc4
BLAKE2b-256 a18154eac30d5dc37e926d61e9cce700a81ada752bce4577a20406ecb5fc7dbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page