Giter Site home page Giter Site logo

tetris99bot-c's Introduction

Tetris99Bot-C

请不要一遍又一遍的去运行这个程序看bot获胜,这只是在浪费你的时间,同时也毁坏了他人的游戏体验。

这只是一个享受编程过程的玩具,或者是一个可以启发其他控制ns更有意思的项目的引子。

通过FFmpeg获取采集卡画面,使用OpenCV进行识别,简单的基于评价函数的剪枝搜索,最后通过usb转串口发送信号至模拟usb手柄的arduino,最终实现一个Tetris99bot

要想使用这个bot,你需要一张低延迟的采集卡和一个可以模拟usb手柄的设备,详情见wchill的SwitchInputEmulator

需要的库:

  • OpenCV
  • FFmpeg
  • SDL
  • SDL2_image

演示

tetris99bot-c's People

Contributors

mazhengke 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

Watchers

 avatar

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.