Skip to main content

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. It requires Python 3.7 or later. 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:

  1. Install Tesseract binaries. For Windows, see https://github.com/UB-Mannheim/tesseract/wiki.
  2. 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

See https://github.com/wolfmanstout/gaze-ocr for sample usage.

If using Tesseract with a custom installation directory on Windows, set tesseract_data_path and tesseract_command paths appropriately when constructing a Reader instance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

screen-ocr-0.1.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

screen_ocr-0.1.1-py2.py3-none-any.whl (12.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file screen-ocr-0.1.1.tar.gz.

File metadata

  • Download URL: screen-ocr-0.1.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7

File hashes

Hashes for screen-ocr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 66055bd5949ed09bc7ff4a7b384a044693fa761c4864624e6d77a43c8565de6b
MD5 479004b3948265bbf1a512db4d001113
BLAKE2b-256 edc0aab5903932dd5bec37e52ff713daa39c6b3f3df550c6139c4d9be2a040cc

See more details on using hashes here.

File details

Details for the file screen_ocr-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: screen_ocr-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7

File hashes

Hashes for screen_ocr-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f692d9c719104ee3af187ba5ea1398dff946645b00d6a399367d0b4a7be5eb19
MD5 470e74b7f0f9a57450f4ae87492de581
BLAKE2b-256 53e43f03e46e6ff993adbd44ea0081236385b0a1b5ff3f85ba531fcfe467c6d3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page