Giter Club home page Giter Club logo

wechatgamescript's People

Contributors

1033020837 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wechatgamescript's Issues

最后结果是多位数的咋判断

你好,大神,我想问下最后结果如果是多位数的时候是咋判断的,模型训练的时候不是训练的是单个字符吗?

如何自己训练模型

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()方法训练自己的模型.

图片识别错误

"C:\Users\All Users\Anaconda3\python.exe" C:/Users/whj/Desktop/WechatGameScript-master/main.py
+5-2
3
2272
2272
222+

加减符号也识别错误了,大神,怎么办

我是小米5手机,电脑是dell

数字标注

请问训练数字是一个个截屏分割后保存下来然后手动标注的吗

有个sklearn报错,应该怎么搞?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.