Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux任务栏导致的截图错位问题 #731

Open
1 task done
yuanzwf opened this issue Nov 22, 2024 · 1 comment
Open
1 task done

linux任务栏导致的截图错位问题 #731

yuanzwf opened this issue Nov 22, 2024 · 1 comment
Labels
功能建议 新功能建议

Comments

@yuanzwf
Copy link

yuanzwf commented Nov 22, 2024

Issues

  • I have browsed through the Issues. 我已浏览过Issues,确定没有重复提问。

Umi-OCR version 程序版本

2.1.4

Windows version 系统版本

银河麒麟v10 SP1 2303

OCR plugins Used 使用的OCR插件

PaddleOCR

Reproduction steps 复现步骤

首先赞美大佬!
银河麒麟系统下alt+C截图时,全屏变暗之后全屏图像被缩放到了任务栏之上的桌面区域大小,所以在截图界面呈现了两条底部任务栏。此时截取需要识别的部分,在umi识别界面出现了错位,变暗的界面上截取了这一行,识别的却是上一行。
当任务栏设置成隐藏任务栏时,此问题消失。望大佬帮忙解决一下
微信图片_20241122221826微信图片_20241122221835

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

No response

@hiroi-sora
Copy link
Owner

建议收到。在windows下,不管任务栏如何设置,坐标原点都是 (0,0) 固定在屏幕左上角。而Linux的任务栏则会改变原点的相对位置,而且不同Linux发行版的参数是不一样的。

我之后试试用获取桌面工作区的方式,减去任务栏的影响。

@hiroi-sora hiroi-sora added the 功能建议 新功能建议 label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
功能建议 新功能建议
Projects
None yet
Development

No branches or pull requests

2 participants