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
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
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 dong-screen-orc2txt-0.0.2.tar.gz.
File metadata
- Download URL: dong-screen-orc2txt-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
009fac4e7ca972ca0b2e2afb076a85a01ae7e6d3df7b871447ba4a9d9e6fba48
|
|
| MD5 |
29f7ce0fafafb790d2569a1568547347
|
|
| BLAKE2b-256 |
07c734978a7b5fa205ad2ae18af65d5377827b082454ae60aea05e11d2540b3e
|
File details
Details for the file dong_screen_orc2txt-0.0.2-py3-none-any.whl.
File metadata
- Download URL: dong_screen_orc2txt-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b555c0b5f8ede0c2da15275f743015ca9624460f81bd45e8b29de33cde190729
|
|
| MD5 |
a52a34ff2d0dcd9f795f3ea9c279f85a
|
|
| BLAKE2b-256 |
9364fbc083769181e9068b5e34bf1006bb8ca59e11043192b75e93f65ed2f16a
|