Skip to main content

A tool for capturing and recognizing text on screen using ddddocr and mss.

Project description

Screen Text Recognizer

A Python package to capture and recognize text from a specific screen area using mss and ddddocr.

Installation

pip install dong-screen-orc2txt

濡傛灉澶辫触锛宲ip install opencv-python-headless --prefer-binary
from dong-screen-orc2txt import orc2txt

recognizer = orc2txt()
text = recognizer.capture_and_recognize(100, 100, 300, 200) # x,y,width,height
print("Recognized text:", text)

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

dong-screen-orc2txt-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dong_screen_orc2txt-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file dong-screen-orc2txt-0.0.1.tar.gz.

File metadata

  • Download URL: dong-screen-orc2txt-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.5

File hashes

Hashes for dong-screen-orc2txt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 26957388fccbb315cc2adf41cdd2dfd5806ab05fa74e19e212974a5dc75a159b
MD5 dbb8cda494a0b4b6521d8b8aa42cd36a
BLAKE2b-256 0cf881d93b1f0996ace09624f77093ddcd3f9bf29c6b55cda80e4a5cce82d5d4

See more details on using hashes here.

File details

Details for the file dong_screen_orc2txt-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dong_screen_orc2txt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9456a39c2950764f921c6eedc86b0cceafeff52149d63d7d237197beccb5c983
MD5 c71e1739d7aa3ef3c1ce95f7a6b19202
BLAKE2b-256 a3b70b7b4c09924e001bf0eb6dbe851924e6b80846b5a2fdae17c85d5edba899

See more details on using hashes here.

Supported by

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