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

如果失败,先 pip install opencv-python-headless --prefer-binary
from dong_screen_orc2txt import Orc2txt

orc2txt = Orc2txt()
text = orc2txt.capture_and_recognize(100, 100, 300, 200) # x,y,width,height
print("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.5.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.5-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dong-screen-orc2txt-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 51a9a7f1ef0f85763353bb344230f6df923918db13258731351d8c7c295701ad
MD5 43be578508b13d7f73712c4fe93c3b72
BLAKE2b-256 9a2ae0f94a809dcba2ca6c11af948f5515c3f73ba902fcd20a60beaa039da8d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dong_screen_orc2txt-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 353d4b99948ca3c8946931250b721a2742e55207c2d1cd42e573411d2a41f6d0
MD5 a98c962e97843fcc0d2592c8106249da
BLAKE2b-256 4646297410485da9e4a12df76fb82042098be634dc9a99433b1f5426fc9ca154

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