OCR调用来自项目chineseocr_lite
-
python3.7
-
windows
- 克隆代码
git clone https://github.com/JoJoJoJoJoJoJo/screen_capture_ocr.git
- 设置截图快捷键(默认为ALT-SHIFT-P)
打开目录,编辑config.py SCREEN_CAPTURE_KEY
- 安装依赖
pip install -r requirements.txt
- 启动
python main.py
- 使用快捷键截图并自动识别,识别结果上点击即可自动复制识别文字
红色框体表示OCR区域,在上面点击即可显示识别结果(白底红字)并自动复制
(此处应有gif)
- 需要TK窗口获得焦点才能监听到快捷键
- 最小化托盘运行, 快捷键唤醒
- linux / macos 系统支持
- 提高识别精度
- Release安装包

