Optical Character Recognition (OCR) to clipboard for Japanese.
- Install the
virtualenv
Python package.
pip install virtualenv
- The OCR functionality relies on a screenshot utility to capture the text. I've chosen
flameshot
as the default tool as it works in both X11 and Wayland sessions.
- Verify that
install.sh
does nothing shady, then run it.
./install.sh
- Enable the OCR service and socket.
systemctl enable --now daikon.socket
Select an area to apply OCR. Result is copied to clipboard.
./daikon.sh
See -h
for optional arguments.