覆盖应用程序,用于分析当前屏幕并以编程方式执行触摸事件

我在这里的目标是至少对特定游戏应用程序具有最少的自动化。我基本上是在尝试编写一个叠加层应用程序,该程序可以根据该游戏的当前屏幕以编程方式执行触摸事件。

我解决这个问题的方法是:

a. Take a screenshoot of the screen every few seconds
b. Use image recognition on the screenshot for template matching 
c. Perform touch event programmatically on the returned location of the template matching algorithm
d. Delete screenshot
e. Go to step a

我不确定每隔几秒钟就会截取一次屏幕截图,但是进行模板匹配是“最佳”方法。也许还有其他方法可以避免截屏吗?

您怎么看?有什么建议吗?

chengang5340 回答:覆盖应用程序,用于分析当前屏幕并以编程方式执行触摸事件

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3117724.html

大家都在问