1033020837 / wechatgamescript Goto Github PK
View Code? Open in Web Editor NEW微信小游戏《加减大师》、《加减王者》系列游戏辅助
微信小游戏《加减大师》、《加减王者》系列游戏辅助
你好,大神,我想问下最后结果如果是多位数的时候是咋判断的,模型训练的时候不是训练的是单个字符吗?
1.首先需要确保你已经按照说明配置好了config.py中的相关参数,整个手机屏幕的截图和表达式区域的截图都是正确的。
2.将config.py中的 debug 参数设置为True,然后进入游戏,同时运行main.py,你需要手动进行答题,此时程序每隔0.3秒会截取一次手机屏幕。
3.运行img_tool.py中的get_char_for_train()方法,获取到用于训练的单个字符储存到SingleCharForTrain文件夹中。
4.运行ml.py中的cleanTrainChar()方法将TrainChar文件夹中原有的训练字符清空。
5.手工将SingleCharForTrain文件夹中的训练字符移动到TrainChar中对应的子文件夹里面。
6.调用ml.py中的dumpModel()方法训练自己的模型.
请问训练数字是一个个截屏分割后保存下来然后手动标注的吗
我python版本是3.7. win32gui各种安装方法都尝试过,看这链接上方法似乎也解决不了https://stackoverflow.com/questions/3956178/cant-load-pywin32-library-win32gui
要返回具体的坐标,方便点击
"C:\Users\All Users\Anaconda3\python.exe" C:/Users/whj/Desktop/WechatGameScript-master/main.py
+5-2
3
2272
2272
222+
加减符号也识别错误了,大神,怎么办
我是小米5手机,电脑是dell
Traceback (most recent call last):
File "C:/Users/xxxx-hp/Desktop/Python/WechatGameScript-master/main.py", line 1, in
import img_tool
File "C:\Users\xxxx-hp\Desktop\Python\WechatGameScript-master\img_tool.py", line 150, in
lr = pickle.load(fr)
ImportError: No module named 'sklearn'
Process finished with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.