1 Star 0 Fork 46

hiekay / autojump

forked from damone / autojump 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

autojump

微信跳一跳自动跳动脚本

  • 本脚本仅仅作为演示使用,供学习使用,由此产生的任何问题,概不负责
  • 使用了opencv3.2完成图像处理,使用python3进行编程
  • 使用ADB完成和测试机交互

算法主要思路

  • 使用模板匹配算法检测小人,准确度 100%
  • 使用canny + 轮廓提取 + 轮廓分析得到棋盘位置
  • HSV空间进行处理,绕过目前微信程序设置的颜色空间的陷阱

测试过程

  • 测试PC安装ADB调试工具,用于和Android设备交互,主要完成截图,截图下载,进行按压屏幕模拟
  • 测试PC安装python3、opencv3.2及opencv3.2 for python3、matplotlib、numpy等Python扩展插件
  • Android设备通过USB连接到测试PC,Android 设备开启调试模式,需要保证ADB能正常和Android连接
  • Android 进入微信跳一跳小程序并开始游戏
  • 在PC上运行脚本程序,脚本程序正常运行,开始自动游戏

测试情况

  • 目前尝试可以达到上万分,算法稍加调整基本可实现无失误
  • 目前只支持python3及Android
  • 试验机 华为P10,其他大小屏幕需要调整参数及更新下小人目标模板

效果截图:

输入图片说明

Empty file

About

微信跳一跳自动跳动脚本 目前只支持python3及Android 试验机 华为P10,其他大小屏幕需要调整参数及更新下小人目标模板 expand collapse
Python
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://gitee.com/hiekay/autojump.git
git@gitee.com:hiekay/autojump.git
hiekay
autojump
autojump
master

Search