FastOCR
FastOCR is a desktop application for OCR API.
Installation
Arch Linux
Build from AUR or install with your favorite AUR helper.
yay -S fastocr-git # Using yay
pikaur -S fastocr-git # Using pikaur
# ...
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