Library for processing screen contents using OCR
Project description
Screen OCR
The screen-ocr package makes it easy to perform OCR on portions of the screen.
Installation
Choose one of the following backends and follow the steps. WinRT is recommended for Windows and Tesseract for all other platforms.
WinRT
WinRT is a Windows-only backend that is very fast and reasonably accurate. To install screen-ocr with WinRT support, run pip install screen-ocr[winrt]
Tesseract
Tesseract is a cross-platform backend that is much slower and slightly less accurate than WinRT. To install screen-ocr with Tesseract support:
- Install Tesseract binaries. For Windows, see https://github.com/UB-Mannheim/tesseract/wiki.
- pip install screen-ocr[tesseract]
EasyOCR
EasyOCR is a very accurate but slow backend and only runs on Python 64-bit, and hence is considered experimental. To install screen-ocr with WinRT support, run pip install screen-ocr[easyocr]
Usage
You can do a simple test by running python -m screen_ocr to OCR the current screen contents. See __main__.py for the code.
If using Tesseract with a custom installation directory on Windows, set
tesseract_data_path and tesseract_command paths appropriately when
constructing a Reader instance.
See also gaze-ocr for more a more involved usage example.
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 screen_ocr-0.7.0.tar.gz.
File metadata
- Download URL: screen_ocr-0.7.0.tar.gz
- Upload date:
- Size: 83.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5604ea74f1e00039d9fb13c4074ffa97fa93d223dfed684be1b0116e0f99f937
|
|
| MD5 |
1c2fd00f6a301fca6f0f7681f0c4060c
|
|
| BLAKE2b-256 |
ca8b8c6fdfd8a2f50de39975b84dbd95fbc98f7373fef6852b05b51d7b7544e3
|
Provenance
The following attestation bundles were made for screen_ocr-0.7.0.tar.gz:
Publisher:
publish.yml on wolfmanstout/screen-ocr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
screen_ocr-0.7.0.tar.gz -
Subject digest:
5604ea74f1e00039d9fb13c4074ffa97fa93d223dfed684be1b0116e0f99f937 - Sigstore transparency entry: 451598068
- Sigstore integration time:
-
Permalink:
wolfmanstout/screen-ocr@ec50f1f699e642b2a8b2548b513012885613446e -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/wolfmanstout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec50f1f699e642b2a8b2548b513012885613446e -
Trigger Event:
release
-
Statement type:
File details
Details for the file screen_ocr-0.7.0-py3-none-any.whl.
File metadata
- Download URL: screen_ocr-0.7.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68dbfa036c143f02b371e22567b623f3badf463428c75566f167de6f323dd159
|
|
| MD5 |
999c85e4253415de3e6b87612d8946a8
|
|
| BLAKE2b-256 |
8f019754265c6fc4db0e551cc9546cc9059a88eac10b3be21cfd2028d09a9895
|
Provenance
The following attestation bundles were made for screen_ocr-0.7.0-py3-none-any.whl:
Publisher:
publish.yml on wolfmanstout/screen-ocr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
screen_ocr-0.7.0-py3-none-any.whl -
Subject digest:
68dbfa036c143f02b371e22567b623f3badf463428c75566f167de6f323dd159 - Sigstore transparency entry: 451598079
- Sigstore integration time:
-
Permalink:
wolfmanstout/screen-ocr@ec50f1f699e642b2a8b2548b513012885613446e -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/wolfmanstout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec50f1f699e642b2a8b2548b513012885613446e -
Trigger Event:
release
-
Statement type: