Drag-select any text on screen and copy it to clipboard via OCR
Project description
ocr-clip
Drag-select any text visible on screen and copy it to your clipboard via OCR. Works anywhere text is rendered — terminals, PDFs, browser pages, apps that block copy-paste.
Install
Requires tesseract on your system:
# Ubuntu/Debian
sudo apt install tesseract-ocr
pip install ocr-clip
Usage
ocr-clip
| Hotkey | Action |
|---|---|
Ctrl+Shift+C |
Activate overlay — click and drag to select text |
Escape |
Cancel selection |
Ctrl+Shift+Q |
Quit |
The selected region is OCR'd and the text lands in your clipboard instantly. Selection automatically pads 8px on each edge to avoid clipping letters at boundaries.
Autostart (Linux)
The installer places a .desktop entry in ~/.config/autostart/ so ocr-clip launches on login automatically.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ocr_clip-0.1.0.tar.gz.
File metadata
- Download URL: ocr_clip-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1bf09817d9e9e06492a744233eec7b0abc042e405b19817c08d31dfb2f7a76
|
|
| MD5 |
eb8b639481f17a2a868257683f72594e
|
|
| BLAKE2b-256 |
c9be9175aa75eef36b83386e5bfed154bdf7f32e86fda236fab0b104b59251fc
|
File details
Details for the file ocr_clip-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ocr_clip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c719d9221069b32bc09d65723bc1a6ff1ce83e0a44ff50f1bc956f59c2a68cb
|
|
| MD5 |
244a86ce3e02db285c3a8a68da173ee6
|
|
| BLAKE2b-256 |
66f6ff8f178c55e2154fbb5a3765f9e9aebcc9781e72c4fc60ad75c6320661da
|