Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 819 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 819 Bytes

Screenshot to clipboard

Next-gen Copy-Paste

This tiny script can take as input a rectangular region of the screen that contains some text and then copies it to the clipboard.

First installation

  1. Install the dependecies listed in the requirements.txt file:

pip install -r requirements.txt

  1. Download a tesseract trained model and place it in the same directory of the script.

  2. Enjoy

The script is more useful if you can launch it through a shortcut.

Usage

  • You can select the region with two mouse clicks: the first in the top left corner and the second in the lower right one.
  • Ctrl-V should paste the text after the OCR did its work.

!!! It's only been tested on Linux with X11. !!!