-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
为什么在确定scan_start_y时要减去50个像素 #1230
Comments
@yuanjingsong 好像是因为怕遇到影子吧,具体我没有开发我不太清楚,你可以翻一下issue。。。 |
应该是为了避免小程序菜单按钮的影响 |
第一次Y轴方向每隔50个像素区间来扫描,当有扫到匹配的结果时。�可能已经有超过棋子的头部。所以需要减去50个像素保证在棋子外,scan_start_y作为新的Y轴坐标,开始第二次每隔1个像素扫描。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好!最近在看wechat_jump_auto_IOS的源码学习,但可能不是最新版的源码。发现在确定
scan_start_y
时,遇到的不纯色的点时,y方向减去了50个像素来确定的scan_start_y
, 为什么要减去一部分的像素?The text was updated successfully, but these errors were encountered: