Giter Club home page Giter Club logo

rexuechuanqishuzishibie's Introduction

题目:热血传奇散人玩家可以同步控制多人的代码
原理:
1. 截图全屏,并把数字区域的颜色分布保存
2. 然后根据数字和数字的间距特征以及冒号的特征识别出间距的位置和冒号的位置
3. 然后根据间距的位置和冒号的位置计算出XXX:YYY格式的坐标分布
4. 然后根据X坐标或Y坐标的分布获取X坐标每个数字的点
5. 然后以真实的点和自己构建的数字骨架的点比对获取颜色差,利用颜色差判断是哪个数字

难题:
1. 数字识别有点麻烦
2. pyHook上浪费的时间至少三天,最终由工具人1号最后选定了win32api.GetKeyState才得以解决!

rexuechuanqishuzishibie's People

Contributors

eternal2056 avatar

Watchers

 avatar

rexuechuanqishuzishibie's Issues

Wow!

I think it's very good

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.