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

由于分辨率导致的牌面识别瓶颈改进意见 #32

Open
null119 opened this issue Sep 17, 2022 · 0 comments
Open

由于分辨率导致的牌面识别瓶颈改进意见 #32

null119 opened this issue Sep 17, 2022 · 0 comments

Comments

@null119
Copy link

null119 commented Sep 17, 2022

使用win32gui库对游戏窗口进行坐标(0,0)、尺寸(默认尺寸)自动固定,如下:
win32gui.SetWindowPos(hwnd, win32con.HWND_NOTOPMOST, 0, 0, 1440, 838, win32con.SWP_SHOWWINDOW)

然后在此基础上制作配套pics,可极大降低由分辨率问题引起的各类找图问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant