You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dong-screen-orc2txt

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dong-screen-orc2txt

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

0.0.5
pipPyPI
Maintainers
1

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)


FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts