jhgjeraker / daikon

Simple OCR-to-clipboard for Japanese.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple OCR-to-clipboard for Japanese.

License:GNU General Public License v3.0


Languages

Language:Shell 61.4%Language:Python 38.6%