hiroi-sora / Umi-OCR

OCR software, free and offline. 开源、免费的离线OCR软件。支持截屏/批量导入图片,PDF文档识别,排除水印/页眉页脚,扫描/生成二维码。内置多国语言库。
MIT License
26.05k stars 2.64k forks source link

多显示器截图不准确 #561

Open Tau77 opened 3 months ago

Tau77 commented 3 months ago

Issues

Umi-OCR version 程序版本

2.1.2

Windows version 系统版本

win10

OCR plugins Used 使用的OCR插件

PaddleOCR

Reproduction steps 复现步骤

在多显示场景下使用截图识别功能,发现截图位置不准确,另一屏幕内容出现在当前屏幕,且框选区域与实际识别区域不符

Problem screenshots or related files (optional) 问题截图或相关文件(可选)

image image

qwedc001 commented 3 months ago

请根据 /issues/541 检查电脑的多屏幕设置,有能力也可以通过下述步骤抓出执行参数发上来帮助我们进一步排查

有能力的用户,遇到了类似问题,可尝试 通过源码部署 本项目,并重点检查以下的函数:

UmiOCR-data\py_src\image_controller\screenshot_controller.py - def getScreenshot(self, wait=0)
UmiOCR-data\qt_res\qml\ImageManager\ScreenshotManager.qml - function getGrabList()