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

帅哥,这个写的不错,赞一个。就是发现有时候成功有时候不成功 #1

Open
xocom opened this issue Aug 25, 2017 · 1 comment

Comments

@xocom
Copy link

xocom commented Aug 25, 2017

int x = ImgUtil.getX(screenCut, screenCut1);

这个算的x值不够准确。

很多时候识别不到正确的值。

@SpenceZhou
Copy link
Owner

对左侧有突起的那种方块我没有做处理,大概加上-5的偏移量就可以了,另外我也发现当有阴影的情况下有时候这个值也会发生错误,不过整体测试下来可以达到60%的识别率了。

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

2 participants