Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 634 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 634 Bytes

daikon

Optical Character Recognition (OCR) to clipboard for Japanese.

Prerequisites

  1. Install the virtualenv Python package.
pip install virtualenv
  1. 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.

Install

  1. Verify that install.sh does nothing shady, then run it.
./install.sh
  1. Enable the OCR service and socket.
systemctl enable --now daikon.socket

Usage

Select an area to apply OCR. Result is copied to clipboard.

./daikon.sh

See -h for optional arguments.